+2008-04-16 Bruno Haible <bruno@clisp.org>
+
+ * localename.c (SUBLANG_SINDHI_INDIA): New macro.
+ (SUBLANG_SINDHI_PAKISTAN): Change value from 1 to 2.
+ (gl_locale_name_from_win32_LANGID): Fix code for Sindhi.
+ Reported by Daniel Bergström <daniel@octocode.com>.
+
2007-12-25 KJK::Hyperion <hackbunny@reactos.com>
Bruno Haible <bruno@clisp.org>
/* Determine name of the currently selected locale.
- Copyright (C) 1995-1999, 2000-2007 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000-2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
# ifndef SUBLANG_SERBIAN_CYRILLIC
# define SUBLANG_SERBIAN_CYRILLIC 0x03
# endif
-# ifndef SUBLANG_SINDHI_PAKISTAN
-# define SUBLANG_SINDHI_PAKISTAN 0x01
+# ifndef SUBLANG_SINDHI_INDIA
+# define SUBLANG_SINDHI_INDIA 0x01
# endif
+# undef SUBLANG_SINDHI_PAKISTAN
+# define SUBLANG_SINDHI_PAKISTAN 0x02
# ifndef SUBLANG_SINDHI_AFGHANISTAN
# define SUBLANG_SINDHI_AFGHANISTAN 0x02
# endif
case LANG_SINDHI:
switch (sub)
{
+ case SUBLANG_SINDHI_INDIA: return "sd_IN";
case SUBLANG_SINDHI_PAKISTAN: return "sd_PK";
- case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF";
+ /*case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF";*/
}
return "sd";
case LANG_SINHALESE: return "si_LK";