mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
[fix] attempt to fix https://github.com/YunoHost/SSOwat/pull/86#issuecomment-323417926
This commit is contained in:
parent
98b1b53fbf
commit
9b7fee7a1b
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ function get_data_for(view)
|
|||
|
||||
-- Pass all the translated strings to the view (to use with t_<key>)
|
||||
for k, v in pairs(i18n[conf["default_language"]]) do
|
||||
data["t_"..k] = i18n[conf.lang][k] or v
|
||||
data["t_"..k] = (i18n[conf.lang] and i18n[conf.lang][k]) or v
|
||||
end
|
||||
|
||||
-- Pass flash notification content
|
||||
|
|
Loading…
Add table
Reference in a new issue