From: Amir E. Aharoni Date: Mon, 16 Jan 2012 10:45:01 +0000 (+0000) Subject: Follow up to r109021, corrected the comment, and added a translation from Russian. X-Git-Tag: 1.31.0-rc.0~25245 X-Git-Url: http://git.cyclocoop.org/%22.htmlspecialchars%28%24url_syndic%29.%22?a=commitdiff_plain;h=8c5c8d1b8f657e7f13f6c89e14a0fb60acf1d1e0;p=lhc%2Fweb%2Fwiklou.git Follow up to r109021, corrected the comment, and added a translation from Russian. --- diff --git a/languages/classes/LanguageBe_tarask.php b/languages/classes/LanguageBe_tarask.php index d160941032..9acc4435f2 100644 --- a/languages/classes/LanguageBe_tarask.php +++ b/languages/classes/LanguageBe_tarask.php @@ -29,7 +29,7 @@ class LanguageBe_tarask extends Language { // If the actual number is not mentioned in the expression, then just two forms are enough: // singular for $count == 1 - // plural for $count != 0 + // plural for $count != 1 // For example, "This user belongs to {{PLURAL:$1|one group|several groups}}." if ( count( $forms ) === 2 ) return $count == 1 ? $forms[0] : $forms[1]; diff --git a/languages/classes/LanguageRu.php b/languages/classes/LanguageRu.php index 1cf40f69c4..b5371d2e0a 100644 --- a/languages/classes/LanguageRu.php +++ b/languages/classes/LanguageRu.php @@ -72,8 +72,10 @@ class LanguageRu extends Language { * Examples: * message with number * "Сделано $1 {{PLURAL:$1|изменение|изменения|изменений}}" + * ("$1 change[s] were made) * message without number * "Действие не может быть выполнено по {{PLURAL:$1|следующей причине|следующим причинам}}:" + * ("The action cannot be performed for the following reason[s]") * @param $count int * @param $forms array * @@ -84,7 +86,7 @@ class LanguageRu extends Language { // If the actual number is not mentioned in the expression, then just two forms are enough: // singular for $count == 1 - // plural for $count != 0 + // plural for $count != 1 // For example, "This user belongs to {{PLURAL:$1|one group|several groups}}." if ( count( $forms ) === 2 ) return $count == 1 ? $forms[0] : $forms[1]; diff --git a/languages/classes/LanguageSr.php b/languages/classes/LanguageSr.php index 86bfd822dd..2e1fb2764d 100644 --- a/languages/classes/LanguageSr.php +++ b/languages/classes/LanguageSr.php @@ -240,7 +240,7 @@ class LanguageSr extends LanguageSr_ec { // If the actual number is not mentioned in the expression, then just two forms are enough: // singular for $count == 1 - // plural for $count != 0 + // plural for $count != 1 // For example, "This user belongs to {{PLURAL:$1|one group|several groups}}." if ( count( $forms ) === 2 ) { return $count == 1 ? $forms[0] : $forms[1]; diff --git a/languages/classes/LanguageUk.php b/languages/classes/LanguageUk.php index d826796613..14e5d272e8 100644 --- a/languages/classes/LanguageUk.php +++ b/languages/classes/LanguageUk.php @@ -73,7 +73,7 @@ class LanguageUk extends Language { // If the actual number is not mentioned in the expression, then just two forms are enough: // singular for $count == 1 - // plural for $count != 0 + // plural for $count != 1 // For example, "This user belongs to {{PLURAL:$1|one group|several groups}}." if ( count( $forms ) === 2 ) return $count == 1 ? $forms[0] : $forms[1];