From 1e95d209e75a03c8340726a8c088d4d6abfed752 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 15 Jan 2005 20:08:07 +0000 Subject: Don't use in the strings. Fixes bug #163378. 2005-01-15 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use 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. --- lib/ephy-gui.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib') 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); -- cgit v1.2.3