friendica-addons/infiniteimprobabilitydrive/lang/ru/strings.php

9 lines
420 B
PHP
Raw Permalink Normal View History

<?php
if(! function_exists("string_plural_select_ru")) {
function string_plural_select_ru($n){
$n = intval($n);
if ($n%10==1 && $n%100!=11) { return 0; } else if ($n%10>=2 && $n%10<=4 && ($n%100<12 || $n%100>14)) { return 1; } else if ($n%10==0 || ($n%10>=5 && $n%10<=9) || ($n%100>=11 && $n%100<=14)) { return 2; } else { return 3; }
}}
2021-10-10 08:27:53 +02:00
$a->strings['Infinite Improbability Drive'] = 'Infinite Improbability Drive';