Skip to content

Commit 877f75f

Browse files
committed
Merge pull request #25 from edluo1/patch-1
Changed "nwa" to output proper kana
2 parents 47ad718 + b9a46f3 commit 877f75f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/com/wanikani/wklib/JapaneseIME.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private void populateTable ()
189189
put ("ro", "ろ");
190190

191191
put ("ya", "や");
192-
put ("yi", "い");
192+
put ("yi", "い");
193193
put ("yu", "ゆ");
194194
put ("ye", "いぇ");
195195
put ("yo", "よ");
@@ -227,7 +227,7 @@ private void populateTable ()
227227

228228
put ("cya", "ちゃ");
229229
put ("cyo", "ちょ");
230-
put ("cyu", "ちゅ");
230+
put ("cyu", "ちゅ");
231231

232232
put ("fa", "ふぁ");
233233
putI ("f", "ふ");
@@ -254,7 +254,7 @@ private void populateTable ()
254254
put ("vi", "vyi", "ヴィ");
255255
put ("vu", "vyu", "ヴ");
256256
put ("ve", "vye", "ヴぇ");
257-
put ("vo", "vyo", "ヴぉ");
257+
put ("vo", "vyo", "ヴぉ");
258258

259259
put ("sha", "しゃ");
260260
put ("shu", "しゅ");
@@ -296,7 +296,8 @@ private void putU (String... s)
296296
ja = s [s.length - 1];
297297
for (i = 0; i < s.length - 1; i++) {
298298
put (s [i] + "u", ja);
299-
put (s [i] + "wa", ja + "ぁ");
299+
if (!s [i].equals("n"))
300+
put (s [i] + "wa", ja + "ぁ");
300301
}
301302
}
302303

0 commit comments

Comments
 (0)