aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-16 04:08:07 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-16 04:08:07 +0800
commit1e95d209e75a03c8340726a8c088d4d6abfed752 (patch)
treef08221947611e3d42253526794b8c51c42af9cde /lib
parent984bb65c96c5f310313557eca924e9ba73adb8b9 (diff)
downloadgsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.gz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.bz2
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.lz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.xz
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.tar.zst
gsoc2013-epiphany-1e95d209e75a03c8340726a8c088d4d6abfed752.zip
Don't use <tt> in the strings. Fixes bug #163378.
2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
Diffstat (limited to 'lib')
-rw-r--r--lib/ephy-gui.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/ephy-gui.c b/lib/ephy-gui.c
index 344801b3d..655e8fb4f 100644
--- a/lib/ephy-gui.c
+++ b/lib/ephy-gui.c
@@ -199,24 +199,24 @@ ephy_gui_confirm_overwrite_file (GtkWidget *parent,
return TRUE;
}
- display_name = g_filename_display_name (filename);
+ display_name = g_filename_display_basename (filename);
dialog = gtk_message_dialog_new
(parent ? GTK_WINDOW (parent) : NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_WARNING,
+ GTK_MESSAGE_QUESTION,
GTK_BUTTONS_CANCEL,
- _("A file %s already exists."), display_name);
+ _("Overwrite \"%s\"?"), display_name);
gtk_message_dialog_format_secondary_text
(GTK_MESSAGE_DIALOG (dialog),
- _("If you choose to overwrite this file, "
- "the contents will be lost."));
+ _("A file with this name already exists. If you choose to "
+ "overwrite this file, the contents will be lost."));
gtk_dialog_add_button (GTK_DIALOG (dialog),
_("_Overwrite"), GTK_RESPONSE_ACCEPT);
- gtk_window_set_title (GTK_WINDOW (dialog), _("Overwrite File"));
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Overwrite File?"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);