CS qcomment addon

This commit is contained in:
Tobias Diekershoff 2018-06-18 11:05:05 +02:00
parent 3e8eb868a6
commit 52e676af8d
2 changed files with 14 additions and 12 deletions

View file

@ -2,14 +2,15 @@
if(! function_exists("string_plural_select_cs")) {
function string_plural_select_cs($n){
return ($n==1) ? 0 : ($n>=2 && $n<=4) ? 1 : 2;;
$n = intval($n);
return ($n == 1 && $n % 1 == 0) ? 0 : ($n >= 2 && $n <= 4 && $n % 1 == 0) ? 1: ($n % 1 != 0 ) ? 2 : 3;;
}}
;
$a->strings[":-)"] = ":-)";
$a->strings[":-("] = ":-(";
$a->strings["lol"] = "hlasitě se směji";
$a->strings["lol"] = "lol";
$a->strings["Quick Comment Settings"] = "Nastavení rychlých komentářů";
$a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = "Rychlé komentáře jsou k nalezení blízko polí s komentáři, někdy jsou skryté. Klikněte na ně k poskytnutí jednoduchých odpovědí.";
$a->strings["Enter quick comments, one per line"] = "Zadejte rychlé komentáře, každý na nový řádek";
$a->strings["Save Settings"] = "Uložit Nastavení";
$a->strings["Submit"] = "Odeslat";
$a->strings["Quick Comment settings saved."] = "Nastavení Quick Comment uloženo.";