SF.net SVN: geany-plugins:[685] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat May 30 18:12:11 UTC 2009


Revision: 685
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=685&view=rev
Author:   eht16
Date:     2009-05-30 18:12:11 +0000 (Sat, 30 May 2009)

Log Message:
-----------
Prefix the gettext package with "geany" to avoid possible naming conflicts.

Modified Paths:
--------------
    trunk/spellcheck/ChangeLog
    trunk/spellcheck/configure.in
    trunk/wscript

Added Paths:
-----------
    trunk/spellcheck/po/geanyspellcheck.pot

Removed Paths:
-------------
    trunk/spellcheck/po/spellcheck.pot

Modified: trunk/spellcheck/ChangeLog
===================================================================
--- trunk/spellcheck/ChangeLog	2009-05-30 13:59:37 UTC (rev 684)
+++ trunk/spellcheck/ChangeLog	2009-05-30 18:12:11 UTC (rev 685)
@@ -1,3 +1,10 @@
+2009-05-30  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * configure.in, po/geanyspellcheck.pot:
+   Prefix the gettext package with "geany" to avoid possible
+   naming conflicts.
+
+
 2009-05-14  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/gui.c, src/scplugin.c, src/gui.h:

Modified: trunk/spellcheck/configure.in
===================================================================
--- trunk/spellcheck/configure.in	2009-05-30 13:59:37 UTC (rev 684)
+++ trunk/spellcheck/configure.in	2009-05-30 18:12:11 UTC (rev 685)
@@ -29,7 +29,7 @@
 ENCHANT_VERSION=`$PKG_CONFIG --modversion enchant`
 
 # i18n
-GETTEXT_PACKAGE=spellcheck
+GETTEXT_PACKAGE=geanyspellcheck
 AC_SUBST(GETTEXT_PACKAGE)
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
 

Added: trunk/spellcheck/po/geanyspellcheck.pot
===================================================================
--- trunk/spellcheck/po/geanyspellcheck.pot	                        (rev 0)
+++ trunk/spellcheck/po/geanyspellcheck.pot	2009-05-30 18:12:11 UTC (rev 685)
@@ -0,0 +1,131 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2009-05-30 16:40+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
+"Language-Team: LANGUAGE <LL at li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: src/scplugin.c:59
+msgid "Spell Check"
+msgstr ""
+
+#: src/scplugin.c:59
+msgid "Checks the spelling of the current document."
+msgstr ""
+
+#: src/scplugin.c:60
+msgid "The Geany developer team"
+msgstr ""
+
+#: src/scplugin.c:143
+msgid "Plugin configuration directory could not be created."
+msgstr ""
+
+#: src/scplugin.c:199
+msgid "Run Spell Check"
+msgstr ""
+
+#: src/scplugin.c:202
+msgid "Toggle Check While Typing"
+msgstr ""
+
+#: src/scplugin.c:213
+msgid "Check spelling while typing"
+msgstr ""
+
+#: src/scplugin.c:217
+msgid "Show toolbar item to toggle spell checking"
+msgstr ""
+
+#: src/scplugin.c:222
+msgid "Print misspelled words and suggestions in the messages window"
+msgstr ""
+
+#: src/scplugin.c:226
+msgid "Language to use for the spell check:"
+msgstr ""
+
+#: src/gui.c:66
+msgid "Spell checking while typing is now enabled"
+msgstr ""
+
+#: src/gui.c:68
+msgid "Spell checking while typing is now disabled"
+msgstr ""
+
+#: src/gui.c:276
+msgid "More..."
+msgstr ""
+
+#: src/gui.c:290
+msgid "(No Suggestions)"
+msgstr ""
+
+#: src/gui.c:297
+#, c-format
+msgid "Add \"%s\" to Dictionary"
+msgstr ""
+
+#: src/gui.c:303
+msgid "Ignore All"
+msgstr ""
+
+#: src/gui.c:408
+#, c-format
+msgid "Default (%s)"
+msgstr ""
+
+#: src/gui.c:409 src/gui.c:420
+msgid "unknown"
+msgstr ""
+
+#: src/gui.c:419
+#, c-format
+msgid "Toggle spell check while typing (current language: %s)"
+msgstr ""
+
+#: src/gui.c:480
+msgid "Spelling Suggestions"
+msgstr ""
+
+#: src/speller.c:101
+msgid "Try: "
+msgstr ""
+
+#: src/speller.c:180
+msgid "Checking"
+msgstr ""
+
+#: src/speller.c:193
+#, c-format
+msgid "Checking file \"%s\" (lines %d to %d using %s):"
+msgstr ""
+
+#: src/speller.c:203
+#, c-format
+msgid "Checking file \"%s\" (using %s):"
+msgstr ""
+
+#: src/speller.c:221
+msgid "The checked text is spelled correctly."
+msgstr ""
+
+#: src/speller.c:231
+#, c-format
+msgid "The Enchant library couldn't be initialized (%s)."
+msgstr ""
+
+#: src/speller.c:232
+msgid "unknown error (maybe the chosen language is not available)"
+msgstr ""

Deleted: trunk/spellcheck/po/spellcheck.pot
===================================================================
--- trunk/spellcheck/po/spellcheck.pot	2009-05-30 13:59:37 UTC (rev 684)
+++ trunk/spellcheck/po/spellcheck.pot	2009-05-30 18:12:11 UTC (rev 685)
@@ -1,125 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-03-05 14:24+0100\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#: src/scplugin.c:59
-msgid "Spell Check"
-msgstr ""
-
-#: src/scplugin.c:59
-msgid "Checks the spelling of the current document."
-msgstr ""
-
-#: src/scplugin.c:60
-msgid "The Geany developer team"
-msgstr ""
-
-#: src/scplugin.c:142
-msgid "Plugin configuration directory could not be created."
-msgstr ""
-
-#: src/scplugin.c:199
-msgid "Run Spell Check"
-msgstr ""
-
-#: src/scplugin.c:202
-msgid "Toggle Check While Typing"
-msgstr ""
-
-#: src/scplugin.c:213
-msgid "Check spelling while typing"
-msgstr ""
-
-#: src/scplugin.c:217
-msgid "Show toolbar item to toggle spell checking"
-msgstr ""
-
-#: src/scplugin.c:222
-msgid "Print misspelled words and suggestions in the messages window"
-msgstr ""
-
-#: src/scplugin.c:226
-msgid "Language to use for the spell check:"
-msgstr ""
-
-#: src/gui.c:66
-msgid "Spell checking while typing is now enabled"
-msgstr ""
-
-#: src/gui.c:68
-msgid "Spell checking while typing is now disabled"
-msgstr ""
-
-#: src/gui.c:101
-msgid "Toggle spell check while typing"
-msgstr ""
-
-#: src/gui.c:273
-msgid "More..."
-msgstr ""
-
-#: src/gui.c:287
-msgid "(No Suggestions)"
-msgstr ""
-
-#: src/gui.c:294
-#, c-format
-msgid "Add \"%s\" to Dictionary"
-msgstr ""
-
-#: src/gui.c:300
-msgid "Ignore All"
-msgstr ""
-
-#: src/gui.c:442
-msgid "Spelling Suggestions"
-msgstr ""
-
-#: src/gui.c:464
-msgid "Default"
-msgstr ""
-
-#: src/speller.c:101
-msgid "Try: "
-msgstr ""
-
-#: src/speller.c:180
-msgid "Checking"
-msgstr ""
-
-#: src/speller.c:193
-#, c-format
-msgid "Checking file \"%s\" (lines %d to %d using %s):"
-msgstr ""
-
-#: src/speller.c:203
-#, c-format
-msgid "Checking file \"%s\" (using %s):"
-msgstr ""
-
-#: src/speller.c:221
-msgid "The checked text is spelled correctly."
-msgstr ""
-
-#: src/speller.c:231
-#, c-format
-msgid "The Enchant library couldn't be initialized (%s)."
-msgstr ""
-
-#: src/speller.c:232
-msgid "unknown error (maybe the chosen language is not available)"
-msgstr ""

Modified: trunk/wscript
===================================================================
--- trunk/wscript	2009-05-30 13:59:37 UTC (rev 684)
+++ trunk/wscript	2009-05-30 18:12:11 UTC (rev 685)
@@ -48,7 +48,7 @@
 
 
 class Plugin:
-	def __init__(self, n, s, i, v=VERSION, l=[]):
+	def __init__(self, n, s, i, v=VERSION, l=[], g=None):
 		self.name = n
 		self.sources = s
 		self.includes = i # do not include '.'
@@ -56,6 +56,7 @@
 		self.libs = l # a list of lists of libs and their versions, e.g. [ [ 'gtk', '2.6' ],
 		              # [ 'gtkspell-2.0', '2.0', False ] ], the third argument defines whether
 		              # the dependency is mandatory
+		self.gettext_package = g if g else n
 
 
 # add a new element for your plugin
@@ -114,7 +115,7 @@
 	Plugin('spellcheck',
 		 [ 'spellcheck/src/gui.c', 'spellcheck/src/scplugin.c', 'spellcheck/src/speller.c' ], # source files
 		 [ 'spellcheck', 'spellcheck/src' ], # include dirs
-		 '0.4', [ [ 'enchant', '1.3', True ] ]),
+		 '0.4', [ [ 'enchant', '1.3', True ] ], 'geanyspellcheck'),
 	Plugin('geanylipsum',
 		 [ 'geanylipsum/src/geanylipsum.c' ], # source files
 		 [ 'geanylipsum', 'geanylipsum/src' ], # include dirs


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list