diff options
author | Loui Chang <louipc.ist@gmail.com> | 2010-01-10 00:24:53 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2010-01-10 00:24:53 +0100 |
commit | c97f558898663442f8404e5a45c9f80a73ba0c78 (patch) | |
tree | 0291146dce0fe33c3bee100a321475d1c0ab8120 /web/lib/translator.inc | |
parent | 06e400a2f0b59e41f333458a5e3acf67b0fd3f1c (diff) | |
download | aur-c97f558898663442f8404e5a45c9f80a73ba0c78.tar.gz aur-c97f558898663442f8404e5a45c9f80a73ba0c78.tar.xz |
Remove useless or redundant code for translations.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib/translator.inc')
-rw-r--r-- | web/lib/translator.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/web/lib/translator.inc b/web/lib/translator.inc index 650f796f..6bb93588 100644 --- a/web/lib/translator.inc +++ b/web/lib/translator.inc @@ -35,10 +35,6 @@ function __() { # First argument is always string to be translated $tag = $args[0]; - if (empty($LANG) || $LANG == DEFAULT_LANG){ - $translated = $tag; - } - # If there is no translation, just print the given string. if (empty($_t[$tag])) { $translated = $tag; |