mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 00:23:53 +00:00
8 lines
547 B
PHP
8 lines
547 B
PHP
<?php
|
|
|
|
if(! function_exists("string_plural_select_pl")) {
|
|
function string_plural_select_pl($n){
|
|
$n = intval($n);
|
|
if ($n==1) { return 0; } else if (($n%10>=2 && $n%10<=4) && ($n%100<12 || $n%100>14)) { return 1; } else if ($n!=1 && ($n%10>=0 && $n%10<=1) || ($n%10>=5 && $n%10<=9) || ($n%100>=12 && $n%100<=14)) { return 2; } else { return 3; }
|
|
}}
|
|
$a->strings['Database: %s/%s, Network: %s, Rendering: %s, Session: %s, I/O: %s, Other: %s, Total: %s'] = 'Baza danych: %s/%s, Sieć: %s, Rendering: %s, Sesja: %s, I/O: %s, Inne: %s, Łacznie: %s';
|