|
@@ -1,12 +1,12 @@
|
|
|
<%-
|
|
|
- local site = require 'gluon.site_config'
|
|
|
local sysconfig = require 'gluon.sysconfig'
|
|
|
+ local i18n = require 'luci.i18n'
|
|
|
local template = require 'luci.template'
|
|
|
-%>
|
|
|
|
|
|
<h2><%:Welcome!%></h2>
|
|
|
<p>
|
|
|
- <%= template.render_string(site.config_mode.msg_welcome, {hostname=hostname, sysconfig=sysconfig}) %>
|
|
|
+ <%= template.render_string(i18n.translate('gluon-config-mode:welcome'), {hostname=hostname, sysconfig=sysconfig}) %>
|
|
|
</p>
|
|
|
|
|
|
<% if not self.embedded then %>
|