gluon-luci-autoupdater: i18n
This commit is contained in:
parent
e1f2ac11b6
commit
fe265126a9
@ -4,12 +4,14 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=gluon-luci-autoupdater
|
||||
PKG_VERSION:=0.1
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
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
|
||||
SECTION:=gluon
|
||||
@ -18,10 +20,6 @@ define Package/gluon-luci-autoupdater
|
||||
DEPENDS:=+gluon-luci-admin +gluon-autoupdater
|
||||
endef
|
||||
|
||||
define Package/gluon-luci-autoupdater/description
|
||||
Luci module for gluon-autoupdater
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
endef
|
||||
@ -30,10 +28,12 @@ define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(call GluonBuildI18N,gluon-luci-autoupdater,i18n)
|
||||
endef
|
||||
|
||||
define Package/gluon-luci-autoupdater/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(call GluonInstallI18N,gluon-luci-autoupdater,$(1))
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,gluon-luci-autoupdater))
|
||||
|
@ -15,6 +15,5 @@ $Id$
|
||||
module("luci.controller.admin.autoupdater", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "autoupdater"}, cbi("admin/autoupdater"), _("Autoupdater"), 20)
|
||||
entry({"admin", "autoupdater"}, cbi("admin/autoupdater"), _("Automatic updates"), 20)
|
||||
end
|
||||
|
||||
|
@ -12,9 +12,7 @@ You may obtain a copy of the License at
|
||||
$Id$
|
||||
]]--
|
||||
|
||||
m = Map("autoupdater", "Autoupdater")
|
||||
m.submit = "Speichern"
|
||||
m.reset = "Zurücksetzen"
|
||||
m = Map("autoupdater", translate("Automatic updates"))
|
||||
m.pageaction = false
|
||||
m.template = "admin/expertmode"
|
||||
|
||||
@ -22,8 +20,8 @@ s = m:section(TypedSection, "autoupdater", nil)
|
||||
s.addremove = false
|
||||
s.anonymous = true
|
||||
|
||||
s:option(Flag, "enabled", "Aktivieren")
|
||||
f = s:option(ListValue, "branch", "Branch")
|
||||
s:option(Flag, "enabled", translate("Enable"))
|
||||
f = s:option(ListValue, "branch", translate("Branch"))
|
||||
|
||||
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