summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-24 13:41:38 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-24 13:41:38 +0000
commit7b7e34c1fffd21c9589ef807833354c0a5cbceed (patch)
tree5aacaf99ed67259e955db672ee3adee5f31b4828
parentd2a22499852d1b4f90c5481b35a5dca906b1bc64 (diff)
* luci/contrib: register portuguese-brazilian translation in Makefile
-rw-r--r--contrib/package/luci/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 08bb2c411..754f4391a 100644
--- a/contrib/package/luci/Makefile
+++ b/contrib/package/luci/Makefile
@@ -586,6 +586,15 @@ define Package/luci-i18n-russian/install
endef
+define Package/luci-i18n-portuguese_brazilian
+ $(call Package/luci/i18ntemplate)
+ TITLE:=Portuguese (Brazilian) (by Carlos Cesario)
+endef
+
+define Package/luci-i18n-portuguese_brazilian/install
+ $(call Package/luci/install/template,$(1),i18n/portuguese_brazilian)
+endef
+
### Compile ###
ifneq ($(CONFIG_PACKAGE_luci-core),)
@@ -716,6 +725,9 @@ endif
ifneq ($(CONFIG_PACKAGE_luci-i18n-russian),)
PKG_SELECTED_MODULES+=i18n/russian
endif
+ifneq ($(CONFIG_PACKAGE_luci-i18n-portuguese_brazilian),)
+ PKG_SELECTED_MODULES+=i18n/portuguese_brazilian
+endif
MAKE_FLAGS += \
@@ -774,3 +786,4 @@ $(eval $(call BuildPackage,luci-i18n-german))
$(eval $(call BuildPackage,luci-i18n-english))
$(eval $(call BuildPackage,luci-i18n-french))
$(eval $(call BuildPackage,luci-i18n-russian))
+$(eval $(call BuildPackage,luci-i18n-portuguese_brazilian))