+2004-03-02 Bruno Haible <bruno@clisp.org>
+
+ * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): For RESOURCESDLLFILES and
+ CSHARPCATALOGS, extend the lang -> frobbedlang mapping so as to support
+ Serbian and Uzbek locales.
+
2004-02-18 Bruno Haible <bruno@clisp.org>
* xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
+2004-03-02 Bruno Haible <bruno@clisp.org>
+
+ * read-csharp.c (msgdomain_read_csharp): Extend the lang -> frobbedlang
+ mapping so as to support Serbian and Uzbek locales.
+ * write-csharp.c (msgdomain_write_csharp): Likewise.
+ Reported by Jorn Baayen <jbaayen@dds.nl>.
+
2004-02-27 Bruno Haible <bruno@clisp.org>
* plural-table.c (plural_table): Add an entry about Serbian.
/* Reading C# satellite assemblies.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
for (p = culture_name; *p != '\0'; p++)
if (*p == '_')
*p = '-';
+ if (strncmp (culture_name, "sr-CS", 5) == 0)
+ memcpy (culture_name, "sr-SP", 5);
+ p = strchr (culture_name, '@');
+ if (p != NULL)
+ {
+ if (strcmp (p, "@latin") == 0)
+ strcpy (p, "-Latn");
+ else if (strcmp (p, "@cyrillic") == 0)
+ strcpy (p, "-Cyrl");
+ }
+ if (strcmp (culture_name, "sr-SP") == 0)
+ {
+ free (culture_name);
+ culture_name = xstrdup ("sr-SP-Latn");
+ }
+ else if (strcmp (culture_name, "uz-UZ") == 0)
+ {
+ free (culture_name);
+ culture_name = xstrdup ("uz-UZ-Latn");
+ }
}
/* Prepare arguments. */
/* Writing C# satellite assemblies.
- Copyright (C) 2003 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
for (p = culture_name; *p != '\0'; p++)
if (*p == '_')
*p = '-';
+ if (strncmp (culture_name, "sr-CS", 5) == 0)
+ memcpy (culture_name, "sr-SP", 5);
+ p = strchr (culture_name, '@');
+ if (p != NULL)
+ {
+ if (strcmp (p, "@latin") == 0)
+ strcpy (p, "-Latn");
+ else if (strcmp (p, "@cyrillic") == 0)
+ strcpy (p, "-Cyrl");
+ }
+ if (strcmp (culture_name, "sr-SP") == 0)
+ {
+ free (culture_name);
+ culture_name = xstrdup ("sr-SP-Latn");
+ }
+ else if (strcmp (culture_name, "uz-UZ") == 0)
+ {
+ free (culture_name);
+ culture_name = xstrdup ("uz-UZ-Latn");
+ }
}
+
/* Compute the output file name. This code must be kept consistent with
intl.cs, function GetSatelliteAssembly(). */