mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-20 11:48:30 -06:00
Bug 797569 - Swedish account templates not accessible
If environment variable LANG is set to 'Swedish_Sweden' (to work around a gettext bug affecting Swedish locales) the wrong unix locale was substituted previnting gnucash from finding the associated account hierarchy templates.
This commit is contained in:
parent
ead5c94787
commit
826c826cc1
@ -244,7 +244,7 @@ gnc_get_ea_locale_dir(const char *top_dir)
|
||||
*/
|
||||
locale = g_getenv("LANG");
|
||||
if (g_strcmp0(locale, "Swedish_Sweden") == 0)
|
||||
locale = g_strdup("sv_SV");
|
||||
locale = g_strdup("sv_SE");
|
||||
else if (g_strcmp0(locale, "Swedish_Finland") == 0)
|
||||
locale =g_strdup("sv_FI");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user