diff --git a/luci-app-argon-config/Makefile b/luci-app-argon-config/Makefile index 4e1d5ce..70ae445 100644 --- a/luci-app-argon-config/Makefile +++ b/luci-app-argon-config/Makefile @@ -22,25 +22,6 @@ define Package/luci-app-argon-config DEPENDS:=+luci-compat 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)) # call BuildPackage - OpenWrt buildroot signature - - diff --git a/luci-app-argon-config/luasrc/model/cbi/argon-config.lua b/luci-app-argon-config/luasrc/model/cbi/argon-config.lua index e81c4d8..37278a3 100644 --- a/luci-app-argon-config/luasrc/model/cbi/argon-config.lua +++ b/luci-app-argon-config/luasrc/model/cbi/argon-config.lua @@ -139,7 +139,7 @@ http.setfilehandler( end if not fd then - um.value = translate('Create upload file error.') + um.value = translate('Create upload file error') return end end @@ -157,7 +157,7 @@ http.setfilehandler( if http.formvalue('upload') then local f = http.formvalue('ulfile') if #f <= 0 then - um.value = translate('No specify upload file.') + um.value = translate('No specify upload file') end end diff --git a/luci-app-argon-config/po/zh-cn/argon-config.po b/luci-app-argon-config/po/zh_Hans/argon-config.po similarity index 95% rename from luci-app-argon-config/po/zh-cn/argon-config.po rename to luci-app-argon-config/po/zh_Hans/argon-config.po index a0fe838..2dc8589 100644 --- a/luci-app-argon-config/po/zh-cn/argon-config.po +++ b/luci-app-argon-config/po/zh_Hans/argon-config.po @@ -80,9 +80,8 @@ msgstr "选择本地文件:" msgid "Couldn't open file:" msgstr "无法打开文件:" -msgid "Create upload file error." -msgstr "创建上传文件失败。" - +msgid "Create upload file error" +msgstr "创建上传文件失败" msgid "File name" msgstr "文件名" @@ -102,8 +101,8 @@ msgstr "属性" msgid "Modify time" msgstr "修改时间" -msgid "No specify upload file." -msgstr "未指定上传文件。" +msgid "No specify upload file" +msgstr "未指定上传文件" msgid "Path on Route:" msgstr "路由根目录:"