]> git.mxchange.org Git - friendica-addons.git/blobdiff - startpage/lang/ro/strings.php
mathjax addon DE translation updated
[friendica-addons.git] / startpage / lang / ro / strings.php
index 701b5f9a85e2e691d653de0587e949b55877ca78..a25abea96b24c6cc3ae2346a12e7d88cc98dccee 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["Startpage"] = "Startpage";