* Added initial German Translation stub
This commit is contained in:
parent
91cee14200
commit
1e7ad0141d
4 changed files with 20 additions and 0 deletions
|
@ -324,6 +324,16 @@ define Package/luci-theme-openwrt/install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
### Translations ###
|
### Translations ###
|
||||||
|
define Package/luci-i18n-german
|
||||||
|
$(call Package/luci/i18ntemplate)
|
||||||
|
TITLE:=German
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/luci-i18n-german/install
|
||||||
|
$(call Package/luci/install/template,$(1),i18n/german)
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/luci-i18n-english
|
define Package/luci-i18n-english
|
||||||
$(call Package/luci/i18ntemplate)
|
$(call Package/luci/i18ntemplate)
|
||||||
TITLE:=English (incomplete)
|
TITLE:=English (incomplete)
|
||||||
|
@ -390,6 +400,9 @@ ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),)
|
||||||
PKG_SELECTED_MODULES+=themes/openwrt.org
|
PKG_SELECTED_MODULES+=themes/openwrt.org
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_PACKAGE_luci-i18n-german),)
|
||||||
|
PKG_SELECTED_MODULES+=i18n/german
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
|
ifneq ($(CONFIG_PACKAGE_luci-i18n-english),)
|
||||||
PKG_SELECTED_MODULES+=i18n/english
|
PKG_SELECTED_MODULES+=i18n/english
|
||||||
endif
|
endif
|
||||||
|
@ -417,4 +430,5 @@ $(eval $(call BuildPackage,luci-sgi-webuci))
|
||||||
$(eval $(call BuildPackage,luci-theme-fledermaus))
|
$(eval $(call BuildPackage,luci-theme-fledermaus))
|
||||||
$(eval $(call BuildPackage,luci-theme-openwrt))
|
$(eval $(call BuildPackage,luci-theme-openwrt))
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,luci-i18n-german))
|
||||||
$(eval $(call BuildPackage,luci-i18n-english))
|
$(eval $(call BuildPackage,luci-i18n-english))
|
||||||
|
|
2
i18n/german/Makefile
Normal file
2
i18n/german/Makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
include ../../build/config.mk
|
||||||
|
include ../../build/module.mk
|
4
i18n/german/luasrc/i18n/cbi.de.lua
Normal file
4
i18n/german/luasrc/i18n/cbi.de.lua
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
cbi_add = "Eintrag hinzufügen"
|
||||||
|
cbi_del = "Eintrag entfernen"
|
||||||
|
cbi_invalid = "Error: Ungültige Eingabe"
|
||||||
|
cbi_addopt = "-- Feld --"
|
0
i18n/german/luasrc/i18n/default.de.lua
Normal file
0
i18n/german/luasrc/i18n/default.de.lua
Normal file
Loading…
Reference in a new issue