mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #64690
[Bug 1958085] [NEW] Translation issue when there is more than one plural form
Public bug reported:
For example, Czech has two plural forms that have been translated, but
only the first one is (1) picked up in Mahara no matter how many posts
there are in a journal for example, where all plural forms have been
translated. Plural forms were implemented in bug #901051.
The plural rules for Czech: "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n":
i.e. use plural 1 for 2-4 and plural 2 for 0, 5 and more.
langpacks/cs.utf8/artefact/blog/lang/cs.utf8/artefact.blog.php
$string['nposts'] = array(
0 => 'Jeden příspěvek',
1 => '%s příspěvky,',
2 => '%s příspěvků'
);
$string['youhavenblog'] = array(
0 => 'Máte jeden deník.',
1 => 'Máte %d deníky.',
2 => 'Máte %d deníků.'
** Affects: mahara
Importance: High
Status: Confirmed
** Tags: translations
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1958085
Title:
Translation issue when there is more than one plural form
Status in Mahara:
Confirmed
Bug description:
For example, Czech has two plural forms that have been translated, but
only the first one is (1) picked up in Mahara no matter how many posts
there are in a journal for example, where all plural forms have been
translated. Plural forms were implemented in bug #901051.
The plural rules for Czech: "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n":
i.e. use plural 1 for 2-4 and plural 2 for 0, 5 and more.
langpacks/cs.utf8/artefact/blog/lang/cs.utf8/artefact.blog.php
$string['nposts'] = array(
0 => 'Jeden příspěvek',
1 => '%s příspěvky,',
2 => '%s příspěvků'
);
$string['youhavenblog'] = array(
0 => 'Máte jeden deník.',
1 => 'Máte %d deníky.',
2 => 'Máte %d deníků.'
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1958085/+subscriptions
Follow ups
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Gold, 2022-04-27
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Robert Lyon, 2022-02-15
-
[Bug 1958085] A change has been merged
From: Mahara Bot, 2022-02-15
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Kristina Hoeppner, 2022-02-15
-
[Bug 1958085] A patch has been submitted for review
From: Mahara Bot, 2022-02-02
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Dianne Tennent, 2022-02-02
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Robert Lyon, 2022-01-31
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Dianne Tennent, 2022-01-31
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Dianne Tennent, 2022-01-30
-
[Bug 1958085] Re: Translation issue when there is more than one plural form
From: Kristina Hoeppner, 2022-01-19