summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-03-02 22:49:08 +0000
committerTommy Reynolds <Tommy.Reynolds@MegaCoder.com>2006-03-02 22:49:08 +0000
commitba2314ff0e746342955e4c387c0d9bbfa1d998aa (patch)
tree0622db71496dec1090758292072fd51c0f57f4c0
parent80a36d79249ce3a2e05b3b599d9354bda0d7ce0a (diff)
downloadfedora-doc-utils-ba2314ff0e746342955e4c387c0d9bbfa1d998aa.tar.gz
fedora-doc-utils-ba2314ff0e746342955e4c387c0d9bbfa1d998aa.tar.xz
fedora-doc-utils-ba2314ff0e746342955e4c387c0d9bbfa1d998aa.zip
Added shell script to convert a .POT/.PO file from the obsolete 'en'
locale to the proper 'en_US' locale.
-rwxr-xr-xbin/en2en_US9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/en2en_US b/bin/en2en_US
new file mode 100755
index 0000000..b19e99b
--- /dev/null
+++ b/bin/en2en_US
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ $# -gt 0 ]; then
+ for f in $@
+ do
+ sed -e '/^#:/s/entities-en.xml/entities-en_US.xml/g' -i ${f}
+ done
+else
+ sed -e '/^#:/s/entities-en.xml/entities-en_US.xml/g'
+fi