From 15eaff165f92b4cd0f276da27f9def9ca1a6bb06 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 14 May 2011 19:25:42 +0000 Subject: [PATCH] Code cleanup --- po/de.po | 12 ++++++------ po/es.po | 12 ++++++------ po/fr.po | 12 ++++++------ po/it.po | 12 ++++++------ src/surfer.c | 7 +++---- 5 files changed, 27 insertions(+), 28 deletions(-) diff --git a/po/de.po b/po/de.po index 5c6e5b6..a68197e 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Surfer 0.1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-14 20:54+0200\n" +"POT-Creation-Date: 2011-05-14 21:20+0200\n" "PO-Revision-Date: 2010-04-01 19:40+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: German\n" @@ -353,7 +353,7 @@ msgstr "Web surfer" msgid " Location: " msgstr "" -#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1785 +#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1784 msgid "Security information" msgstr "" @@ -489,15 +489,15 @@ msgstr "" msgid "This connection is not encrypted." msgstr "" -#: ../src/surfer.c:1829 +#: ../src/surfer.c:1828 msgid "Web surfer - Source of " msgstr "Web surfer - Quellcode von " -#: ../src/surfer.c:1871 ../src/surfer.c:1874 ../src/surfer.c:1929 -#: ../src/surfer.c:1934 +#: ../src/surfer.c:1870 ../src/surfer.c:1873 ../src/surfer.c:1928 +#: ../src/surfer.c:1933 msgid "Warning" msgstr "Achtung" -#: ../src/surfer.c:1933 +#: ../src/surfer.c:1932 msgid "This file already exists. Overwrite?" msgstr "" diff --git a/po/es.po b/po/es.po index cffbffb..cca6ffd 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Surfer 0.1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-14 20:54+0200\n" +"POT-Creation-Date: 2011-05-14 21:20+0200\n" "PO-Revision-Date: 2010-04-01 19:40+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Spanish\n" @@ -353,7 +353,7 @@ msgstr "Web surfer" msgid " Location: " msgstr "" -#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1785 +#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1784 msgid "Security information" msgstr "" @@ -489,15 +489,15 @@ msgstr "" msgid "This connection is not encrypted." msgstr "" -#: ../src/surfer.c:1829 +#: ../src/surfer.c:1828 msgid "Web surfer - Source of " msgstr "" -#: ../src/surfer.c:1871 ../src/surfer.c:1874 ../src/surfer.c:1929 -#: ../src/surfer.c:1934 +#: ../src/surfer.c:1870 ../src/surfer.c:1873 ../src/surfer.c:1928 +#: ../src/surfer.c:1933 msgid "Warning" msgstr "" -#: ../src/surfer.c:1933 +#: ../src/surfer.c:1932 msgid "This file already exists. Overwrite?" msgstr "" diff --git a/po/fr.po b/po/fr.po index 30ebbd3..a8208c2 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Surfer 0.1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-14 20:54+0200\n" +"POT-Creation-Date: 2011-05-14 21:20+0200\n" "PO-Revision-Date: 2010-04-01 19:40+0200\n" "Last-Translator: Calimero \n" "Language-Team: French\n" @@ -358,7 +358,7 @@ msgstr "Web surfer" msgid " Location: " msgstr " Adresse: " -#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1785 +#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1784 msgid "Security information" msgstr "Informations de sécurité" @@ -494,15 +494,15 @@ msgstr "Cette connexion est chiffrée mais pas de confiance." msgid "This connection is not encrypted." msgstr "Cette connexion n'est pas chiffrée." -#: ../src/surfer.c:1829 +#: ../src/surfer.c:1828 msgid "Web surfer - Source of " msgstr "Web surfer - Source de " -#: ../src/surfer.c:1871 ../src/surfer.c:1874 ../src/surfer.c:1929 -#: ../src/surfer.c:1934 +#: ../src/surfer.c:1870 ../src/surfer.c:1873 ../src/surfer.c:1928 +#: ../src/surfer.c:1933 msgid "Warning" msgstr "Avertissement" -#: ../src/surfer.c:1933 +#: ../src/surfer.c:1932 msgid "This file already exists. Overwrite?" msgstr "Le fichier existe déjà. L'écraser ?" diff --git a/po/it.po b/po/it.po index 8f2b733..ecc5aa1 100644 --- a/po/it.po +++ b/po/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Surfer 0.1.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-05-14 20:54+0200\n" +"POT-Creation-Date: 2011-05-14 21:20+0200\n" "PO-Revision-Date: 2010-04-11 12:06+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Italian\n" @@ -353,7 +353,7 @@ msgstr "" msgid " Location: " msgstr "" -#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1785 +#: ../src/surfer.c:396 ../src/surfer.c:1780 ../src/surfer.c:1784 msgid "Security information" msgstr "" @@ -489,15 +489,15 @@ msgstr "" msgid "This connection is not encrypted." msgstr "" -#: ../src/surfer.c:1829 +#: ../src/surfer.c:1828 msgid "Web surfer - Source of " msgstr "" -#: ../src/surfer.c:1871 ../src/surfer.c:1874 ../src/surfer.c:1929 -#: ../src/surfer.c:1934 +#: ../src/surfer.c:1870 ../src/surfer.c:1873 ../src/surfer.c:1928 +#: ../src/surfer.c:1933 msgid "Warning" msgstr "" -#: ../src/surfer.c:1933 +#: ../src/surfer.c:1932 msgid "This file already exists. Overwrite?" msgstr "" diff --git a/src/surfer.c b/src/surfer.c index 53407e8..23b26b8 100644 --- a/src/surfer.c +++ b/src/surfer.c @@ -1775,13 +1775,12 @@ void surfer_view_security(Surfer * surfer) } dialog = gtk_message_dialog_new(GTK_WINDOW(surfer->window), GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", + GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, #if GTK_CHECK_VERSION(2, 8, 0) - _("Security information")); + "%s", _("Security information")); gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), - "%s", #endif - text); + "%s", text); gtk_window_set_title(GTK_WINDOW(dialog), _("Security information")); gtk_dialog_run(GTK_DIALOG(dialog)); gtk_widget_destroy(dialog);