]> git.mxchange.org Git - friendica-addons.git/blobdiff - notimeline/lang/ro/strings.php
Merge pull request #1091 from tobiasd/20210301-lng
[friendica-addons.git] / notimeline / lang / ro / strings.php
index ea995674053ad62d6fec6ca75042ab005aedd827..971fb04c5cc2e217f225a6758c115aa4540bc803 100644 (file)
@@ -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.";