]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/lang/ro/strings.php
Merge pull request #1082 from annando/no-item
[friendica-addons.git] / pumpio / lang / ro / strings.php
index b0ee9a25c1bb6c06d669cc87661bd334fb0787e0..22e4b882f74e88aa4bc740b1fbf2885835c77545 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["Permission denied."] = "Permisiune refuzată.";