aboutsummaryrefslogtreecommitdiffstats
path: root/include/language.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/language.php')
-rw-r--r--include/language.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/language.php b/include/language.php
index b10e5dde7..790c036d3 100644
--- a/include/language.php
+++ b/include/language.php
@@ -265,7 +265,7 @@ function ta($k){
$t = App::$strings[$k];
if (is_array($t))
$t = implode("/", $t);
- return $t;
+ return ($t == "" ? $k : $t);
}
/**
@@ -279,7 +279,7 @@ function tf() {
$file = "view/".str_replace('-', '_', App::$language)."/hstrings.php";
if(file_exists($file))
$r = trim(shell_exec("sed -n '5p' ".$file." | tr -d '$'"));
- return $r != "" ? $r : "return 0;";
+ return ($r != "" ? $r : "return 0;");
}
/**