Browse Source

We don't need an en.po for iso-codes anymore

r62081
tags/2.32
Frans Pop 11 years ago
parent
commit
1ade5dd02f
1 changed files with 0 additions and 18 deletions
  1. +0
    -18
      get-iso-codes

+ 0
- 18
get-iso-codes View File

@@ -19,21 +19,3 @@ done
if [ ! -f debian/iso-codes/se.po ] && [ -f debian/iso-codes/nb.po ]; then
cp debian/iso-codes/nb.po debian/iso-codes/se.po
fi

# Create "translation" for English
DATE="$(date +'%Y-%m-%d %H:%M%z')"
cat <<EOF >debian/iso-codes/en.po
msgid ""
msgstr ""
"Project-Id-Version: iso_3166 CVS\\n"
"Report-Msgid-Bugs-To: Alastair McKinstry <mckinstry@debian.org>\\n"
"POT-Creation-Date: $DATE\\n"
"PO-Revision-Date: $DATE\\n"
"MIME-Version: 1.0\\n"
"Content-Type: text/plain; charset=UTF-8\\n"
"Content-Transfer-Encoding: 8bit\\n"

EOF

perl -pe 's/.*?\t(.*)/msgid "$1"\nmsgstr "$1"\n/' \
<debian/iso_3166.tab >>debian/iso-codes/en.po

Loading…
Cancel
Save