mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
luci-app-dnspod: normalize translation and makefile (#7)
This commit is contained in:
parent
9fc2a37e5b
commit
19b723934d
@ -3,49 +3,11 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_NAME:=luci-app-dnspod
|
||||
PKG_VERSION=1.0
|
||||
PKG_RELEASE:=1
|
||||
LUCI_TITLE:=Auto DNS for dnspod
|
||||
LUCI_DEPENDS:=+curl +libcurl
|
||||
LUCI_PKGARCH:=all
|
||||
LUCI_DESCRIPTION=auto get pub ip,dnspod ddns,must include curl with ssl
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
define Package/luci-app-dnspod
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=Auto DNS for dnspod
|
||||
PKGARCH:=all
|
||||
DEPENDS:= +curl +libcurl
|
||||
endef
|
||||
|
||||
define Package/luci-app-dnspod/description
|
||||
auto get pub ip,dnspod ddns,must include curl with ssl
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-dnspod/install
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller
|
||||
|
||||
$(INSTALL_CONF) ./files/root/etc/config/dnspod $(1)/etc/config/dnspod
|
||||
$(INSTALL_BIN) ./files/root/etc/init.d/dnspod $(1)/etc/init.d/dnspod
|
||||
$(INSTALL_DATA) ./files/root/usr/lib/lua/luci/model/cbi/dnspod.lua $(1)/usr/lib/lua/luci/model/cbi/dnspod.lua
|
||||
$(INSTALL_DATA) ./files/root/usr/lib/lua/luci/controller/dnspod.lua $(1)/usr/lib/lua/luci/controller/dnspod.lua
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) ./files/dnspod.sh $(1)/usr/sbin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-dnspod))
|
||||
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
# call BuildPackage - OpenWrt buildroot signature
|
||||
|
37
package/lean/luci-app-dnspod/po/zh_Hans/luci-app-dnspod.po
Normal file
37
package/lean/luci-app-dnspod/po/zh_Hans/luci-app-dnspod.po
Normal file
@ -0,0 +1,37 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: zh-Hans\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:21
|
||||
msgid "DNSPOD Token"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:22
|
||||
msgid "主域名"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/controller/dnspod.lua:4 luasrc/model/cbi/dnspod.lua:15
|
||||
msgid "动态DNSPOD"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:25
|
||||
msgid "外网ip获取命令"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:23
|
||||
msgid "子域名"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:24
|
||||
msgid "更新周期(s)"
|
||||
msgstr ""
|
||||
|
||||
#: luasrc/model/cbi/dnspod.lua:15
|
||||
msgid "配置动态DNSPOD"
|
||||
msgstr ""
|
Loading…
x
Reference in New Issue
Block a user