Browse Source

Use Norwegian Bokmaal (nb) country names for Northern Sami (se)

There currently is no iso-codes translation for Northern Sami.

r62079
tags/2.32
Frans Pop 11 years ago
parent
commit
5870691d49
2 changed files with 9 additions and 1 deletions
  1. +3
    -1
      debian/changelog
  2. +6
    -0
      get-iso-codes

+ 3
- 1
debian/changelog View File

@@ -2,8 +2,10 @@ choose-mirror (2.32) UNRELEASED; urgency=low

* Improve generation of country selection templates to avoid display of
untranslated country codes. Closes: #502245.
* Use Norwegian Bokmaal country names if no iso-codes translation is
available for Northern Sami.

-- Frans Pop <fjp@debian.org> Mon, 25 Jan 2010 09:46:58 +0100
-- Frans Pop <fjp@debian.org> Mon, 25 Jan 2010 11:15:50 +0100

choose-mirror (2.31) unstable; urgency=low



+ 6
- 0
get-iso-codes View File

@@ -15,6 +15,12 @@ for i in $(find /usr/share/locale/ -name iso_3166.mo) ; do
msgunfmt $i >debian/iso-codes/${language}.po 2>/dev/null
done

# If no iso-codes translation is available for se, then use nb instead
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 ""


Loading…
Cancel
Save