Defined plurals (as explained by Fabio)

This commit is contained in:
Olivier Migeot 2011-03-22 10:28:22 +01:00
parent cd2a0802e4
commit 19d7e7fefe
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ msgstr ""
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" "Plural-Forms: nplurals=2; plural=(n!=0);\n"
"X-Language: fr_FR\n" "X-Language: fr_FR\n"
#: ../../include/auth.php:27 #: ../../include/auth.php:27

View File

@ -1,7 +1,7 @@
<?php <?php
function string_plural_select($n){ function string_plural_select($n){
return ; return ($n!=0);
} }
; ;
$a->strings["Logged out."] = "Déconnecté."; $a->strings["Logged out."] = "Déconnecté.";