]> git.mxchange.org Git - friendica-addons.git/blobdiff - js_upload/lang/ro/strings.php
Merge pull request #1082 from annando/no-item
[friendica-addons.git] / js_upload / lang / ro / strings.php
index 778210e779d0c06fd5a8e8ea2d17fc89b1367daa..0ebcb516c9f0cc711d5db7740ea2d9f61cc3b215 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["Upload a file"] = "Încărcați un fișier";