mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 22:02:49 -06:00
13 lines
256 B
C++
13 lines
256 B
C++
#include "KanjiFlash.h"
|
|
|
|
String Kanji::GradeAsString() const
|
|
{
|
|
if (grade >= 1 && grade <= 6)
|
|
return IntStr(grade);
|
|
else if (grade == 8)
|
|
return "general jouyou";
|
|
else if (grade == 9)
|
|
return "jinmeiyou";
|
|
else
|
|
return "non-jouyou";
|
|
}
|