aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-10-13 00:28:12 +0200
committerMax Kostikov <max@kostikov.co>2018-10-13 00:28:12 +0200
commit3641ab8c7dfdffb7fdb16013eb6a96128a1bc23a (patch)
tree3ceae8fb1a03d7e14192ed9a421f723d0d60beca /include
parent16b6b765076336df21dfa06596c436be5a3098d9 (diff)
downloadvolse-hubzilla-3641ab8c7dfdffb7fdb16013eb6a96128a1bc23a.tar.gz
volse-hubzilla-3641ab8c7dfdffb7fdb16013eb6a96128a1bc23a.tar.bz2
volse-hubzilla-3641ab8c7dfdffb7fdb16013eb6a96128a1bc23a.zip
Update language.php
Diffstat (limited to 'include')
-rw-r--r--include/language.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/language.php b/include/language.php
index ef994cbd8..395d92ef1 100644
--- a/include/language.php
+++ b/include/language.php
@@ -276,8 +276,7 @@ function ta($k){
function tf() {
$r = "";
- $lang = str_replace('-', '_', App::$language);
- $file = "view/$lang/hstrings.php";
+ $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;";