mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Update test for changed translation
This commit is contained in:
parent
ef68338d85
commit
324ef330e8
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ def test_no_collection_i18n():
|
||||||
assert no_uni(tr.statistics_reviews(reviews=2)) == "2 reviews"
|
assert no_uni(tr.statistics_reviews(reviews=2)) == "2 reviews"
|
||||||
|
|
||||||
anki.lang.set_lang("ja")
|
anki.lang.set_lang("ja")
|
||||||
assert no_uni(tr.statistics_reviews(reviews=2)) == "2 枚の復習カード"
|
assert no_uni(tr.statistics_reviews(reviews=2)) == "2枚"
|
||||||
|
|
||||||
|
|
||||||
def test_legacy_enum():
|
def test_legacy_enum():
|
||||||
|
@ -20,4 +20,4 @@ def test_legacy_enum():
|
||||||
tr = anki.lang.tr_legacyglobal
|
tr = anki.lang.tr_legacyglobal
|
||||||
no_uni = anki.lang.without_unicode_isolation
|
no_uni = anki.lang.without_unicode_isolation
|
||||||
|
|
||||||
assert no_uni(tr(TR.STATISTICS_REVIEWS, reviews=2)) == "2 枚の復習カード"
|
assert no_uni(tr(TR.STATISTICS_REVIEWS, reviews=2)) == "2枚"
|
||||||
|
|
Loading…
Reference in a new issue