X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=notimeline%2Flang%2Fro%2Fstrings.php;h=971fb04c5cc2e217f225a6758c115aa4540bc803;hb=500aab3c5310692dadf382b492479a6d6e1660cf;hp=ea995674053ad62d6fec6ca75042ab005aedd827;hpb=9317b8c0aeccd0ef68271be1e20e5dd371c37e15;p=friendica-addons.git diff --git a/notimeline/lang/ro/strings.php b/notimeline/lang/ro/strings.php index ea995674..971fb04c 100644 --- a/notimeline/lang/ro/strings.php +++ b/notimeline/lang/ro/strings.php @@ -2,7 +2,8 @@ if(! function_exists("string_plural_select_ro")) { function string_plural_select_ro($n){ - return ($n==1?0:((($n%100>19)||(($n%100==0)&&($n!=0)))?2:1));; + $n = intval($n); + if ($n==1) { return 0; } else if ((($n%100>19)||(($n%100==0)&&($n!=0)))) { return 2; } else { return 1; } }} ; $a->strings["No Timeline settings updated."] = "Configurările pentru Lipsă Cronologie, au fost actualizate.";