~ubuntu-branches/debian/jessie/xiphos/jessie

« back to all changes in this revision

Viewing changes to src/gnome2/make-locale-set.sh

  • Committer: Bazaar Package Importer
  • Author(s): Dmitrijs Ledkovs
  • Date: 2010-03-22 18:15:54 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100322181554-qlqchymwhcw28c0c
* New upstream release:
  + Bugfix only
  + Compatible with xulrunner 1.9.2
  + Update translations

* Revert changes introduced in 3.1.2-1ubuntu1. Thank you Chris Coulson
  for temporary fix.
* debian/xiphos.1 - spelling mistake
* waf is now default buildsystem
* help is now licensed under GPL
* Bumped standards version no changes required
* Changed email to @ubuntu.com

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
# 2-char "language-only" names.  convert the latter.
6
6
#
7
7
( echo 'char *locale_set[] = { '
8
 
sed -e 's/en_GB/& en_US/' < ../../po/LINGUAS |
 
8
sed -e 's/en_GB/& en_US/' < $1 |
9
9
tr ' ' '\n' |
10
10
while read l ; do
11
11
    case "$l" in
14
14
        *)  u="`echo \"$l\" | tr a-z A-Z`"
15
15
            [ "$u" = CS ] && u=CZ       # special case, czech.
16
16
            [ "$u" = FA ] && u=IR       # special case, iran.
17
 
            [ "$u" = ZH ] && u=CN       # special case, chinese.
 
17
            [ "$u" = HE ] && u=IL       # special case, israel.
 
18
            [ "$u" = NB ] && u=NO       # special case, norway.
 
19
            [ "$u" = SL ] && u=SI       # special case, slovenia.
18
20
            l="$l"_"$u"
19
21
            ;;
20
22
    esac