mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Prep early splash screen messages for translation
This commit is contained in:
parent
4488568b45
commit
ae559089d3
@ -99,7 +99,8 @@ Gnucash::gnc_load_scm_config (void)
|
|||||||
static auto is_system_config_loaded = false;
|
static auto is_system_config_loaded = false;
|
||||||
if (!is_system_config_loaded)
|
if (!is_system_config_loaded)
|
||||||
{
|
{
|
||||||
update_message ("loading system scm configuration");
|
auto msg = bl::translate ("Loading system scm configuration...").str (gnc_get_boost_locale());
|
||||||
|
update_message (msg.c_str());
|
||||||
auto system_config_dir = gnc_path_get_pkgsysconfdir ();
|
auto system_config_dir = gnc_path_get_pkgsysconfdir ();
|
||||||
auto system_config = g_build_filename (system_config_dir, "config", nullptr);
|
auto system_config = g_build_filename (system_config_dir, "config", nullptr);
|
||||||
is_system_config_loaded = gfec_try_load (system_config);
|
is_system_config_loaded = gfec_try_load (system_config);
|
||||||
@ -110,7 +111,8 @@ Gnucash::gnc_load_scm_config (void)
|
|||||||
static auto is_user_config_loaded = false;
|
static auto is_user_config_loaded = false;
|
||||||
if (!is_user_config_loaded)
|
if (!is_user_config_loaded)
|
||||||
{
|
{
|
||||||
update_message("loading user scm configuration");
|
auto msg = bl::translate ("Loading user scm configuration...").str (gnc_get_boost_locale());
|
||||||
|
update_message (msg.c_str());
|
||||||
auto config_filename = g_build_filename (gnc_userconfig_dir (), "config-user.scm", nullptr);
|
auto config_filename = g_build_filename (gnc_userconfig_dir (), "config-user.scm", nullptr);
|
||||||
is_user_config_loaded = gfec_try_load (config_filename);
|
is_user_config_loaded = gfec_try_load (config_filename);
|
||||||
g_free (config_filename);
|
g_free (config_filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user