Enol Puente : wrc: Add Asturian locale.

Alexandre Julliard julliard at winehq.org
Fri May 3 15:46:18 CDT 2019


Module: wine
Branch: master
Commit: ec3181633b0e5d2d2b66cab711eacc6241c2597a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=ec3181633b0e5d2d2b66cab711eacc6241c2597a

Author: Enol Puente <enolp at softastur.org>
Date:   Mon Apr 29 20:38:34 2019 -0600

wrc: Add Asturian locale.

Signed-off-by: Enol Puente <enolp at softastur.org>
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/winnt.rh  | 1 +
 tools/wrc/po.c    | 2 ++
 tools/wrc/utils.c | 1 +
 3 files changed, 4 insertions(+)

diff --git a/include/winnt.rh b/include/winnt.rh
index 50aafb1..59791bc 100644
--- a/include/winnt.rh
+++ b/include/winnt.rh
@@ -185,6 +185,7 @@
 #define LANG_VENDA          0x33
 
 /* non standard; keep the number high enough (but < 0xff) */
+#define LANG_ASTURIAN                    0xa5
 #define LANG_ESPERANTO			 0x8f
 #define LANG_WALON			 0x90
 #define LANG_CORNISH                     0x92
diff --git a/tools/wrc/po.c b/tools/wrc/po.c
index 913a918..3f5affd 100644
--- a/tools/wrc/po.c
+++ b/tools/wrc/po.c
@@ -239,6 +239,8 @@ static const struct
     { LANG_ARMENIAN,       SUBLANG_ARMENIAN_ARMENIA,            "hy_AM" },
     { LANG_ASSAMESE,       SUBLANG_NEUTRAL,                     "as" },
     { LANG_ASSAMESE,       SUBLANG_ASSAMESE_INDIA,              "as_IN" },
+    { LANG_ASTURIAN,       SUBLANG_NEUTRAL,                     "ast" },
+    { LANG_ASTURIAN,       SUBLANG_DEFAULT,                     "ast_ES" },
     { LANG_AZERBAIJANI,    SUBLANG_NEUTRAL,                     "az" },
     { LANG_AZERBAIJANI,    SUBLANG_AZERBAIJANI_AZERBAIJAN_LATIN,"az_AZ at latin" },
     { LANG_AZERBAIJANI,    SUBLANG_AZERBAIJANI_AZERBAIJAN_CYRILLIC, "az_AZ at cyrillic" },
diff --git a/tools/wrc/utils.c b/tools/wrc/utils.c
index 5533a53..a1e07b8 100644
--- a/tools/wrc/utils.c
+++ b/tools/wrc/utils.c
@@ -457,6 +457,7 @@ static const struct lang2cp lang2cps[] =
     { LANG_ARABIC,         SUBLANG_NEUTRAL,              1256 },
     { LANG_ARMENIAN,       SUBLANG_NEUTRAL,              0    },
     { LANG_ASSAMESE,       SUBLANG_NEUTRAL,              0    },
+    { LANG_ASTURIAN,       SUBLANG_NEUTRAL,              1252 },
     { LANG_AZERI,          SUBLANG_NEUTRAL,              1254 },
     { LANG_AZERI,          SUBLANG_AZERI_CYRILLIC,       1251 },
     { LANG_BASHKIR,        SUBLANG_NEUTRAL,              1251 },




More information about the wine-cvs mailing list