Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plural forms #6

Open
kamil7x opened this issue Jul 28, 2015 · 3 comments
Open

Plural forms #6

kamil7x opened this issue Jul 28, 2015 · 3 comments

Comments

@kamil7x
Copy link
Contributor

kamil7x commented Jul 28, 2015

Do we need to use [two] form?

@splewako
Copy link
Member

Do we need to use [two] form?

http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html seems to suggest that we don't but I didn't check how it is exactly implemented in Firefox OS.

@stasm or @zbraniecki - do you know details by chance?

@stasm
Copy link
Contributor

stasm commented Jul 29, 2015

It will work without it but compare-locales will complain about a missing string since it doesn't understand the special semantics of [two] in the name of the key.

@splewako
Copy link
Member

Sorry for not being more precise, I was thinking about adding [two] string with no content like:

enable-full-dev-mode-final-warning-msg={[plural(count)]}
enable-full-dev-mode-final-warning-msg[one]=Stuknij „Włącz” jeszcze raz, aby kontynuować.
enable-full-dev-mode-final-warning-msg[two]=
enable-full-dev-mode-final-warning-msg[few]=Stuknij „Włącz” {{count}} razy, aby kontynuować.
enable-full-dev-mode-final-warning-msg[many]=Stuknij „Włącz” {{count}} razy, aby kontynuować.
enable-full-dev-mode-final-warning-msg[other]=

Just to be sure: if count equals 2, which string get used with example above?
([other] is empty because fractional value wouldn't make sense at all)

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

No branches or pull requests

3 participants