Revision: 1267
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1267&view=rev
Author: colombanw
Date: 2010-04-21 14:02:28 +0000 (Wed, 21 Apr 2010)
Log Message:
-----------
GeanyGenDoc: Update French translation
Modified Paths:
--------------
trunk/geanygendoc/po/fr.po
Modified: trunk/geanygendoc/po/fr.po
===================================================================
--- trunk/geanygendoc/po/fr.po 2010-04-21 14:01:59 UTC (rev 1266)
+++ trunk/geanygendoc/po/fr.po 2010-04-21 14:02:28 UTC (rev 1267)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: geanygendoc 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-04-16 01:06+0200\n"
+"POT-Creation-Date: 2010-04-21 15:38+0200\n"
"PO-Revision-Date: 2010-04-16 00:38+0200\n"
"Last-Translator: Colomban Wendling <ban(a)herbesfolles.org>\n"
"Language-Team: French\n"
@@ -17,12 +17,12 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: src/ggd.c:63
+#: src/ggd.c:64
#, c-format
msgid "Failed to resize memory output stream"
msgstr "Impossible de redimensionner le flux de sortie mémoire"
-#: src/ggd.c:89
+#: src/ggd.c:92
#, c-format
msgid ""
"Argument parsing regular expression did not match (argument list was: \"%s\")"
@@ -30,17 +30,17 @@
"L'expression régulière d'analyse des arguments n'a pas correspondu (la liste "
"d'arguments était : « %s »)"
-#: src/ggd.c:220
+#: src/ggd.c:223
#, c-format
msgid "Failed to build comment: %s"
msgstr "Impossible de construire le commentaire : %s"
-#: src/ggd.c:370
+#: src/ggd.c:374
#, c-format
msgid "No valid tag for line %d"
msgstr "Pas de tag valide pour la ligne %d"
-#: src/ggd.c:380
+#: src/ggd.c:384 src/ggd.c:424
#, c-format
msgid "No documentation type \"%s\" for language \"%s\""
msgstr "Pas de type de documentation « %s » pour le langage « %s »"
@@ -205,57 +205,67 @@
msgstr ""
"Erreur lors de la récupération de l'entrée de fichier de clé %s::%s : %s"
-#: src/ggd-plugin.c:55
+#: src/ggd-plugin.c:52
msgid "Generates documentation comments basis from source code"
msgstr ""
"Génères des bases de commentaires de documentation depuis le code source"
-#: src/ggd-plugin.c:139
+#: src/ggd-plugin.c:150
#, c-format
msgid "Failed to load configuration: %s"
msgstr "Impossible de charger la configuration : %s"
-#: src/ggd-plugin.c:160
+#: src/ggd-plugin.c:171
#, c-format
msgid "Failed to save configuration: %s"
msgstr "Impossible d'enregistrer la configuration : %s"
-#: src/ggd-plugin.c:213 src/ggd-plugin.c:224
+#: src/ggd-plugin.c:224 src/ggd-plugin.c:235
msgid "Insert documentation comment"
msgstr "Insérer un commentaire de documentation"
-#: src/ggd-plugin.c:256
+#: src/ggd-plugin.c:267
#, c-format
msgid "Failed to find configuration file for file type \"%s\": %s"
msgstr ""
"Impossible de trouver le fichier de configuration pour le type de fichier « %"
"s » : %s"
+#. build "document current symbol" item
+#: src/ggd-plugin.c:297
+msgid "_Document current symbol"
+msgstr "_Documenter le symbole courant"
+
+#. build "document all" item
+#: src/ggd-plugin.c:301
+msgid "Document _all symbols"
+msgstr "Documenter _tous les symboles"
+
#. build "reload" item
-#: src/ggd-plugin.c:286
+#: src/ggd-plugin.c:308
msgid "_Reload configuration files"
msgstr "_Recharger les fichiers de configuration"
#. language filetypes opener
-#: src/ggd-plugin.c:294
+#: src/ggd-plugin.c:316
msgid "_Edit current language configuration"
msgstr "Édit_er la configuration du langage courant"
#. build tools menu item
-#: src/ggd-plugin.c:299
+#: src/ggd-plugin.c:321
msgid "_Documentation generator"
msgstr "Générateur de _documentation"
-#: src/ggd-plugin.c:371
+#: src/ggd-plugin.c:394
msgid "Documentation _type:"
msgstr "_Type de documentation :"
#. auto-save
-#: src/ggd-plugin.c:378
+#: src/ggd-plugin.c:401
msgid "_Save file before generating comment"
msgstr "_Enregistrer le fichier avant de générer le commentaire"
-#: src/ggd-plugin.c:380
+#: src/ggd-plugin.c:403
msgid ""
"Whether to automatically save the file in which insert comment before "
"generating the comment. This is currently needed to have an up-to-date tag "
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 1260
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1260&view=rev
Author: colombanw
Date: 2010-04-20 20:55:17 +0000 (Tue, 20 Apr 2010)
Log Message:
-----------
GeanyGenDoc: Improve tag search for a given line
Make ggd_tag_find_from_line() use only a linear search rather than
sorting the tag array and then doing an almost linear search.
Benefits are probable speed improvement (array sorting isn't a cheap
operation) and no more modification of the given tag array.
Modified Paths:
--------------
trunk/geanygendoc/src/ggd-tag-utils.c
Modified: trunk/geanygendoc/src/ggd-tag-utils.c
===================================================================
--- trunk/geanygendoc/src/ggd-tag-utils.c 2010-04-19 21:26:52 UTC (rev 1259)
+++ trunk/geanygendoc/src/ggd-tag-utils.c 2010-04-20 20:55:17 UTC (rev 1260)
@@ -80,17 +80,10 @@
g_return_val_if_fail (tags != NULL, NULL);
- /* FIXME: try to use an algorithm that doesn't need to have a sorted array.
- * it would be faster (well, array sorting is probably everything but
- * fast) and better as we wouldn't touch the array */
- /* sort the array to have the lines in the right order */
- g_ptr_array_sort (tags, tag_cmp_by_line);
- /* FIXME: use dichotomy rather than a linear search? */
PTR_ARRAY_FOR (tags, i, el) {
if (! (el->type & tm_tag_file_t)) {
- if (el->atts.entry.line > line && tag) {
- break;
- } else {
+ if (el->atts.entry.line <= line &&
+ (! tag || el->atts.entry.line > tag->atts.entry.line)) {
tag = el;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.