luci-app-argon-config: luci2 i18n
This commit is contained in:
parent
bc35bc65d9
commit
0987ed7dc7
@ -22,25 +22,6 @@ define Package/luci-app-argon-config
|
|||||||
DEPENDS:=+luci-compat
|
DEPENDS:=+luci-compat
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Prepare
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
define Package/luci-app-argon-config/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci
|
|
||||||
cp -pR ./luasrc/* $(1)/usr/lib/lua/luci
|
|
||||||
$(INSTALL_DIR) $(1)/
|
|
||||||
cp -pR ./root/* $(1)/
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/i18n
|
|
||||||
po2lmo ./po/zh-cn/argon-config.po $(1)/usr/lib/lua/luci/i18n/argon-config.zh-cn.lmo
|
|
||||||
endef
|
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,luci-app-argon-config))
|
$(eval $(call BuildPackage,luci-app-argon-config))
|
||||||
|
|
||||||
# call BuildPackage - OpenWrt buildroot signature
|
# call BuildPackage - OpenWrt buildroot signature
|
||||||
|
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ http.setfilehandler(
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not fd then
|
if not fd then
|
||||||
um.value = translate('Create upload file error.')
|
um.value = translate('Create upload file error')
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -157,7 +157,7 @@ http.setfilehandler(
|
|||||||
if http.formvalue('upload') then
|
if http.formvalue('upload') then
|
||||||
local f = http.formvalue('ulfile')
|
local f = http.formvalue('ulfile')
|
||||||
if #f <= 0 then
|
if #f <= 0 then
|
||||||
um.value = translate('No specify upload file.')
|
um.value = translate('No specify upload file')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -80,9 +80,8 @@ msgstr "选择本地文件:"
|
|||||||
msgid "Couldn't open file:"
|
msgid "Couldn't open file:"
|
||||||
msgstr "无法打开文件:"
|
msgstr "无法打开文件:"
|
||||||
|
|
||||||
msgid "Create upload file error."
|
msgid "Create upload file error"
|
||||||
msgstr "创建上传文件失败。"
|
msgstr "创建上传文件失败"
|
||||||
|
|
||||||
|
|
||||||
msgid "File name"
|
msgid "File name"
|
||||||
msgstr "文件名"
|
msgstr "文件名"
|
||||||
@ -102,8 +101,8 @@ msgstr "属性"
|
|||||||
msgid "Modify time"
|
msgid "Modify time"
|
||||||
msgstr "修改时间"
|
msgstr "修改时间"
|
||||||
|
|
||||||
msgid "No specify upload file."
|
msgid "No specify upload file"
|
||||||
msgstr "未指定上传文件。"
|
msgstr "未指定上传文件"
|
||||||
|
|
||||||
msgid "Path on Route:"
|
msgid "Path on Route:"
|
||||||
msgstr "路由根目录:"
|
msgstr "路由根目录:"
|
Loading…
x
Reference in New Issue
Block a user