[Debian-l10n-commits] r1989 - in /translate-toolkit/trunk/debian: changelog patches/series patches/spellchecker_check_something

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Sun Nov 8 21:34:36 UTC 2009


Author: nekral-guest
Date: Sun Nov  8 21:34:36 2009
New Revision: 1989

URL: http://svn.debian.org/wsvn/?sc=1&rev=1989
Log:
  * debian/patches/spellchecker_check_something: Detection of spellcher did
    not work.

Added:
    translate-toolkit/trunk/debian/patches/spellchecker_check_something
Modified:
    translate-toolkit/trunk/debian/changelog
    translate-toolkit/trunk/debian/patches/series

Modified: translate-toolkit/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/changelog?rev=1989&op=diff
==============================================================================
--- translate-toolkit/trunk/debian/changelog (original)
+++ translate-toolkit/trunk/debian/changelog Sun Nov  8 21:34:36 2009
@@ -1,6 +1,8 @@
 translate-toolkit (1.4.1-1) UNRELEASED; urgency=low
 
   * New upstream release
+  * debian/patches/spellchecker_check_something: Detection of spellcher did
+    not work.
 
  -- Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>  Sun, 08 Nov 2009 17:15:59 +0100
 

Modified: translate-toolkit/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/patches/series?rev=1989&op=diff
==============================================================================
--- translate-toolkit/trunk/debian/patches/series (original)
+++ translate-toolkit/trunk/debian/patches/series Sun Nov  8 21:34:36 2009
@@ -5,3 +5,4 @@
 storage_bzr
 po2html_duplicate
 poterminology_defaultstopfile
+spellchecker_check_something

Added: translate-toolkit/trunk/debian/patches/spellchecker_check_something
URL: http://svn.debian.org/wsvn/translate-toolkit/trunk/debian/patches/spellchecker_check_something?rev=1989&op=file
==============================================================================
--- translate-toolkit/trunk/debian/patches/spellchecker_check_something (added)
+++ translate-toolkit/trunk/debian/patches/spellchecker_check_something Sun Nov  8 21:34:36 2009
@@ -1,0 +1,16 @@
+Goal: spellchecker does not work when the spellchecker presence is checked
+      by spellchecking an empty string.
+
+Status wrt upstream: Not reported yet.
+
+--- a/translate/filters/spelling.py
++++ b/translate/filters/spelling.py
+@@ -34,8 +34,6 @@
+         if not lang in checkers:
+             try:
+                 checkers[lang] = checker.SpellChecker(lang)
+-                # some versions only report an error when checking something
+-                checkers[lang].check('')
+             except EnchantError, e:
+                 # sometimes this is raised instead of DictNotFoundError
+                 print >> sys.stderr, str(e)




More information about the Debian-l10n-commits mailing list