diff --git a/gluon-config-mode-zip/luasrc/lib/gluon/config-mode/wizard/0450-geo-location.lua b/gluon-config-mode-zip/luasrc/lib/gluon/config-mode/wizard/0450-geo-location.lua index ace7469b513fda1f7ccd44d5c5a69de211be88d3..1197beb416300277557f71c27a7893e81b12358c 100644 --- a/gluon-config-mode-zip/luasrc/lib/gluon/config-mode/wizard/0450-geo-location.lua +++ b/gluon-config-mode-zip/luasrc/lib/gluon/config-mode/wizard/0450-geo-location.lua @@ -1,11 +1,12 @@ return function(form, uci) local location = uci:get_first("gluon-node-info", "location") - local text = translate("gluon-config-mode:zip-help") + local site_i18n = i18n 'gluon-site' + local text = site_i18n.translate("gluon-config-mode:zip-help") local s = form:section(Section, nil, text) - local o = s:option(Value, "zip", translate("ZIP-Code"), translatef("e.g. %s", "70499")) + local o = s:option(Value, "zip", site_i18n.translate("ZIP-Code"), site_i18n.translatef("e.g. %s", "70499")) o.default = uci:get("gluon-node-info", location, "zip") o.datatype = "uinteger" o.optional = true @@ -14,4 +15,4 @@ return function(form, uci) end return {'gluon-node-info'} -end \ No newline at end of file +end