gluon-luci-autoupdater: i18n
This commit is contained in:
parent
e1f2ac11b6
commit
fe265126a9
@ -4,12 +4,14 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=gluon-luci-autoupdater
|
PKG_NAME:=gluon-luci-autoupdater
|
||||||
PKG_VERSION:=0.1
|
PKG_VERSION:=1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(GLUONDIR)/include/package.mk
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
||||||
|
|
||||||
define Package/gluon-luci-autoupdater
|
define Package/gluon-luci-autoupdater
|
||||||
SECTION:=gluon
|
SECTION:=gluon
|
||||||
@ -18,10 +20,6 @@ define Package/gluon-luci-autoupdater
|
|||||||
DEPENDS:=+gluon-luci-admin +gluon-autoupdater
|
DEPENDS:=+gluon-luci-admin +gluon-autoupdater
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-autoupdater/description
|
|
||||||
Luci module for gluon-autoupdater
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
mkdir -p $(PKG_BUILD_DIR)
|
mkdir -p $(PKG_BUILD_DIR)
|
||||||
endef
|
endef
|
||||||
@ -30,10 +28,12 @@ define Build/Configure
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
|
$(call GluonBuildI18N,gluon-luci-autoupdater,i18n)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/gluon-luci-autoupdater/install
|
define Package/gluon-luci-autoupdater/install
|
||||||
$(CP) ./files/* $(1)/
|
$(CP) ./files/* $(1)/
|
||||||
|
$(call GluonInstallI18N,gluon-luci-autoupdater,$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,gluon-luci-autoupdater))
|
$(eval $(call BuildPackage,gluon-luci-autoupdater))
|
||||||
|
@ -15,6 +15,5 @@ $Id$
|
|||||||
module("luci.controller.admin.autoupdater", package.seeall)
|
module("luci.controller.admin.autoupdater", package.seeall)
|
||||||
|
|
||||||
function index()
|
function index()
|
||||||
entry({"admin", "autoupdater"}, cbi("admin/autoupdater"), _("Autoupdater"), 20)
|
entry({"admin", "autoupdater"}, cbi("admin/autoupdater"), _("Automatic updates"), 20)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -12,9 +12,7 @@ You may obtain a copy of the License at
|
|||||||
$Id$
|
$Id$
|
||||||
]]--
|
]]--
|
||||||
|
|
||||||
m = Map("autoupdater", "Autoupdater")
|
m = Map("autoupdater", translate("Automatic updates"))
|
||||||
m.submit = "Speichern"
|
|
||||||
m.reset = "Zurücksetzen"
|
|
||||||
m.pageaction = false
|
m.pageaction = false
|
||||||
m.template = "admin/expertmode"
|
m.template = "admin/expertmode"
|
||||||
|
|
||||||
@ -22,8 +20,8 @@ s = m:section(TypedSection, "autoupdater", nil)
|
|||||||
s.addremove = false
|
s.addremove = false
|
||||||
s.anonymous = true
|
s.anonymous = true
|
||||||
|
|
||||||
s:option(Flag, "enabled", "Aktivieren")
|
s:option(Flag, "enabled", translate("Enable"))
|
||||||
f = s:option(ListValue, "branch", "Branch")
|
f = s:option(ListValue, "branch", translate("Branch"))
|
||||||
|
|
||||||
uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end)
|
uci.cursor():foreach("autoupdater", "branch", function (section) f:value(section[".name"]) end)
|
||||||
|
|
||||||
|
17
package/gluon-luci-autoupdater/i18n/de.po
Normal file
17
package/gluon-luci-autoupdater/i18n/de.po
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
"PO-Revision-Date: 2015-05-04 01:55+0200\n"
|
||||||
|
"Last-Translator: <mschiffer@universe-factory.net>\n"
|
||||||
|
"Language-Team: German\n"
|
||||||
|
"Language: de\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
msgid "Automatic updates"
|
||||||
|
msgstr "Automatische Updates"
|
||||||
|
|
||||||
|
msgid "Branch"
|
||||||
|
msgstr "Branch"
|
@ -0,0 +1,8 @@
|
|||||||
|
msgid ""
|
||||||
|
msgstr "Content-Type: text/plain; charset=UTF-8"
|
||||||
|
|
||||||
|
msgid "Automatic updates"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Branch"
|
||||||
|
msgstr ""
|
Loading…
Reference in New Issue
Block a user