gnucash maint: L12N:sv_AX Add Windows' name "Swedish_Ãland Islands"

Frank H.Ellenberger fell at code.gnucash.org
Tue Jan 14 15:23:12 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/d61453d3 (commit)
	from  https://github.com/Gnucash/gnucash/commit/826c826c (commit)



commit d61453d3cfc4d28a37d5928cd59b80a23a7a991f
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue Jan 14 21:17:43 2020 +0100

    L12N:sv_AX Add Windows' name "Swedish_Ã…land Islands"
    
    Patch from Bug 725296, but in theory it had better fit in Bug 797569.

diff --git a/gnucash/gnome/assistant-hierarchy.c b/gnucash/gnome/assistant-hierarchy.c
index 29c5113e7..72c6e7455 100644
--- a/gnucash/gnome/assistant-hierarchy.c
+++ b/gnucash/gnome/assistant-hierarchy.c
@@ -247,7 +247,9 @@ gnc_get_ea_locale_dir(const char *top_dir)
         locale = g_strdup("sv_SE");
     else if (g_strcmp0(locale, "Swedish_Finland") == 0)
         locale =g_strdup("sv_FI");
-    else
+    else if (g_strcmp0(locale, "Swedish_Ã…land Islands") == 0)
+        locale =g_strdup("sv_AX");
+     else
     {
         locale = g_win32_getlocale();
         if (!locale)



Summary of changes:
 gnucash/gnome/assistant-hierarchy.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list