error->code == MODEST_MAIL_OPERATION_ERROR_LOW_MEMORY) {
GObject *source = modest_mail_operation_get_source (mail_op);
modest_platform_run_information_dialog (GTK_IS_WINDOW (source) ? GTK_WINDOW (source) : NULL,
- dgettext("ke-recv","memr_ib_operation_disabled"),
+ _KR("memr_ib_operation_disabled"),
TRUE);
g_object_unref (source);
}
if (is_memory_full_error (err))
modest_platform_information_banner (parent_window,
- NULL, dgettext("ke-recv",
- "cerm_device_memory_full"));
+ NULL, _KR("cerm_device_memory_full"));
else if (err->code == TNY_SYSTEM_ERROR_MEMORY)
/* If the account was created in memory full
conditions then tinymail won't be able to
if (status != MODEST_MAIL_OPERATION_STATUS_CANCELED) {
if (is_memory_full_error ((GError *) error)) {
modest_platform_information_banner ((GtkWidget *) win,
- NULL, dgettext("ke-recv",
- "cerm_device_memory_full"));
+ NULL, _KR("cerm_device_memory_full"));
} else if (error->code == TNY_SYSTEM_ERROR_MEMORY) {
modest_platform_information_banner ((GtkWidget *) win,
NULL, _("emev_ui_imap_inbox_select_error"));
} else if (error->domain == MODEST_MAIL_OPERATION_ERROR &&
error->code == MODEST_MAIL_OPERATION_ERROR_FILE_IO) {
modest_platform_information_banner ((GtkWidget *) win,
- NULL, dgettext ("hildon-common-strings", "sfil_ni_unable_to_open_file_not_found"));
+ NULL, _CS ("sfil_ni_unable_to_open_file_not_found"));
} else if (user_data) {
modest_platform_information_banner ((GtkWidget *) win,
NULL, user_data);
if (error && error->domain == MODEST_MAIL_OPERATION_ERROR &&
error->code == MODEST_MAIL_OPERATION_ERROR_LOW_MEMORY) {
modest_platform_run_information_dialog (GTK_WINDOW (win),
- dgettext("ke-recv","memr_ib_operation_disabled"),
+ _KR("memr_ib_operation_disabled"),
TRUE);
return;
}
expected_size > available_disk) {
modest_platform_information_banner (NULL, NULL,
- dgettext("ke-recv",
- "cerm_device_memory_full"));
+ _KR("cerm_device_memory_full"));
return FALSE;
}
if (expected_size > MODEST_MAX_ATTACHMENT_SIZE) {
modest_platform_run_information_dialog (
GTK_WINDOW(edit_window),
- dgettext("ke-recv","memr_ib_operation_disabled"),
+ _KR("memr_ib_operation_disabled"),
TRUE);
return FALSE;
}
message = g_strdup_printf (_("emev_ib_ui_smtp_server_invalid"), server_name);
break;
case TNY_SERVICE_ERROR_SEND:
- message = g_strdup (dgettext("hildon-common-strings", "sfil_ib_unable_to_send"));
+ message = g_strdup (_CS("sfil_ib_unable_to_send"));
break;
case TNY_SERVICE_ERROR_UNAVAILABLE:
message = g_strdup_printf (_("emev_ib_ui_smtp_server_invalid"), server_name);
default:
g_warning ("%s: unexpected ERROR %d",
__FUNCTION__, err->code);
- message = g_strdup (dgettext("hildon-common-strings", "sfil_ib_unable_to_send"));
+ message = g_strdup (_CS("sfil_ib_unable_to_send"));
break;
}
!gtk_widget_is_focus (header_view) &&
!gtk_widget_is_focus (folder_view)) {
dimmed = TRUE;
- modest_dimming_rule_set_notification (rule, dgettext("hildon-common-strings", "ckct_ib_nothing_to_delete"));
+ modest_dimming_rule_set_notification (rule, _CS("ckct_ib_nothing_to_delete"));
}
#ifdef MODEST_TOOLKIT_HILDON2
dimmed = _clipboard_is_empty (win);
if (dimmed)
modest_dimming_rule_set_notification (rule,
- dgettext("hildon-common-strings",
- "ecoc_ib_edwin_nothing_to_paste"));
+ _CS("ecoc_ib_edwin_nothing_to_paste"));
if (!dimmed) {
dimmed = _selected_folder_is_any_of_type (win, types, 3);
if (dimmed)
modest_dimming_rule_set_notification (rule,
- dgettext("hildon-common-strings",
- "ckct_ib_unable_to_paste_here"));
+ _CS("ckct_ib_unable_to_paste_here"));
}
if (!dimmed) {
dimmed = !_folder_view_has_focus (win);
if (dimmed)
modest_dimming_rule_set_notification (rule,
- dgettext("hildon-common-strings",
- "ckct_ib_unable_to_paste_here"));
+ _CS("ckct_ib_unable_to_paste_here"));
}
if (!dimmed) {
dimmed = _selected_folder_not_writeable (MODEST_MAIN_WINDOW(win), TRUE);
if (dimmed)
modest_dimming_rule_set_notification (rule,
- dgettext("hildon-common-strings",
- "ckct_ib_unable_to_paste_here"));
+ _CS("ckct_ib_unable_to_paste_here"));
}
if (!dimmed) {
dimmed = _selected_folder_is_same_as_source (win);