Correct usage of format patterns && dialogs.

SVN revision: 37222
This commit is contained in:
Sebastian Dransfeld 2008-10-27 10:46:57 +00:00
parent f4043040d7
commit d23740460d
2 changed files with 7 additions and 8 deletions

View File

@ -1138,13 +1138,12 @@ _grab_key_down_cb(void *data, int type, void *event)
if (actd) label = actd->act_name;
snprintf(buf, sizeof(buf),
_("The binding key sequence, that you choose,"
" is already used by <br>"
"<hilight>%s</hilight> action.<br>"
"Please choose another binding key sequence."),
label ? label : _("Unknown"));
e_util_dialog_show(_("Binding Key Error"), buf);
e_util_dialog_show(_("Binding Key Error"),
_("The binding key sequence, that you choose,"
" is already used by <br>"
"<hilight>%s</hilight> action.<br>"
"Please choose another binding key sequence."),
label ? label : _("Unknown"));
}
_grab_wnd_hide(cfdata);
}

View File

@ -349,7 +349,7 @@ _e_mod_fileman_config_free(void)
static int
_e_mod_cb_config_timer(void *data)
{
e_util_dialog_show(_("Fileman Configuration Updated"), data);
e_util_dialog_show(_("Fileman Configuration Updated"), "%s", (char *)data);
return 0;
}