From: Steven Barth Date: Sun, 1 Jun 2008 12:47:05 +0000 (+0000) Subject: * Added initial German Translation stub X-Git-Tag: 0.8.0~943 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1e7ad0141d49a0b332acf0bfce541f8f501f918e;p=oweals%2Fluci.git * Added initial German Translation stub --- diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index ef9fef39e..81a7796aa 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -324,6 +324,16 @@ define Package/luci-theme-openwrt/install endef ### 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 $(call Package/luci/i18ntemplate) TITLE:=English (incomplete) @@ -390,6 +400,9 @@ ifneq ($(CONFIG_PACKAGE_luci-theme-openwrt),) PKG_SELECTED_MODULES+=themes/openwrt.org endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-german),) + PKG_SELECTED_MODULES+=i18n/german +endif ifneq ($(CONFIG_PACKAGE_luci-i18n-english),) PKG_SELECTED_MODULES+=i18n/english endif @@ -417,4 +430,5 @@ $(eval $(call BuildPackage,luci-sgi-webuci)) $(eval $(call BuildPackage,luci-theme-fledermaus)) $(eval $(call BuildPackage,luci-theme-openwrt)) +$(eval $(call BuildPackage,luci-i18n-german)) $(eval $(call BuildPackage,luci-i18n-english)) diff --git a/i18n/german/Makefile b/i18n/german/Makefile new file mode 100644 index 000000000..81a96f6a8 --- /dev/null +++ b/i18n/german/Makefile @@ -0,0 +1,2 @@ +include ../../build/config.mk +include ../../build/module.mk \ No newline at end of file diff --git a/i18n/german/luasrc/i18n/cbi.de.lua b/i18n/german/luasrc/i18n/cbi.de.lua new file mode 100644 index 000000000..ed4a09159 --- /dev/null +++ b/i18n/german/luasrc/i18n/cbi.de.lua @@ -0,0 +1,4 @@ +cbi_add = "Eintrag hinzufügen" +cbi_del = "Eintrag entfernen" +cbi_invalid = "Error: Ungültige Eingabe" +cbi_addopt = "-- Feld --" \ No newline at end of file diff --git a/i18n/german/luasrc/i18n/default.de.lua b/i18n/german/luasrc/i18n/default.de.lua new file mode 100644 index 000000000..e69de29bb