Skip to content

fix(i18n): bind cycle textdomain, fix pt-PT plurals, and remove orphan ka.mo - #72

Merged
TheWitness merged 1 commit into
developfrom
fix/i18n-mechanical-defects
Nov 26, 2026
Merged

TheWitness merged 1 commit into
developfrom
fix/i18n-mechanical-defects

Conversation

@somethingwithproof

Copy link
Copy Markdown
Member

Fixes mechanical localization issues in plugin_cycle:

  • Pass the 'cycle' textdomain to the two __('Cycle', 'cycle') calls in setup.php (cycle_show_tab()), and add unit coverage for cycle_show_tab() in tests/Unit/CycleNavigationTest.php.
  • Update locales/po/pt-PT.po Plural-Forms to nplurals=2; plural=n != 1; and recompile locales/LC_MESSAGES/pt-PT.mo.
  • Remove the orphaned legacy locales/LC_MESSAGES/ka.mo binary.

Verified with php -l, msgfmt --check --check-format --check-header --check-domain, and tests/bin/validate-manifest.php.

…n ka.mo

Fixes mechanical localization issues in `plugin_cycle`:

- Pass the `'cycle'` textdomain to the two `__('Cycle', 'cycle')` calls in `setup.php` (`cycle_show_tab()`), and add unit coverage for `cycle_show_tab()` in `tests/Unit/CycleNavigationTest.php`.
- Update `locales/po/pt-PT.po` `Plural-Forms` to `nplurals=2; plural=n != 1;` and recompile `locales/LC_MESSAGES/pt-PT.mo`.
- Remove the orphaned legacy `locales/LC_MESSAGES/ka.mo` binary.

Verified with `php -l`, `msgfmt --check --check-format --check-header --check-domain`, and `tests/bin/validate-manifest.php`.

Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit ae1b31d into develop Nov 26, 2026
10 checks passed
@TheWitness
TheWitness deleted the fix/i18n-mechanical-defects branch November 26, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants