* Added initial German Translation stub
authorSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 12:47:05 +0000 (12:47 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 1 Jun 2008 12:47:05 +0000 (12:47 +0000)
contrib/package/luci/Makefile
i18n/german/Makefile [new file with mode: 0644]
i18n/german/luasrc/i18n/cbi.de.lua [new file with mode: 0644]
i18n/german/luasrc/i18n/default.de.lua [new file with mode: 0644]

index ef9fef3..81a7796 100644 (file)
@@ -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 (file)
index 0000000..81a96f6
--- /dev/null
@@ -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 (file)
index 0000000..ed4a091
--- /dev/null
@@ -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 (file)
index 0000000..e69de29