planets translation update THX SpcCw

This commit is contained in:
Tobias Diekershoff 2022-06-07 06:42:10 +02:00
parent ecc841b5f7
commit 6d3c4e51ac
No known key found for this signature in database
GPG key ID: 25FE376FF17694A1
2 changed files with 37 additions and 5 deletions

View file

@ -1,5 +1,9 @@
<?php
$a->strings["Planets Settings"] = "";
$a->strings["Enable Planets Addon"] = "";
$a->strings["Submit"] = "Подтвердить";
<?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; }
}}
$a->strings['Enable Planets Addon'] = 'Включить дополнение Planets';
$a->strings['Planets Settings'] = 'Настройки Planets';