Repository navigation
fix(i18n): json_encode JS dialog titles, fix hi-IN plurals, and strip he-IL bidi overrides - #59
Merged
Merged
Conversation
… he-IL bidi overrides Fixes mechanical localization issues in `plugin_wmi`: - Embed the two translated jQuery UI dialog titles in `wmi_tools.php` with `json_encode(...)` so translations with apostrophes (including `nl-NL` on `Common Queries (Click to Select)`) no longer cause a JavaScript `SyntaxError`. - Fix the inverted Hindi `Plural-Forms` header in `locales/po/hi-IN.po` (`plural=n > 1;`) and strip stray U+202B bidi overrides in `locales/po/he-IL.po`. - Recompile `locales/LC_MESSAGES/hi-IN.mo` and `he-IL.mo`. Verified with `php -l`, `node --check` on the rendered script block, `msgfmt --check --check-format --check-header --check-domain`, and `tests/bin/validate-manifest.php`. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
…gcheck Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
|
TheWitness
approved these changes
Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes mechanical localization issues in
plugin_wmi:wmi_tools.phpwithjson_encode(...)so translations with apostrophes (includingnl-NLonCommon Queries (Click to Select)) no longer cause a JavaScriptSyntaxError.Plural-Formsheader inlocales/po/hi-IN.po(plural=n > 1;) and strip stray U+202B bidi overrides inlocales/po/he-IL.po.locales/LC_MESSAGES/hi-IN.moandhe-IL.mo.Verified with
php -l,node --checkon the rendered script block,msgfmt --check --check-format --check-header --check-domain, andtests/bin/validate-manifest.php.