diff options
author | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-03-02 22:49:08 +0000 |
---|---|---|
committer | Tommy Reynolds <Tommy.Reynolds@MegaCoder.com> | 2006-03-02 22:49:08 +0000 |
commit | ba2314ff0e746342955e4c387c0d9bbfa1d998aa (patch) | |
tree | 0622db71496dec1090758292072fd51c0f57f4c0 /bin/en2en_US | |
parent | 80a36d79249ce3a2e05b3b599d9354bda0d7ce0a (diff) | |
download | fedora-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.
Diffstat (limited to 'bin/en2en_US')
-rwxr-xr-x | bin/en2en_US | 9 |
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 |