X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/53517d3b939f85007001beb3a01a32b032a9070b..a212d938a9ef43994443718f34538d11b2d23633:/lib/lang.php diff --git a/lib/lang.php b/lib/lang.php old mode 100755 new mode 100644 index 6e592a2..89f890f --- a/lib/lang.php +++ b/lib/lang.php @@ -1,7 +1,7 @@ + * Copyright (C) 2015 Jerome Jutteau * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as @@ -44,7 +44,7 @@ function t ($text) if ($found && strcmp ($l, "en")) { /* $tr is defined in this requirement. */ - require (JIRAFEAU_ROOT . "lib/lang/$l.php"); + require (JIRAFEAU_ROOT . "lib/lang/lang_$l.php"); foreach ($tr as $o => $t) if (strcmp ($text, $o) == 0) @@ -54,4 +54,4 @@ function t ($text) return ($text); } -?> \ No newline at end of file +?>