aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-cell-percent.c2
-rw-r--r--widgets/misc/e-dateedit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c
index f8336812b4..353721c59f 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -76,7 +76,7 @@ show_percent_warning (void)
dialog = gtk_message_dialog_new (
NULL, 0,
GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
- _("The percent value must be between 0 and 100, inclusive"));
+ "%s", _("The percent value must be between 0 and 100, inclusive"));
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
}
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c
index 206f1d7211..60aa752ceb 100644
--- a/widgets/misc/e-dateedit.c
+++ b/widgets/misc/e-dateedit.c
@@ -1638,7 +1638,7 @@ on_date_entry_focus_out (GtkEntry *entry,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK,
- _("Invalid Date Value"));
+ "%s", _("Invalid Date Value"));
gtk_dialog_run (GTK_DIALOG(msg_dialog));
gtk_widget_destroy (msg_dialog);
e_date_edit_get_date (dedit,&tmp_tm.tm_year,&tmp_tm.tm_mon,&tmp_tm.tm_mday);
@@ -1664,7 +1664,7 @@ on_time_entry_focus_out (GtkEntry *entry,
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_OK,
- _("Invalid Time Value"));
+ "%s", _("Invalid Time Value"));
gtk_dialog_run (GTK_DIALOG(msg_dialog));
gtk_widget_destroy (msg_dialog);
e_date_edit_set_time (dedit,e_date_edit_get_time(dedit));