Commit 8f56b543 authored by Jérôme Jutteau's avatar Jérôme Jutteau

[BUGFIX] Fix partial translations fallback

ref #168
parent 711863d0
......@@ -20,7 +20,7 @@
function t($string_id)
{
$r = t_in($string_id, t_select_lang());
if ($r === false) {
if ($r === false || $r === "") {
$r = t_in($string_id, "en");
if ($r === false) {
return "FIX ME: " . $string_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment