Make some error dialogs translatable (patch from Igor Murzov)

SVN revision: 81394
This commit is contained in:
Massimo Maiurana 2012-12-19 17:45:04 +00:00
parent 77cb445100
commit c4058ca063
3 changed files with 6 additions and 6 deletions

View File

@ -1397,7 +1397,7 @@ e_gadcon_client_autoscroll_set(E_Gadcon_Client *gcc, int autoscroll)
if (gcc->autoscroll_disabled && (!autoscroll)) if (gcc->autoscroll_disabled && (!autoscroll))
{ {
e_util_dialog_show("Gadget error", "%s does not support disabling autoscrolling", gcc->name); e_util_dialog_show(_("Gadget error"), _("%s does not support disabling autoscrolling"), gcc->name);
return; return;
} }
gcc->autoscroll = autoscroll; gcc->autoscroll = autoscroll;
@ -3081,8 +3081,8 @@ _e_gadcon_client_class_feature_check(const E_Gadcon_Client_Class *cc, const char
{ {
if (!feature) if (!feature)
{ {
e_util_dialog_show("Insufficent gadcon support", e_util_dialog_show(_("Insufficent gadcon support"),
"Module %s needs to support %s", _("Module %s needs to support %s"),
cc->name, name); cc->name, name);
return 0; return 0;
} }

View File

@ -1003,7 +1003,7 @@ e_util_dir_check(const char *dir)
{ {
if (!ecore_file_mkpath(dir)) if (!ecore_file_mkpath(dir))
{ {
e_util_dialog_show("Error creating directory", "Failed to create directory: %s .<br>Check that you have correct permissions set.", dir); e_util_dialog_show(_("Error creating directory"), _("Failed to create directory: %s .<br>Check that you have correct permissions set."), dir);
return 0; return 0;
} }
} }
@ -1011,7 +1011,7 @@ e_util_dir_check(const char *dir)
{ {
if (!ecore_file_is_dir(dir)) if (!ecore_file_is_dir(dir))
{ {
e_util_dialog_show("Error creating directory", "Failed to create directory: %s .<br>A file of that name already exists.", dir); e_util_dialog_show(_("Error creating directory"), _("Failed to create directory: %s .<br>A file of that name already exists."), dir);
return 0; return 0;
} }
} }

View File

@ -648,7 +648,7 @@ _grab_key_down_cb(void *data, int type __UNUSED__, void *event)
if (e_util_binding_match(NULL, ev, NULL, NULL)) if (e_util_binding_match(NULL, ev, NULL, NULL))
{ {
e_util_dialog_show("Keybind Error", "The keybinding you have entered is already in use!"); e_util_dialog_show(_("Keybind Error"), _("The keybinding you have entered is already in use!"));
e_object_del(E_OBJECT(eg)); e_object_del(E_OBJECT(eg));
return ECORE_CALLBACK_RENEW; return ECORE_CALLBACK_RENEW;
} }