Mercurial > hg > xmms-sid
diff src/xs_config.c @ 941:63342bbeab47
Mark messagebox messages as translatable strings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 19 Nov 2012 18:03:35 +0200 |
parents | d624258d7800 |
children | f8e1de328ac1 |
line wrap: on
line diff
--- a/src/xs_config.c Mon Nov 19 17:59:52 2012 +0200 +++ b/src/xs_config.c Mon Nov 19 18:03:35 2012 +0200 @@ -224,15 +224,15 @@ { if (xs_cfg.romPath == NULL || xs_cfg.romPath[0] == 0) { - xs_messagebox("Error", - "You have selected libSIDPlayFP backend, but not set the C64 ROM images directory."); + xs_messagebox(_("Error"), + _("You have selected libSIDPlayFP backend, but not set the C64 ROM images directory.\n")); return FALSE; } if (!xs_is_dir_path(xs_cfg.romPath)) { - xs_messagebox("Error", - "The C64 ROM images directory path '%s' is not a directory.\n", + xs_messagebox(_("Error"), + _("The C64 ROM images directory path '%s' is not a directory.\n"), xs_cfg.romPath); return FALSE; } @@ -257,10 +257,10 @@ if (result != NULL) { - xs_messagebox("Error", - "Could not load the required C64 ROM image files from '%s'.\n" + xs_messagebox(_("Error"), + _("Could not load the required C64 ROM image files from '%s'.\n" "\n" - "Following files could not be found: %s.", + "Following files could not be found: %s."), xs_cfg.romPath, result); g_free(result); return FALSE; @@ -1232,8 +1232,8 @@ if (!xs_is_dir_path(result)) { path = xs_get_dir_path(result); - xs_messagebox("Warning", - "Selected HVSC path '%s' does not seem like a path, adjusting to '%s'.\n", + xs_messagebox(_("Warning"), + _("Selected HVSC path '%s' does not seem like a path, adjusting to '%s'.\n"), result, path); } else @@ -1281,8 +1281,8 @@ if (!xs_is_dir_path(result)) { path = xs_get_dir_path(result); - xs_messagebox("Warning", - "Selected ROM path '%s' does not seem like a path, adjusting to '%s'.\n", + xs_messagebox(_("Warning"), + _("Selected ROM path '%s' does not seem like a path, adjusting to '%s'.\n"), result, path); } else