Update plural condition in strings.php after converter update
This commit is contained in:
parent
3bb10b82a1
commit
bcd3a274f1
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_bg")) {
|
||||
function string_plural_select_bg($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Add New Contact"] = "Добавяне на нов контакт";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_ca")) {
|
||||
function string_plural_select_ca($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Add New Contact"] = "Afegir Nou Contacte";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_cs")) {
|
||||
function string_plural_select_cs($n){
|
||||
$n = intval($n);
|
||||
return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
|
||||
if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; }
|
||||
}}
|
||||
;
|
||||
$a->strings["Item not found."] = "Položka nenalezena.";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_de")) {
|
||||
function string_plural_select_de($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "Standard";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_en_gb")) {
|
||||
function string_plural_select_en_gb($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "default";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_en_us")) {
|
||||
function string_plural_select_en_us($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "default";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_eo")) {
|
||||
function string_plural_select_eo($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Add New Contact"] = "Aldonu Novan Kontakton";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_es")) {
|
||||
function string_plural_select_es($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "predeterminado";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_et")) {
|
||||
function string_plural_select_et($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_fi_fi")) {
|
||||
function string_plural_select_fi_fi($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Friendica Notification"] = "Friendica-huomautus";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_fr")) {
|
||||
function string_plural_select_fr($n){
|
||||
$n = intval($n);
|
||||
return ($n > 1);;
|
||||
return intval($n > 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_hu")) {
|
||||
function string_plural_select_hu($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "alapértelmezett";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_is")) {
|
||||
function string_plural_select_is($n){
|
||||
$n = intval($n);
|
||||
return ($n % 10 != 1 || $n % 100 == 11);;
|
||||
return intval($n % 10 != 1 || $n % 100 == 11);
|
||||
}}
|
||||
;
|
||||
$a->strings["Friendica Notification"] = "Friendica tilkynning";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_it")) {
|
||||
function string_plural_select_it($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_ja")) {
|
||||
function string_plural_select_ja($n){
|
||||
$n = intval($n);
|
||||
return 0;;
|
||||
return intval(0);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_nb_no")) {
|
||||
function string_plural_select_nb_no($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_nl")) {
|
||||
function string_plural_select_nl($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_pl")) {
|
||||
function string_plural_select_pl($n){
|
||||
$n = intval($n);
|
||||
return ($n==1 ? 0 : ($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14) ? 1 : $n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14) ? 2 : 3);;
|
||||
if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; }
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "standardowe";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_pt_br")) {
|
||||
function string_plural_select_pt_br($n){
|
||||
$n = intval($n);
|
||||
return ($n > 1);;
|
||||
return intval($n > 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_ro")) {
|
||||
function string_plural_select_ro($n){
|
||||
$n = intval($n);
|
||||
return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));;
|
||||
if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; }
|
||||
}}
|
||||
;
|
||||
$a->strings["%d contact edited."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_ru")) {
|
||||
function string_plural_select_ru($n){
|
||||
$n = intval($n);
|
||||
return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14) ? 1 : $n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)? 2 : 3);;
|
||||
if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; }
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_sv")) {
|
||||
function string_plural_select_sv($n){
|
||||
$n = intval($n);
|
||||
return ($n != 1);;
|
||||
return intval($n != 1);
|
||||
}}
|
||||
;
|
||||
$a->strings["Daily posting limit of %d post reached. The post was rejected."] = [
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
if(! function_exists("string_plural_select_zh_cn")) {
|
||||
function string_plural_select_zh_cn($n){
|
||||
$n = intval($n);
|
||||
return 0;;
|
||||
return intval(0);
|
||||
}}
|
||||
;
|
||||
$a->strings["default"] = "默认";
|
||||
|
|
Loading…
Reference in New Issue
Block a user