Commit 84b36102 authored by Thomas Dennis's avatar Thomas Dennis

I somehow managed to spell "NA" as "EI" several times and not notice.

parent 880c1973
"use strict";
var ADJECTIVE_NA = {
about: "~na adjective",
word_list:
[
{ "romaji": "ijiwaru", "kanji": "意地悪", "description": "mean" },
{ "romaji": "kirai", "kanji": "嫌い", "description": "distasteful" },
{ "romaji": "shizuka", "kanji": "静か", "description": "quiet" },
{ "romaji": "kiken", "kanji": "危険", "description": "dangerous" },
{ "romaji": "benri", "kanji": "便利", "description": "convenient" },
{ "romaji": "kirei", "kanji": "きれい", "description": "pretty" },
{ "romaji": "jouzu", "kanji": "上手", "description": "skillful" },
{ "romaji": "teinei", "kanji": "丁寧", "description": "polite" },
{ "romaji": "ganko", "kanji": "頑固", "description": "stubborn" },
{ "romaji": "shinsetsu", "kanji": "親切", "description": "kind" },
{ "romaji": "suki", "kanji": "好き", "description": "favorite" },
{ "romaji": "nigiyaka", "kanji": "にぎやか", "description": "lively" },
{ "romaji": "anzen", "kanji": "安全", "description": "safe" },
{ "romaji": "fuben", "kanji": "不便", "description": "inconvenient" },
{ "romaji": "genki", "kanji": "元気", "description": "healthy" },
{ "romaji": "yuumei", "kanji": "有名", "description": "famous" },
{ "romaji": "shoujiki", "kanji": "正直", "description": "honest" },
{ "romaji": "hade", "kanji": "派手", "description": "showy" }
],
conjugate: function(word, kwargs)
{
if (kwargs.formal)
{
if (kwargs.negative)
{
if (kwargs.past_tense) { return word + " dewa arimasen deshita"; }
else { return word + " dewa arimasen"; }
}
else
{
if (kwargs.past_tense) { return word + " deshita"; }
else { return word + " desu"; }
}
}
else
{
if (kwargs.negative)
{
if (kwargs.past_tense) { return word + " dewa nakatta"; }
else { return word + " dewa nai"; }
}
else
{
if (kwargs.past_tense) { return word + " datta"; }
else { return word + " da"; }
}
}
}
};
......@@ -6,7 +6,7 @@
<script src="verb_u.js" type="text/javascript"></script>
<script src="verb_eru.js" type="text/javascript"></script>
<script src="adjective_i.js" type="text/javascript"></script>
<script src="adjective_ei.js" type="text/javascript"></script>
<script src="adjective_na.js" type="text/javascript"></script>
<script src="conjugate.js" type="text/javascript"></script>
<title>Conjugations</title>
</head>
......
......@@ -5,7 +5,7 @@ var QUESTION = [
{ html_id: "verb_u", dictionary: VERB_U },
{ html_id: "verb_eru", dictionary: VERB_ERU },
{ html_id: "adjective_i", dictionary: ADJECTIVE_I },
{ html_id: "adjective_ei", dictionary: ADJECTIVE_EI }
{ html_id: "adjective_na", dictionary: ADJECTIVE_NA }
];
// This function is called when the page first loads.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment