projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d1a237e
)
Forgot to uncomment the hiragana sokuon code.
author
Eevee
<git@veekun.com>
Sun, 11 Oct 2009 07:46:45 +0000
(
00:46
-0700)
committer
Eevee
<git@veekun.com>
Sun, 11 Oct 2009 07:46:45 +0000
(
00:46
-0700)
pokedex/roomaji.py
patch
|
blob
|
history
diff --git
a/pokedex/roomaji.py
b/pokedex/roomaji.py
index
d0aa3ca
..
cdf30b5
100644
(file)
--- a/
pokedex/roomaji.py
+++ b/
pokedex/roomaji.py
@@
-113,8
+113,7
@@
def romanize(string):
last_kana = new_char
# Sokuon
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'
# Remember it and double the consonant next time around
last_kana = 'sokuon'