Branch: refs/heads/master
Home: https://github.com/phpmyadmin/motranslator
Commit: 506220f1b49988f50b0511a3901a7829094cc41a
https://github.com/phpmyadmin/motranslator/commit/506220f1b49988f50b0511a3901a7829094cc41a
Author: anyingiit <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +08:00

Changed paths: 
M src/Translator.php
M tests/MoFilesTest.php

Log Message:
-----------
Allow checking plural strings with Translator::exists()

A string with plural forms is stored under its singular and plural
msgids joined by a NUL byte, so exists() could never find it by the
singular msgid alone. Add an optional plural msgid parameter that builds
the same key as ngettext().

Fixes #59

Signed-off-by: anyingiit <[email protected]>

Commit: d9f124360853877c8d9d6362ac32150322fa4baf
https://github.com/phpmyadmin/motranslator/commit/d9f124360853877c8d9d6362ac32150322fa4baf
Author: br4nnigan <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +02:00

Changed paths: 
M src/Translator.php

Log Message:
-----------
added error on translation fail

Commit: cae0ec209ee09a1f2d2b6fa85b7075169d0f895c
https://github.com/phpmyadmin/motranslator/commit/cae0ec209ee09a1f2d2b6fa85b7075169d0f895c
Author: William Desportes <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +02:00

Changed paths: 
M src/Translator.php
M tests/TranslatorTest.php

Log Message:
-----------
Fix coding standard and add tests for translation errors

Apply the phpcs fixes for the new error handling in gettext() and
ngettext(), document the $error property as no longer parse-only and
cover the new ERROR_KEY_DOES_NOT_EXIST cases.

Co-Authored-By: DeepSeek <[email protected]>

Commit: 2cdcfc3c24fbab342748da862ebf69e993e29e0d
https://github.com/phpmyadmin/motranslator/commit/2cdcfc3c24fbab342748da862ebf69e993e29e0d
Author: William Desportes <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +02:00

Changed paths: 
M src/Translator.php
M tests/TranslatorTest.php

Log Message:
-----------
Merge #57 - added error on translation fail

Pull-request: #57
Signed-off-by: William Desportes <[email protected]>

Commit: 6de8db131deccca10dc72ff86e3e5795e603dfed
https://github.com/phpmyadmin/motranslator/commit/6de8db131deccca10dc72ff86e3e5795e603dfed
Author: William Desportes <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +02:00

Changed paths: 
M src/Translator.php
M tests/MoFilesTest.php

Log Message:
-----------
Merge #67 - Allow checking plural strings with Translator::exists()

Pull-request: #67
Fixes: #59
Signed-off-by: William Desportes <[email protected]>

Commit: 1020fc1855cf1acc49ab81e18147feaed03d2109
https://github.com/phpmyadmin/motranslator/commit/1020fc1855cf1acc49ab81e18147feaed03d2109
Author: William Desportes <[email protected]>
Date: 2026-10-23 (Fri, 10 October 2026) +02:00

Changed paths: 
M CHANGELOG.md

Log Message:
-----------
Add a CHANGELOG entry for the merged pull-requests

Co-Authored-By: DeepSeek <[email protected]>

_______________________________________________
Git mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to