[hitori] Fix formatting of error dialogue messages
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hitori] Fix formatting of error dialogue messages
- Date: Thu, 28 Oct 2010 15:29:49 +0000 (UTC)
commit 230be4a3dcb7713f59862dbf20c8cccd5fa252ef
Author: Philip Withnall <philip tecnocode co uk>
Date: Thu Oct 28 16:23:46 2010 +0100
Fix formatting of error dialogue messages
src/interface.c | 4 ++--
src/main.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/interface.c b/src/interface.c
index 97fd9c6..e4cc7b2 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -61,7 +61,7 @@ hitori_create_interface (Hitori *hitori)
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- _("UI file \"%s/hitori/hitori.ui\" could not be loaded."), PACKAGE_DATA_DIR);
+ _("UI file \"%s/hitori/hitori.ui\" could not be loaded"), PACKAGE_DATA_DIR);
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
@@ -511,7 +511,7 @@ hitori_contents_cb (GtkAction *action, Hitori *hitori)
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- _("The help contents could not be displayed."));
+ _("The help contents could not be displayed"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
diff --git a/src/main.c b/src/main.c
index fee4392..70c1de2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -207,7 +207,7 @@ main (int argc, char *argv[])
GTK_DIALOG_MODAL,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_OK,
- _("Command-line options could not be parsed."));
+ _("Command-line options could not be parsed"));
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", error->message);
gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]