mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 20:43:41 +00:00
9 lines
271 B
PHP
9 lines
271 B
PHP
<?php
|
|
|
|
if(! function_exists("string_plural_select_cs")) {
|
|
function string_plural_select_cs($n){
|
|
$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["View Source"] = "Zobrazit zdroj";
|