Skip to content

fix(i18n): use European Portuguese plural formula in pt-PT catalog - #115

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

pt-PT.po declared the Brazilian Portuguese plural rule (plural=n > 1;), selecting singular for 0 instead of plural. Updated Plural-Forms to nplurals=2; plural=n != 1; matching Cacti core and CLDR, and recompiled locales/LC_MESSAGES/pt-PT.mo.

Verified with msgfmt --check --check-format --check-header --check-domain.

pt-PT.po declared the Brazilian Portuguese plural rule (`plural=n > 1;`), selecting singular for `0` instead of plural. Updated `Plural-Forms` to `nplurals=2; plural=n != 1;` matching Cacti core and CLDR, and recompiled `locales/LC_MESSAGES/pt-PT.mo`.

Verified with `msgfmt --check --check-format --check-header --check-domain`.

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

Copy link
Copy Markdown

@TheWitness
TheWitness merged commit 15cf6d7 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