1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-06 14:49:15 +00:00

cleanup previous

This commit is contained in:
Andrew Dolgov
2021-02-26 09:22:16 +03:00
parent 56b10fea18
commit 7815a881e8
2 changed files with 0 additions and 16 deletions

View File

@@ -20,15 +20,11 @@ class RPC extends Handler_Protected {
if (isset($l10n->table_originals[$i * 2 + 2]) && $orig = $l10n->get_original_string($i)) {
if(strpos($orig, "\000") !== false) { // Plural forms
$key = explode(chr(0), $orig);
//print T_js_decl($key[0], _ngettext($key[0], $key[1], 1)); // Singular
//print T_js_decl($key[1], _ngettext($key[0], $key[1], 2)); // Plural
$rv[$key[0]] = _ngettext($key[0], $key[1], 1); // Singular
$rv[$key[1]] = _ngettext($key[0], $key[1], 2); // Plural
} else {
$translation = _dgettext($domain,$orig);
//print T_js_decl($orig, $translation);
$rv[$orig] = $translation;
}
}