summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 09:22:16 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 09:22:16 +0300
commit7815a881e87b4818614cd9426bbb045c6ded5b68 (patch)
tree00fa5b66196694f96fc3f2d47bb92d211f88eb49 /classes/rpc.php
parent56b10fea1805b4ff0e7129adb8216d4d89b74147 (diff)
cleanup previous
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index ee655b3ab..be45050ad 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -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;
}
}