contrib, i18n: fix portuguese-brazilian translation package
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 21:24:28 +0000 (21:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 6 Feb 2012 21:24:28 +0000 (21:24 +0000)
contrib/package/luci/Makefile
i18n/portuguese-brazilian/Makefile [new file with mode: 0644]
i18n/portuguese-brazilian/ipkg/postinst [new file with mode: 0755]
i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian [new file with mode: 0755]
i18n/portuguese_brazilian/Makefile [deleted file]
i18n/portuguese_brazilian/ipkg/postinst [deleted file]
i18n/portuguese_brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian [deleted file]

index f83538703adfde2afe97db7b5c161225b8088b35..f9da191762ff59edb99271bea47607d0cc627ad7 100644 (file)
@@ -545,7 +545,7 @@ $(eval $(call translation,english,English))
 $(eval $(call translation,french,French (by Florian Fainelli)))
 $(eval $(call translation,italian,Italian (by Matteo Croce)))
 $(eval $(call translation,russian,Russian (by Skryabin Dmitry)))
-$(eval $(call translation,portuguese_brazilian,Portuguese (Brazilian) (by Carlos Cesario)))
+$(eval $(call translation,portuguese-brazilian,Portuguese (Brazilian) (by Carlos Cesario)))
 $(eval $(call translation,chinese,Chinese (by Chinese Translators)))
 $(eval $(call translation,japanese,Japanese (by Tsukasa Hamano)))
 $(eval $(call translation,greek,Greek (by Vasilis Tsiligiannis)))
diff --git a/i18n/portuguese-brazilian/Makefile b/i18n/portuguese-brazilian/Makefile
new file mode 100644 (file)
index 0000000..9749c9d
--- /dev/null
@@ -0,0 +1,5 @@
+PO = base
+PO_LANG = pt-br
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/portuguese-brazilian/ipkg/postinst b/i18n/portuguese-brazilian/ipkg/postinst
new file mode 100755 (executable)
index 0000000..fc33156
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+       ( . /etc/uci-defaults/luci-i18n-portuguese_brazilian ) &&       rm -f /etc/uci-defaults/luci-i18n-portuguese_brazilian
+}
diff --git a/i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian b/i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian
new file mode 100755 (executable)
index 0000000..1554c1e
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+uci batch <<-EOF
+       set luci.languages.pt_br="Português (Brasil)"
+        commit luci
+EOF
diff --git a/i18n/portuguese_brazilian/Makefile b/i18n/portuguese_brazilian/Makefile
deleted file mode 100644 (file)
index 9749c9d..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-PO = base
-PO_LANG = pt-br
-
-include ../../build/config.mk
-include ../../build/module.mk
diff --git a/i18n/portuguese_brazilian/ipkg/postinst b/i18n/portuguese_brazilian/ipkg/postinst
deleted file mode 100755 (executable)
index fc33156..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-[ -n "${IPKG_INSTROOT}" ] || {
-       ( . /etc/uci-defaults/luci-i18n-portuguese_brazilian ) &&       rm -f /etc/uci-defaults/luci-i18n-portuguese_brazilian
-}
diff --git a/i18n/portuguese_brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian b/i18n/portuguese_brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian
deleted file mode 100755 (executable)
index 1554c1e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-uci batch <<-EOF
-       set luci.languages.pt_br="Português (Brasil)"
-        commit luci
-EOF