mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-08-16 16:40:52 +00:00
8 lines
328 B
PHP
8 lines
328 B
PHP
<?php
|
|
|
|
if(! function_exists("string_plural_select_cs")) {
|
|
function string_plural_select_cs($n){
|
|
$n = intval($n);
|
|
if (($n == 1 && $n % 1 == 0)) { return 0; } else if (($n >= 2 && $n <= 4 && $n % 1 == 0)) { return 1; } else if (($n % 1 != 0 )) { return 2; } else { return 3; }
|
|
}}
|
|
$a->strings['View Source'] = 'Zobrazit zdroj';
|