diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-17 17:36:08 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-17 17:36:08 +0000 |
commit | 62b2c39a5d7bf67df1c5d483db820673dc3c13aa (patch) | |
tree | 97607229fa88acf8dd3d004d04e0975433530adb | |
parent | 63633c117fc7c9846ee365348d9bcce823aa6fd0 (diff) |
i18n: package spanish translation
-rw-r--r-- | contrib/package/luci/Makefile | 14 | ||||
-rw-r--r-- | i18n/spanish/Makefile | 5 | ||||
-rwxr-xr-x | i18n/spanish/root/etc/uci-defaults/luci-i18n-spanish | 6 |
3 files changed, 25 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 41d6bab32..361bff9b2 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -877,6 +877,16 @@ define Package/luci-i18n-portuguese/install endef +define Package/luci-i18n-spanish + $(call Package/luci/i18ntemplate) + TITLE:=Spanish (by Guillermo Javier Nardoni) +endef + +define Package/luci-i18n-spanish/install + $(call Package/luci/install/template,$(1),i18n/spanish) +endef + + ### Compile ### ifneq ($(CONFIG_PACKAGE_luci-core),) PKG_SELECTED_MODULES+=libs/core @@ -1077,6 +1087,9 @@ endif ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese),) PKG_SELECTED_MODULES+=i18n/portuguese endif +ifneq ($(CONFIG_PACKAGE_luci-i18n-spanish),) + PKG_SELECTED_MODULES+=i18n/spanish +endif MAKE_FLAGS += \ @@ -1157,3 +1170,4 @@ $(eval $(call BuildPackage,luci-i18n-japanese)) $(eval $(call BuildPackage,luci-i18n-greek)) $(eval $(call BuildPackage,luci-i18n-catalan)) $(eval $(call BuildPackage,luci-i18n-portuguese)) +$(eval $(call BuildPackage,luci-i18n-spanish)) diff --git a/i18n/spanish/Makefile b/i18n/spanish/Makefile new file mode 100644 index 000000000..63bc71e46 --- /dev/null +++ b/i18n/spanish/Makefile @@ -0,0 +1,5 @@ +PO = default cbi admin-core sysauth wifi +PO_LANG = es + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/spanish/root/etc/uci-defaults/luci-i18n-spanish b/i18n/spanish/root/etc/uci-defaults/luci-i18n-spanish new file mode 100755 index 000000000..788a54e09 --- /dev/null +++ b/i18n/spanish/root/etc/uci-defaults/luci-i18n-spanish @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.es=Spanish + commit luci +EOF + |