mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove useless or redundant code for translations.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
06e400a2f0
commit
c97f558898
2 changed files with 3 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue