diff --git a/po/de.po b/po/de.po index 222d9f2..eee6368 100644 --- a/po/de.po +++ b/po/de.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Editor 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-07 12:38+0100\n" +"POT-Creation-Date: 2011-12-07 12:50+0100\n" "PO-Revision-Date: 2010-04-07 22:05+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: German\n" @@ -160,86 +160,86 @@ msgstr "Pierre Pronchery " msgid "Could not save configuration" msgstr "" -#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:914 -#: ../src/editor.c:919 +#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:913 +#: ../src/editor.c:918 msgid "Question" msgstr "" -#: ../src/editor.c:471 ../src/editor.c:476 +#: ../src/editor.c:471 ../src/editor.c:475 msgid "Error" msgstr "Fehler" -#: ../src/editor.c:498 ../src/editor.c:751 +#: ../src/editor.c:497 ../src/editor.c:750 msgid "" "There are unsaved changes.\n" "Discard or save them?" msgstr "" -#: ../src/editor.c:561 +#: ../src/editor.c:560 msgid "Find text" msgstr "" -#: ../src/editor.c:572 +#: ../src/editor.c:571 msgid "Text:" msgstr "Text:" -#: ../src/editor.c:583 +#: ../src/editor.c:582 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:585 +#: ../src/editor.c:584 msgid "Wrap" msgstr "" -#: ../src/editor.c:628 +#: ../src/editor.c:627 msgid "Text not found" msgstr "" -#: ../src/editor.c:709 +#: ../src/editor.c:708 msgid "Insert file..." msgstr "" -#: ../src/editor.c:715 ../src/editor.c:828 +#: ../src/editor.c:714 ../src/editor.c:827 msgid "Text files" msgstr "" -#: ../src/editor.c:719 ../src/editor.c:832 +#: ../src/editor.c:718 ../src/editor.c:831 msgid "All files" msgstr "" -#: ../src/editor.c:757 +#: ../src/editor.c:756 msgid "Discard" msgstr "" -#: ../src/editor.c:822 +#: ../src/editor.c:821 msgid "Open file..." msgstr "Offnen..." -#: ../src/editor.c:890 +#: ../src/editor.c:889 msgid "Partial write" msgstr "" -#: ../src/editor.c:918 +#: ../src/editor.c:917 msgid "This file already exists. Overwrite?" msgstr "" -#: ../src/editor.c:927 +#: ../src/editor.c:926 msgid "Allocation error" msgstr "" -#: ../src/editor.c:942 +#: ../src/editor.c:941 msgid "Save as..." msgstr "" -#: ../src/editor.c:999 +#: ../src/editor.c:998 msgid "Text editor preferences" msgstr "Text Editor Einstellungen" -#: ../src/editor.c:1016 +#: ../src/editor.c:1015 msgid "Font:" msgstr "" -#: ../src/editor.c:1026 +#: ../src/editor.c:1025 msgid "Wrap mode:" msgstr "" diff --git a/po/es.po b/po/es.po index 01d8985..0b654b1 100644 --- a/po/es.po +++ b/po/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Editor 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-07 12:38+0100\n" +"POT-Creation-Date: 2011-12-07 12:50+0100\n" "PO-Revision-Date: 2010-04-07 22:07+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Spanish\n" @@ -160,86 +160,86 @@ msgstr "" msgid "Could not save configuration" msgstr "" -#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:914 -#: ../src/editor.c:919 +#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:913 +#: ../src/editor.c:918 msgid "Question" msgstr "" -#: ../src/editor.c:471 ../src/editor.c:476 +#: ../src/editor.c:471 ../src/editor.c:475 msgid "Error" msgstr "" -#: ../src/editor.c:498 ../src/editor.c:751 +#: ../src/editor.c:497 ../src/editor.c:750 msgid "" "There are unsaved changes.\n" "Discard or save them?" msgstr "" -#: ../src/editor.c:561 +#: ../src/editor.c:560 msgid "Find text" msgstr "" -#: ../src/editor.c:572 +#: ../src/editor.c:571 msgid "Text:" msgstr "" -#: ../src/editor.c:583 +#: ../src/editor.c:582 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:585 +#: ../src/editor.c:584 msgid "Wrap" msgstr "" -#: ../src/editor.c:628 +#: ../src/editor.c:627 msgid "Text not found" msgstr "" -#: ../src/editor.c:709 +#: ../src/editor.c:708 msgid "Insert file..." msgstr "" -#: ../src/editor.c:715 ../src/editor.c:828 +#: ../src/editor.c:714 ../src/editor.c:827 msgid "Text files" msgstr "" -#: ../src/editor.c:719 ../src/editor.c:832 +#: ../src/editor.c:718 ../src/editor.c:831 msgid "All files" msgstr "" -#: ../src/editor.c:757 +#: ../src/editor.c:756 msgid "Discard" msgstr "" -#: ../src/editor.c:822 +#: ../src/editor.c:821 msgid "Open file..." msgstr "" -#: ../src/editor.c:890 +#: ../src/editor.c:889 msgid "Partial write" msgstr "" -#: ../src/editor.c:918 +#: ../src/editor.c:917 msgid "This file already exists. Overwrite?" msgstr "" -#: ../src/editor.c:927 +#: ../src/editor.c:926 msgid "Allocation error" msgstr "" -#: ../src/editor.c:942 +#: ../src/editor.c:941 msgid "Save as..." msgstr "" -#: ../src/editor.c:999 +#: ../src/editor.c:998 msgid "Text editor preferences" msgstr "" -#: ../src/editor.c:1016 +#: ../src/editor.c:1015 msgid "Font:" msgstr "" -#: ../src/editor.c:1026 +#: ../src/editor.c:1025 msgid "Wrap mode:" msgstr "" diff --git a/po/fr.po b/po/fr.po index 56acd9e..4c4637e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Editor 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-07 12:38+0100\n" +"POT-Creation-Date: 2011-12-07 12:50+0100\n" "PO-Revision-Date: 2010-04-11 12:32+0200\n" "Last-Translator: Calimero \n" "Language-Team: French\n" @@ -162,16 +162,16 @@ msgstr "" msgid "Could not save configuration" msgstr "Erreur lors de la sauvegarde de la configuration" -#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:914 -#: ../src/editor.c:919 +#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:913 +#: ../src/editor.c:918 msgid "Question" msgstr "Question" -#: ../src/editor.c:471 ../src/editor.c:476 +#: ../src/editor.c:471 ../src/editor.c:475 msgid "Error" msgstr "Erreur" -#: ../src/editor.c:498 ../src/editor.c:751 +#: ../src/editor.c:497 ../src/editor.c:750 msgid "" "There are unsaved changes.\n" "Discard or save them?" @@ -179,71 +179,71 @@ msgstr "" "Il y a des changements non enregistrés.\n" "Abandonner ou enregistrer ?" -#: ../src/editor.c:561 +#: ../src/editor.c:560 msgid "Find text" msgstr "Rechercher" -#: ../src/editor.c:572 +#: ../src/editor.c:571 msgid "Text:" msgstr "Texte :" -#: ../src/editor.c:583 +#: ../src/editor.c:582 msgid "Case-sensitive" msgstr "Sensible à la casse" -#: ../src/editor.c:585 +#: ../src/editor.c:584 msgid "Wrap" msgstr "Boucler" -#: ../src/editor.c:628 +#: ../src/editor.c:627 msgid "Text not found" msgstr "Texte non trouvé" -#: ../src/editor.c:709 +#: ../src/editor.c:708 msgid "Insert file..." msgstr "Insérer un fichier..." -#: ../src/editor.c:715 ../src/editor.c:828 +#: ../src/editor.c:714 ../src/editor.c:827 msgid "Text files" msgstr "Fichiers texte" -#: ../src/editor.c:719 ../src/editor.c:832 +#: ../src/editor.c:718 ../src/editor.c:831 msgid "All files" msgstr "Tous les fichiers" -#: ../src/editor.c:757 +#: ../src/editor.c:756 msgid "Discard" msgstr "Annuler" -#: ../src/editor.c:822 +#: ../src/editor.c:821 msgid "Open file..." msgstr "Ouvrir un fichier..." -#: ../src/editor.c:890 +#: ../src/editor.c:889 msgid "Partial write" msgstr "Écriture partielle" -#: ../src/editor.c:918 +#: ../src/editor.c:917 msgid "This file already exists. Overwrite?" msgstr "Le fichier existe déjà. L'écraser ?" -#: ../src/editor.c:927 +#: ../src/editor.c:926 msgid "Allocation error" msgstr "Erreur d'allocation" -#: ../src/editor.c:942 +#: ../src/editor.c:941 msgid "Save as..." msgstr "Enregistrer sous..." -#: ../src/editor.c:999 +#: ../src/editor.c:998 msgid "Text editor preferences" msgstr "Préférences de l'éditeur de texte" -#: ../src/editor.c:1016 +#: ../src/editor.c:1015 msgid "Font:" msgstr "Police :" -#: ../src/editor.c:1026 +#: ../src/editor.c:1025 msgid "Wrap mode:" msgstr "Retour à la ligne :" diff --git a/po/it.po b/po/it.po index 3a86221..add7587 100644 --- a/po/it.po +++ b/po/it.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Editor 0.1.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2011-12-07 12:38+0100\n" +"POT-Creation-Date: 2011-12-07 12:50+0100\n" "PO-Revision-Date: 2010-04-09 16:43+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Italian\n" @@ -161,86 +161,86 @@ msgstr "" msgid "Could not save configuration" msgstr "" -#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:914 -#: ../src/editor.c:919 +#: ../src/editor.c:446 ../src/editor.c:455 ../src/editor.c:913 +#: ../src/editor.c:918 msgid "Question" msgstr "" -#: ../src/editor.c:471 ../src/editor.c:476 +#: ../src/editor.c:471 ../src/editor.c:475 msgid "Error" msgstr "" -#: ../src/editor.c:498 ../src/editor.c:751 +#: ../src/editor.c:497 ../src/editor.c:750 msgid "" "There are unsaved changes.\n" "Discard or save them?" msgstr "" -#: ../src/editor.c:561 +#: ../src/editor.c:560 msgid "Find text" msgstr "" -#: ../src/editor.c:572 +#: ../src/editor.c:571 msgid "Text:" msgstr "" -#: ../src/editor.c:583 +#: ../src/editor.c:582 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:585 +#: ../src/editor.c:584 msgid "Wrap" msgstr "" -#: ../src/editor.c:628 +#: ../src/editor.c:627 msgid "Text not found" msgstr "" -#: ../src/editor.c:709 +#: ../src/editor.c:708 msgid "Insert file..." msgstr "" -#: ../src/editor.c:715 ../src/editor.c:828 +#: ../src/editor.c:714 ../src/editor.c:827 msgid "Text files" msgstr "" -#: ../src/editor.c:719 ../src/editor.c:832 +#: ../src/editor.c:718 ../src/editor.c:831 msgid "All files" msgstr "" -#: ../src/editor.c:757 +#: ../src/editor.c:756 msgid "Discard" msgstr "" -#: ../src/editor.c:822 +#: ../src/editor.c:821 msgid "Open file..." msgstr "" -#: ../src/editor.c:890 +#: ../src/editor.c:889 msgid "Partial write" msgstr "" -#: ../src/editor.c:918 +#: ../src/editor.c:917 msgid "This file already exists. Overwrite?" msgstr "" -#: ../src/editor.c:927 +#: ../src/editor.c:926 msgid "Allocation error" msgstr "" -#: ../src/editor.c:942 +#: ../src/editor.c:941 msgid "Save as..." msgstr "" -#: ../src/editor.c:999 +#: ../src/editor.c:998 msgid "Text editor preferences" msgstr "" -#: ../src/editor.c:1016 +#: ../src/editor.c:1015 msgid "Font:" msgstr "" -#: ../src/editor.c:1026 +#: ../src/editor.c:1025 msgid "Wrap mode:" msgstr "" diff --git a/src/editor.c b/src/editor.c index 781cb13..012683f 100644 --- a/src/editor.c +++ b/src/editor.c @@ -465,14 +465,13 @@ int editor_error(Editor * editor, char const * message, int ret) GtkWidget * dialog; dialog = gtk_message_dialog_new(GTK_WINDOW(editor->window), - GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", + GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, #if GTK_CHECK_VERSION(2, 6, 0) - _("Error")); + "%s", _("Error")); gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), - "%s", #endif - message); + "%s", message); gtk_window_set_title(GTK_WINDOW(dialog), _("Error")); g_signal_connect(G_OBJECT(dialog), "response", G_CALLBACK( gtk_widget_destroy), NULL);