~ubuntu-branches/ubuntu/maverick/poedit/maverick

« back to all changes in this revision

Viewing changes to build/gettext-0.16.1-mingw-localenames.patch

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-09-16 19:47:00 UTC
  • mfrom: (0.2.9 upstream) (1.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20080916194700-ueyef0pgklk3u50k
Tags: 1.4.2-2
Adding debug package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- gettext-0.16.1/gettext-runtime/intl/localename.c.orig       2007-05-27 19:57:02.000000000 +0200
2
 
+++ gettext-0.16.1/gettext-runtime/intl/localename.c    2007-05-27 20:04:12.000000000 +0200
3
 
@@ -494,10 +494,10 @@
4
 
 # define SUBLANG_AZERI_CYRILLIC 0x02
5
 
 # endif
6
 
 # ifndef SUBLANG_BENGALI_INDIA
7
 
-# define SUBLANG_BENGALI_INDIA 0x00
8
 
+# define SUBLANG_BENGALI_INDIA 0x01
9
 
 # endif
10
 
 # ifndef SUBLANG_BENGALI_BANGLADESH
11
 
-# define SUBLANG_BENGALI_BANGLADESH 0x01
12
 
+# define SUBLANG_BENGALI_BANGLADESH 0x02
13
 
 # endif
14
 
 # ifndef SUBLANG_CHINESE_MACAU
15
 
 # define SUBLANG_CHINESE_MACAU 0x05
16
 
@@ -590,16 +590,16 @@
17
 
 # define SUBLANG_NEPALI_INDIA 0x02
18
 
 # endif
19
 
 # ifndef SUBLANG_PUNJABI_INDIA
20
 
-# define SUBLANG_PUNJABI_INDIA 0x00
21
 
+# define SUBLANG_PUNJABI_INDIA 0x01
22
 
 # endif
23
 
 # ifndef SUBLANG_PUNJABI_PAKISTAN
24
 
-# define SUBLANG_PUNJABI_PAKISTAN 0x01
25
 
+# define SUBLANG_PUNJABI_PAKISTAN 0x02
26
 
 # endif
27
 
 # ifndef SUBLANG_ROMANIAN_ROMANIA
28
 
-# define SUBLANG_ROMANIAN_ROMANIA 0x00
29
 
+# define SUBLANG_ROMANIAN_ROMANIA 0x01
30
 
 # endif
31
 
 # ifndef SUBLANG_ROMANIAN_MOLDOVA
32
 
-# define SUBLANG_ROMANIAN_MOLDOVA 0x01
33
 
+# define SUBLANG_ROMANIAN_MOLDOVA 0x02
34
 
 # endif
35
 
 # ifndef SUBLANG_SERBIAN_LATIN
36
 
 # define SUBLANG_SERBIAN_LATIN 0x02
37
 
@@ -607,12 +607,12 @@
38
 
 # ifndef SUBLANG_SERBIAN_CYRILLIC
39
 
 # define SUBLANG_SERBIAN_CYRILLIC 0x03
40
 
 # endif
41
 
-# ifndef SUBLANG_SINDHI_INDIA
42
 
-# define SUBLANG_SINDHI_INDIA 0x00
43
 
-# endif
44
 
 # ifndef SUBLANG_SINDHI_PAKISTAN
45
 
 # define SUBLANG_SINDHI_PAKISTAN 0x01
46
 
 # endif
47
 
+# ifndef SUBLANG_SINDHI_AFGHANISTAN
48
 
+# define SUBLANG_SINDHI_AFGHANISTAN 0x02
49
 
+# endif
50
 
 # ifndef SUBLANG_SPANISH_GUATEMALA
51
 
 # define SUBLANG_SPANISH_GUATEMALA 0x04
52
 
 # endif
53
 
@@ -670,14 +670,14 @@
54
 
 # ifndef SUBLANG_TAMAZIGHT_ARABIC
55
 
 # define SUBLANG_TAMAZIGHT_ARABIC 0x01
56
 
 # endif
57
 
-# ifndef SUBLANG_TAMAZIGHT_LATIN
58
 
-# define SUBLANG_TAMAZIGHT_LATIN 0x02
59
 
+# ifndef SUBLANG_TAMAZIGHT_ALGERIA_LATIN
60
 
+# define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02
61
 
 # endif
62
 
 # ifndef SUBLANG_TIGRINYA_ETHIOPIA
63
 
-# define SUBLANG_TIGRINYA_ETHIOPIA 0x00
64
 
+# define SUBLANG_TIGRINYA_ETHIOPIA 0x01
65
 
 # endif
66
 
 # ifndef SUBLANG_TIGRINYA_ERITREA
67
 
-# define SUBLANG_TIGRINYA_ERITREA 0x01
68
 
+# define SUBLANG_TIGRINYA_ERITREA 0x02
69
 
 # endif
70
 
 # ifndef SUBLANG_URDU_PAKISTAN
71
 
 # define SUBLANG_URDU_PAKISTAN 0x01
72
 
@@ -1378,8 +1378,8 @@
73
 
       case LANG_SINDHI:
74
 
        switch (sub)
75
 
          {
76
 
-         case SUBLANG_SINDHI_INDIA: return "sd_IN";
77
 
          case SUBLANG_SINDHI_PAKISTAN: return "sd_PK";
78
 
+         case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF";
79
 
          }
80
 
        return "sd";
81
 
       case LANG_SINHALESE: return "si_LK";
82
 
@@ -1432,7 +1432,7 @@
83
 
          {
84
 
          /* FIXME: Adjust this when Tamazight locales appear on Unix.  */
85
 
          case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic";
86
 
-         case SUBLANG_TAMAZIGHT_LATIN: return "ber_MA@latin";
87
 
+         case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_MA@latin";
88
 
          }
89
 
        return "ber_MA";
90
 
       case LANG_TAMIL: