]> git.mxchange.org Git - friendica-addons.git/blobdiff - showmore/lang/ro/strings.php
Merge pull request #1076 from tobiasd/20210201-lngCmessages
[friendica-addons.git] / showmore / lang / ro / strings.php
index a7c119926cd2f88b850a1f4b1a5033e36a5cb8ad..989cb501d003ae5a9bea70b95936cdb25e873bef 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["\"Show more\" Settings"] = "Configurări \"Afișează mai mult\"";