* luci/contrib: register portuguese-brazilian translation in Makefile
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Sep 2008 13:41:38 +0000 (13:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 24 Sep 2008 13:41:38 +0000 (13:41 +0000)
contrib/package/luci/Makefile

index 08bb2c41187a64f1f1e5944a107b3b61de79ee29..754f4391ad44af8a9d024d1c505d12bb55c047f3 100644 (file)
@@ -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))