From 71c58b93074a5bd26f9d3b7457bc01d519f8ced5 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 29 Oct 2007 13:29:33 +0000 Subject: Fixed mingw build problems. Updated some translations. --- src/err-sources.h.in | 3 ++- src/w32-gettext.c | 16 ++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/err-sources.h.in b/src/err-sources.h.in index 7627630..5bbd8ba 100644 --- a/src/err-sources.h.in +++ b/src/err-sources.h.in @@ -42,8 +42,9 @@ 10 GPG_ERR_SOURCE_DIRMNGR Dirmngr 11 GPG_ERR_SOURCE_GSTI GSTI 12 GPG_ERR_SOURCE_GPA GPA +13 GPG_ERR_SOURCE_KLEO Kleopatra -# 13 to 30 are free to be used. +# 14 to 30 are free to be used. 31 GPG_ERR_SOURCE_ANY Any source 32 GPG_ERR_SOURCE_USER_1 User defined source 1 diff --git a/src/w32-gettext.c b/src/w32-gettext.c index 34c2a77..03ef24d 100644 --- a/src/w32-gettext.c +++ b/src/w32-gettext.c @@ -522,10 +522,10 @@ # define SUBLANG_AZERI_CYRILLIC 0x02 # endif # ifndef SUBLANG_BENGALI_INDIA -# define SUBLANG_BENGALI_INDIA 0x00 +# define SUBLANG_BENGALI_INDIA 0x01 # endif # ifndef SUBLANG_BENGALI_BANGLADESH -# define SUBLANG_BENGALI_BANGLADESH 0x01 +# define SUBLANG_BENGALI_BANGLADESH 0x02 # endif # ifndef SUBLANG_CHINESE_MACAU # define SUBLANG_CHINESE_MACAU 0x05 @@ -618,16 +618,10 @@ # define SUBLANG_NEPALI_INDIA 0x02 # endif # ifndef SUBLANG_PUNJABI_INDIA -# define SUBLANG_PUNJABI_INDIA 0x00 -# endif -# ifndef SUBLANG_PUNJABI_PAKISTAN -# define SUBLANG_PUNJABI_PAKISTAN 0x01 +# define SUBLANG_PUNJABI_INDIA 0x01 # endif # ifndef SUBLANG_ROMANIAN_ROMANIA -# define SUBLANG_ROMANIAN_ROMANIA 0x00 -# endif -# ifndef SUBLANG_ROMANIAN_MOLDOVA -# define SUBLANG_ROMANIAN_MOLDOVA 0x01 +# define SUBLANG_ROMANIAN_ROMANIA 0x01 # endif # ifndef SUBLANG_SERBIAN_LATIN # define SUBLANG_SERBIAN_LATIN 0x02 @@ -1056,7 +1050,6 @@ _nl_locale_name (int category, const char *categoryname) switch (sub) { case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */ - case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */ } return "pa"; case LANG_RHAETO_ROMANCE: return "rm_CH"; @@ -1064,7 +1057,6 @@ _nl_locale_name (int category, const char *categoryname) switch (sub) { case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO"; - case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD"; } return "ro"; case LANG_RUSSIAN: -- cgit v1.2.1