diff --git a/po/de.po b/po/de.po index e102777..444a73d 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: 2010-04-19 01:26+0200\n" +"POT-Creation-Date: 2010-10-03 23:25+0200\n" "PO-Revision-Date: 2010-04-07 22:05+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: German\n" @@ -48,160 +48,168 @@ msgstr "" msgid "License" msgstr "" -#: ../src/editor.c:50 +#: ../src/editor.c:51 msgid "_New" msgstr "" -#: ../src/editor.c:51 +#: ../src/editor.c:53 msgid "_Open" msgstr "" -#: ../src/editor.c:53 +#: ../src/editor.c:56 msgid "_Save" msgstr "" -#: ../src/editor.c:54 +#: ../src/editor.c:58 msgid "_Save as..." msgstr "" -#: ../src/editor.c:57 +#: ../src/editor.c:61 msgid "_Close" msgstr "" -#: ../src/editor.c:63 +#: ../src/editor.c:68 msgid "_Undo" msgstr "" -#: ../src/editor.c:64 +#: ../src/editor.c:70 msgid "_Redo" msgstr "" -#: ../src/editor.c:66 +#: ../src/editor.c:72 msgid "_Cut" msgstr "" -#: ../src/editor.c:67 +#: ../src/editor.c:73 msgid "_Copy" msgstr "" -#: ../src/editor.c:68 +#: ../src/editor.c:74 msgid "_Paste" msgstr "" -#: ../src/editor.c:70 +#: ../src/editor.c:76 +msgid "_Select all" +msgstr "" + +#: ../src/editor.c:83 +msgid "_Unselect all" +msgstr "" + +#: ../src/editor.c:85 msgid "_Find" msgstr "" -#: ../src/editor.c:72 +#: ../src/editor.c:88 msgid "_Preferences" msgstr "" -#: ../src/editor.c:80 ../src/editor.c:82 +#: ../src/editor.c:96 ../src/editor.c:98 msgid "_About" msgstr "" -#: ../src/editor.c:89 +#: ../src/editor.c:105 msgid "_File" msgstr "" -#: ../src/editor.c:90 +#: ../src/editor.c:106 msgid "_Edit" msgstr "" -#: ../src/editor.c:91 +#: ../src/editor.c:107 msgid "_Help" msgstr "" -#: ../src/editor.c:98 +#: ../src/editor.c:114 msgid "New" msgstr "" -#: ../src/editor.c:99 +#: ../src/editor.c:115 msgid "Open" msgstr "" -#: ../src/editor.c:101 +#: ../src/editor.c:117 msgid "Save" msgstr "" -#: ../src/editor.c:102 +#: ../src/editor.c:118 msgid "Save as" msgstr "" -#: ../src/editor.c:105 +#: ../src/editor.c:122 msgid "Preferences" msgstr "" -#: ../src/editor.c:195 +#: ../src/editor.c:210 msgid "Text editor - " msgstr "" -#: ../src/editor.c:196 +#: ../src/editor.c:211 msgid "(Untitled)" msgstr "" -#: ../src/editor.c:233 ../src/editor.c:238 +#: ../src/editor.c:248 ../src/editor.c:253 msgid "Error" msgstr "" -#: ../src/editor.c:265 ../src/editor.c:274 ../src/editor.c:384 -#: ../src/editor.c:398 ../src/editor.c:528 ../src/editor.c:533 +#: ../src/editor.c:280 ../src/editor.c:289 ../src/editor.c:399 +#: ../src/editor.c:413 ../src/editor.c:543 ../src/editor.c:548 msgid "Warning" msgstr "" -#: ../src/editor.c:269 +#: ../src/editor.c:284 msgid "" "There are unsaved changes.\n" "Are you sure you want to close?" msgstr "" -#: ../src/editor.c:304 +#: ../src/editor.c:319 msgid "Find text" msgstr "" -#: ../src/editor.c:311 +#: ../src/editor.c:326 msgid "Text:" msgstr "" -#: ../src/editor.c:318 +#: ../src/editor.c:333 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:320 +#: ../src/editor.c:335 msgid "Wrap" msgstr "" -#: ../src/editor.c:343 +#: ../src/editor.c:358 msgid "Text not found" msgstr "" -#: ../src/editor.c:388 +#: ../src/editor.c:403 msgid "" "There are unsaved changes.\n" "Are you sure you want to discard them?" msgstr "" -#: ../src/editor.c:395 +#: ../src/editor.c:410 msgid "Discard" msgstr "" -#: ../src/editor.c:454 +#: ../src/editor.c:469 msgid "Open file..." msgstr "" -#: ../src/editor.c:504 +#: ../src/editor.c:519 msgid "Partial write" msgstr "" -#: ../src/editor.c:532 +#: ../src/editor.c:547 msgid "File exists. Overwrite?" msgstr "" -#: ../src/editor.c:541 +#: ../src/editor.c:556 msgid "Allocation error" msgstr "" -#: ../src/editor.c:556 +#: ../src/editor.c:571 msgid "Save as..." msgstr "" diff --git a/po/es.po b/po/es.po index 0d1100b..92f9551 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: 2010-04-19 01:26+0200\n" +"POT-Creation-Date: 2010-10-03 23:25+0200\n" "PO-Revision-Date: 2010-04-07 22:07+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Spanish\n" @@ -48,160 +48,168 @@ msgstr "" msgid "License" msgstr "" -#: ../src/editor.c:50 +#: ../src/editor.c:51 msgid "_New" msgstr "" -#: ../src/editor.c:51 +#: ../src/editor.c:53 msgid "_Open" msgstr "" -#: ../src/editor.c:53 +#: ../src/editor.c:56 msgid "_Save" msgstr "" -#: ../src/editor.c:54 +#: ../src/editor.c:58 msgid "_Save as..." msgstr "" -#: ../src/editor.c:57 +#: ../src/editor.c:61 msgid "_Close" msgstr "" -#: ../src/editor.c:63 +#: ../src/editor.c:68 msgid "_Undo" msgstr "" -#: ../src/editor.c:64 +#: ../src/editor.c:70 msgid "_Redo" msgstr "" -#: ../src/editor.c:66 +#: ../src/editor.c:72 msgid "_Cut" msgstr "" -#: ../src/editor.c:67 +#: ../src/editor.c:73 msgid "_Copy" msgstr "" -#: ../src/editor.c:68 +#: ../src/editor.c:74 msgid "_Paste" msgstr "" -#: ../src/editor.c:70 +#: ../src/editor.c:76 +msgid "_Select all" +msgstr "" + +#: ../src/editor.c:83 +msgid "_Unselect all" +msgstr "" + +#: ../src/editor.c:85 msgid "_Find" msgstr "" -#: ../src/editor.c:72 +#: ../src/editor.c:88 msgid "_Preferences" msgstr "" -#: ../src/editor.c:80 ../src/editor.c:82 +#: ../src/editor.c:96 ../src/editor.c:98 msgid "_About" msgstr "" -#: ../src/editor.c:89 +#: ../src/editor.c:105 msgid "_File" msgstr "" -#: ../src/editor.c:90 +#: ../src/editor.c:106 msgid "_Edit" msgstr "" -#: ../src/editor.c:91 +#: ../src/editor.c:107 msgid "_Help" msgstr "" -#: ../src/editor.c:98 +#: ../src/editor.c:114 msgid "New" msgstr "" -#: ../src/editor.c:99 +#: ../src/editor.c:115 msgid "Open" msgstr "" -#: ../src/editor.c:101 +#: ../src/editor.c:117 msgid "Save" msgstr "" -#: ../src/editor.c:102 +#: ../src/editor.c:118 msgid "Save as" msgstr "" -#: ../src/editor.c:105 +#: ../src/editor.c:122 msgid "Preferences" msgstr "" -#: ../src/editor.c:195 +#: ../src/editor.c:210 msgid "Text editor - " msgstr "" -#: ../src/editor.c:196 +#: ../src/editor.c:211 msgid "(Untitled)" msgstr "" -#: ../src/editor.c:233 ../src/editor.c:238 +#: ../src/editor.c:248 ../src/editor.c:253 msgid "Error" msgstr "" -#: ../src/editor.c:265 ../src/editor.c:274 ../src/editor.c:384 -#: ../src/editor.c:398 ../src/editor.c:528 ../src/editor.c:533 +#: ../src/editor.c:280 ../src/editor.c:289 ../src/editor.c:399 +#: ../src/editor.c:413 ../src/editor.c:543 ../src/editor.c:548 msgid "Warning" msgstr "" -#: ../src/editor.c:269 +#: ../src/editor.c:284 msgid "" "There are unsaved changes.\n" "Are you sure you want to close?" msgstr "" -#: ../src/editor.c:304 +#: ../src/editor.c:319 msgid "Find text" msgstr "" -#: ../src/editor.c:311 +#: ../src/editor.c:326 msgid "Text:" msgstr "" -#: ../src/editor.c:318 +#: ../src/editor.c:333 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:320 +#: ../src/editor.c:335 msgid "Wrap" msgstr "" -#: ../src/editor.c:343 +#: ../src/editor.c:358 msgid "Text not found" msgstr "" -#: ../src/editor.c:388 +#: ../src/editor.c:403 msgid "" "There are unsaved changes.\n" "Are you sure you want to discard them?" msgstr "" -#: ../src/editor.c:395 +#: ../src/editor.c:410 msgid "Discard" msgstr "" -#: ../src/editor.c:454 +#: ../src/editor.c:469 msgid "Open file..." msgstr "" -#: ../src/editor.c:504 +#: ../src/editor.c:519 msgid "Partial write" msgstr "" -#: ../src/editor.c:532 +#: ../src/editor.c:547 msgid "File exists. Overwrite?" msgstr "" -#: ../src/editor.c:541 +#: ../src/editor.c:556 msgid "Allocation error" msgstr "" -#: ../src/editor.c:556 +#: ../src/editor.c:571 msgid "Save as..." msgstr "" diff --git a/po/fr.po b/po/fr.po index a2a518c..5d5e909 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: 2010-04-19 01:26+0200\n" +"POT-Creation-Date: 2010-10-03 23:25+0200\n" "PO-Revision-Date: 2010-04-11 12:32+0200\n" "Last-Translator: Calimero \n" "Language-Team: French\n" @@ -48,108 +48,116 @@ msgstr "Écrit par" msgid "License" msgstr "Licence" -#: ../src/editor.c:50 +#: ../src/editor.c:51 msgid "_New" msgstr "_Nouveau" -#: ../src/editor.c:51 +#: ../src/editor.c:53 msgid "_Open" msgstr "_Ouvrir" -#: ../src/editor.c:53 +#: ../src/editor.c:56 msgid "_Save" msgstr "_Enregistrer" -#: ../src/editor.c:54 +#: ../src/editor.c:58 msgid "_Save as..." msgstr "_Enregistrer sous..." -#: ../src/editor.c:57 +#: ../src/editor.c:61 msgid "_Close" msgstr "_Fermer" -#: ../src/editor.c:63 +#: ../src/editor.c:68 msgid "_Undo" msgstr "_Annuler" -#: ../src/editor.c:64 +#: ../src/editor.c:70 msgid "_Redo" msgstr "_Rétablir" -#: ../src/editor.c:66 +#: ../src/editor.c:72 msgid "_Cut" msgstr "Co_uper" -#: ../src/editor.c:67 +#: ../src/editor.c:73 msgid "_Copy" msgstr "_Copier" -#: ../src/editor.c:68 +#: ../src/editor.c:74 msgid "_Paste" msgstr "C_oller" -#: ../src/editor.c:70 +#: ../src/editor.c:76 +msgid "_Select all" +msgstr "" + +#: ../src/editor.c:83 +msgid "_Unselect all" +msgstr "" + +#: ../src/editor.c:85 msgid "_Find" msgstr "_Rechercher" -#: ../src/editor.c:72 +#: ../src/editor.c:88 msgid "_Preferences" msgstr "_Préférences" -#: ../src/editor.c:80 ../src/editor.c:82 +#: ../src/editor.c:96 ../src/editor.c:98 msgid "_About" msgstr "À _propos" -#: ../src/editor.c:89 +#: ../src/editor.c:105 msgid "_File" msgstr "_Fichier" -#: ../src/editor.c:90 +#: ../src/editor.c:106 msgid "_Edit" msgstr "É_dition" -#: ../src/editor.c:91 +#: ../src/editor.c:107 msgid "_Help" msgstr "_Aide" -#: ../src/editor.c:98 +#: ../src/editor.c:114 msgid "New" msgstr "Nouveau" -#: ../src/editor.c:99 +#: ../src/editor.c:115 msgid "Open" msgstr "Ouvrir" -#: ../src/editor.c:101 +#: ../src/editor.c:117 msgid "Save" msgstr "Enregistrer" -#: ../src/editor.c:102 +#: ../src/editor.c:118 msgid "Save as" msgstr "Enregistrer sous" -#: ../src/editor.c:105 +#: ../src/editor.c:122 msgid "Preferences" msgstr "Préférences" -#: ../src/editor.c:195 +#: ../src/editor.c:210 msgid "Text editor - " msgstr "Éditeur de texte - " -#: ../src/editor.c:196 +#: ../src/editor.c:211 msgid "(Untitled)" msgstr "(Sans titre)" -#: ../src/editor.c:233 ../src/editor.c:238 +#: ../src/editor.c:248 ../src/editor.c:253 msgid "Error" msgstr "Erreur" -#: ../src/editor.c:265 ../src/editor.c:274 ../src/editor.c:384 -#: ../src/editor.c:398 ../src/editor.c:528 ../src/editor.c:533 +#: ../src/editor.c:280 ../src/editor.c:289 ../src/editor.c:399 +#: ../src/editor.c:413 ../src/editor.c:543 ../src/editor.c:548 msgid "Warning" msgstr "Avertissement" -#: ../src/editor.c:269 +#: ../src/editor.c:284 msgid "" "There are unsaved changes.\n" "Are you sure you want to close?" @@ -157,27 +165,27 @@ msgstr "" "Il y a des modifications non enregistrées.\n" "Voulez-vous fermer tout de même ?" -#: ../src/editor.c:304 +#: ../src/editor.c:319 msgid "Find text" msgstr "Rechercher" -#: ../src/editor.c:311 +#: ../src/editor.c:326 msgid "Text:" msgstr "Texte :" -#: ../src/editor.c:318 +#: ../src/editor.c:333 msgid "Case-sensitive" msgstr "Sensible à la casse" -#: ../src/editor.c:320 +#: ../src/editor.c:335 msgid "Wrap" msgstr "Boucler" -#: ../src/editor.c:343 +#: ../src/editor.c:358 msgid "Text not found" msgstr "Texte non trouvé" -#: ../src/editor.c:388 +#: ../src/editor.c:403 msgid "" "There are unsaved changes.\n" "Are you sure you want to discard them?" @@ -185,27 +193,27 @@ msgstr "" "Il y a des changements non enregistrés.\n" "Êtes-vous sûr de vouloir les annuler ?" -#: ../src/editor.c:395 +#: ../src/editor.c:410 msgid "Discard" msgstr "Annuler" -#: ../src/editor.c:454 +#: ../src/editor.c:469 msgid "Open file..." msgstr "Ouvrir un fichier..." -#: ../src/editor.c:504 +#: ../src/editor.c:519 msgid "Partial write" msgstr "Écriture partielle" -#: ../src/editor.c:532 +#: ../src/editor.c:547 msgid "File exists. Overwrite?" msgstr "Le fichier existe. L'écraser ?" -#: ../src/editor.c:541 +#: ../src/editor.c:556 msgid "Allocation error" msgstr "Erreur d'allocation" -#: ../src/editor.c:556 +#: ../src/editor.c:571 msgid "Save as..." msgstr "Enregistrer sous..." diff --git a/po/it.po b/po/it.po index 5af40e1..57b86a3 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: 2010-04-19 01:26+0200\n" +"POT-Creation-Date: 2010-10-03 23:25+0200\n" "PO-Revision-Date: 2010-04-09 16:43+0200\n" "Last-Translator: Pierre Pronchery \n" "Language-Team: Italian\n" @@ -49,160 +49,168 @@ msgstr "" msgid "License" msgstr "" -#: ../src/editor.c:50 +#: ../src/editor.c:51 msgid "_New" msgstr "" -#: ../src/editor.c:51 +#: ../src/editor.c:53 msgid "_Open" msgstr "" -#: ../src/editor.c:53 +#: ../src/editor.c:56 msgid "_Save" msgstr "" -#: ../src/editor.c:54 +#: ../src/editor.c:58 msgid "_Save as..." msgstr "" -#: ../src/editor.c:57 +#: ../src/editor.c:61 msgid "_Close" msgstr "" -#: ../src/editor.c:63 +#: ../src/editor.c:68 msgid "_Undo" msgstr "" -#: ../src/editor.c:64 +#: ../src/editor.c:70 msgid "_Redo" msgstr "" -#: ../src/editor.c:66 +#: ../src/editor.c:72 msgid "_Cut" msgstr "" -#: ../src/editor.c:67 +#: ../src/editor.c:73 msgid "_Copy" msgstr "" -#: ../src/editor.c:68 +#: ../src/editor.c:74 msgid "_Paste" msgstr "" -#: ../src/editor.c:70 +#: ../src/editor.c:76 +msgid "_Select all" +msgstr "" + +#: ../src/editor.c:83 +msgid "_Unselect all" +msgstr "" + +#: ../src/editor.c:85 msgid "_Find" msgstr "" -#: ../src/editor.c:72 +#: ../src/editor.c:88 msgid "_Preferences" msgstr "" -#: ../src/editor.c:80 ../src/editor.c:82 +#: ../src/editor.c:96 ../src/editor.c:98 msgid "_About" msgstr "" -#: ../src/editor.c:89 +#: ../src/editor.c:105 msgid "_File" msgstr "" -#: ../src/editor.c:90 +#: ../src/editor.c:106 msgid "_Edit" msgstr "" -#: ../src/editor.c:91 +#: ../src/editor.c:107 msgid "_Help" msgstr "" -#: ../src/editor.c:98 +#: ../src/editor.c:114 msgid "New" msgstr "" -#: ../src/editor.c:99 +#: ../src/editor.c:115 msgid "Open" msgstr "" -#: ../src/editor.c:101 +#: ../src/editor.c:117 msgid "Save" msgstr "" -#: ../src/editor.c:102 +#: ../src/editor.c:118 msgid "Save as" msgstr "" -#: ../src/editor.c:105 +#: ../src/editor.c:122 msgid "Preferences" msgstr "" -#: ../src/editor.c:195 +#: ../src/editor.c:210 msgid "Text editor - " msgstr "" -#: ../src/editor.c:196 +#: ../src/editor.c:211 msgid "(Untitled)" msgstr "" -#: ../src/editor.c:233 ../src/editor.c:238 +#: ../src/editor.c:248 ../src/editor.c:253 msgid "Error" msgstr "" -#: ../src/editor.c:265 ../src/editor.c:274 ../src/editor.c:384 -#: ../src/editor.c:398 ../src/editor.c:528 ../src/editor.c:533 +#: ../src/editor.c:280 ../src/editor.c:289 ../src/editor.c:399 +#: ../src/editor.c:413 ../src/editor.c:543 ../src/editor.c:548 msgid "Warning" msgstr "" -#: ../src/editor.c:269 +#: ../src/editor.c:284 msgid "" "There are unsaved changes.\n" "Are you sure you want to close?" msgstr "" -#: ../src/editor.c:304 +#: ../src/editor.c:319 msgid "Find text" msgstr "" -#: ../src/editor.c:311 +#: ../src/editor.c:326 msgid "Text:" msgstr "" -#: ../src/editor.c:318 +#: ../src/editor.c:333 msgid "Case-sensitive" msgstr "" -#: ../src/editor.c:320 +#: ../src/editor.c:335 msgid "Wrap" msgstr "" -#: ../src/editor.c:343 +#: ../src/editor.c:358 msgid "Text not found" msgstr "" -#: ../src/editor.c:388 +#: ../src/editor.c:403 msgid "" "There are unsaved changes.\n" "Are you sure you want to discard them?" msgstr "" -#: ../src/editor.c:395 +#: ../src/editor.c:410 msgid "Discard" msgstr "" -#: ../src/editor.c:454 +#: ../src/editor.c:469 msgid "Open file..." msgstr "" -#: ../src/editor.c:504 +#: ../src/editor.c:519 msgid "Partial write" msgstr "" -#: ../src/editor.c:532 +#: ../src/editor.c:547 msgid "File exists. Overwrite?" msgstr "" -#: ../src/editor.c:541 +#: ../src/editor.c:556 msgid "Allocation error" msgstr "" -#: ../src/editor.c:556 +#: ../src/editor.c:571 msgid "Save as..." msgstr "" diff --git a/src/editor.c b/src/editor.c index e68ea12..39ed528 100644 --- a/src/editor.c +++ b/src/editor.c @@ -73,6 +73,15 @@ static DesktopMenu _editor_menu_edit[] = { N_("_Copy"), NULL, GTK_STOCK_COPY, 0, 0 }, /* FIXME implement */ { N_("_Paste"), NULL, GTK_STOCK_PASTE, 0, 0 }, /* FIXME implement */ { "", NULL, NULL, 0, 0 }, + { N_("_Select all"), NULL, /* FIXME implement */ +#if GTK_CHECK_VERSION(2, 10, 0) + GTK_STOCK_SELECT_ALL, +#else + "edit-select-all", +#endif + GDK_CONTROL_MASK, GDK_A }, + { N_("_Unselect all"), NULL, NULL, 0, 0 }, /* FIXME implement */ + { "", NULL, NULL, 0, 0 }, { N_("_Find"), G_CALLBACK(on_edit_find), GTK_STOCK_FIND, GDK_CONTROL_MASK, GDK_F }, { "", NULL, NULL, 0, 0 },