• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elixir-gettext / gettext
94%
main: 94%

Build:
Build:
LAST BUILD BRANCH: prune-fuzzy-candidates
DEFAULT BRANCH: main
Repo Added 17 Dec 2022 08:08AM UTC
Token HFyBNncfSvuOnEA0SjM0SpLlmUWqNQX4Z regen
Build 287 Last
Files 19
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH plural-forms-header-count
branch: plural-forms-header-count
CHANGE BRANCH
x
Reset
Sync Branches
  • plural-forms-header-count
  • abdelhalim97/add-put_locale!
  • al/1.18
  • al/ci
  • al/deprecate-plural-forms
  • al/expo-plural
  • al/new-backend-docs
  • al/no-recompilation
  • al/refactor
  • al/release
  • al/use-gettext-backend
  • avoid-duplicate-pot-read
  • backend-static-translations
  • bound-gettext-merge-concurrency
  • cache-interpolation-patterns
  • ci-bump-elixir-1.19-otp-28
  • code-coverage
  • dependabot/github_actions/actions/checkout-5.0.0
  • dependabot/github_actions/actions/checkout-6.0.0
  • dependabot/github_actions/actions/checkout-6.0.1
  • dependabot/github_actions/actions/checkout-6.0.2
  • dependabot/github_actions/actions/checkout-6.0.3
  • dependabot/github_actions/actions/checkout-7.0.0
  • dependabot/github_actions/actions/checkout-7.0.1
  • dependabot/github_actions/erlef/setup-beam-1.20.2
  • dependabot/github_actions/erlef/setup-beam-1.20.4
  • dependabot/github_actions/erlef/setup-beam-1.21.0
  • dependabot/github_actions/erlef/setup-beam-1.24.0
  • dependabot/github_actions/erlef/setup-beam-1.24.1
  • deprecation_message
  • extract-from-attributes
  • extract_force_compile
  • extraction-merge-perf
  • fix-concatenation-of-sigils
  • fix-literal-braces-before-binding
  • fix-nofile
  • fix-typos
  • fix/elixir-1.20-warnings
  • fix/extract-timeout
  • improve-docs
  • indexed-merge-template
  • introduce_initial_top_comments_via_messages_struct
  • jm/ci_deps_check_locked
  • jm/conflicting_plural_message_400
  • jm/default_header
  • jm/deps-update
  • jm/dialyzer-setup
  • jm/extend_plural_interface
  • jm/extract_merge_always
  • jm/flaky_test_mix_cache
  • jm/gh-workflow-updates
  • jm/legalese
  • jm/mention-igniter-changelog
  • jm/metadata-stripping
  • jm/plural_mod_function_fix
  • jm/release/v0.23.2
  • jm/singular_plural_uniq
  • jv-erase-manifest-unless-on-upcoming-elixir
  • jv-fix-redefining
  • keep_custom_flags_option
  • main
  • merge-fuzzy-config
  • merge-project-config
  • msg_sort_iodata
  • on-missing-translation
  • parallel-locale-merge
  • parse-pot-once
  • plural-conflict-warning
  • plural-info-once
  • plural-warning-file
  • previous_messages
  • prune-fuzzy-candidates
  • purge-ref-without-line
  • refs/pull/376/merge
  • release/v0.22.2
  • release/v0.27.0
  • runtime-gettext
  • sort_by_msgid_case_insensitive
  • test_up_to_date
  • tiny_fix
  • wait-for-gettext-merge

04 Dec 2026 12:32PM UTC coverage: 94.019% (+0.03%) from 93.99%
3860c95af39a8522ffc81b30782a36e411f25f4c-PR-461

Pull #461

github

oliver-kriska
Give new PO files as many plural forms as --plural-forms-header says

`mix gettext.merge --plural-forms-header` wrote the given Plural-Forms
header to a new PO file but took the number of msgstr entries from the
locale, so a three-form header for Italian came with two forms per
message. Such a file logs "message is missing plural form 2" when it is
compiled and raises Gettext.PluralFormError for a count that needs the
third form.

Gettext.Merger.new_po_file/4 now takes the number of forms from the
header when Expo can parse it. An explicit :plural_forms option and a
header that cannot be parsed behave as before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Pull Request #461: Give new PO files as many plural forms as --plural-forms-header says

5 of 5 new or added lines in 1 file covered. (100.0%)

786 of 836 relevant lines covered (94.02%)

36.6 hits per line

Relevant lines Covered
Build:
Build:
836 RELEVANT LINES 786 COVERED LINES
36.6 HITS PER LINE
Source Files on plural-forms-header-count
  • Tree
  • List 19
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3860c95a... plural-forms-header-count Give new PO files as many plural forms as --plural-forms-header says `mix gettext.merge --plural-forms-header` wrote the given Plural-Forms header to a new PO file but took the number of msgstr entries from the locale, so a three-form header for ... Pull #461 04 Dec 2026 12:33PM UTC oliver-kriska github
94.02
See All Builds (208)

Badge your Repo: gettext

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc