From: Eevee Date: Sun, 11 Oct 2009 07:46:45 +0000 (-0700) Subject: Forgot to uncomment the hiragana sokuon code. X-Git-Tag: veekun-promotions/2010050901~139 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/ce26a69a1a8166c02627cf8b9e9e2e8b0aba91b2 Forgot to uncomment the hiragana sokuon code. --- diff --git a/pokedex/roomaji.py b/pokedex/roomaji.py index d0aa3ca..cdf30b5 100644 --- a/pokedex/roomaji.py +++ b/pokedex/roomaji.py @@ -113,8 +113,7 @@ def romanize(string): last_kana = new_char # Sokuon - #elif char in (u'っ', u'ッ'): - elif char in (u'ッ',): + elif char in (u'っ', u'ッ'): # Remember it and double the consonant next time around last_kana = 'sokuon'