aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/language.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/language.php b/include/language.php
index 38e38fd69..c56d5acda 100644
--- a/include/language.php
+++ b/include/language.php
@@ -277,9 +277,8 @@ function tf() {
$r = "";
$lang = str_replace('-', '_', App::$language);
- $file = "view/$lang/hstrings.php";
if(function_exists("string_plural_select_".$lang))
- $r = trim(shell_exec("sed -n '5p' ".$file." | grep 'return' | tr -d '$'"));
+ $r = trim(shell_exec("sed -n '5p' view/".$lang."/hstrings.php | grep 'return' | tr -d '$'"));
return ($r != "" ? $r : "return 0;");
}