Update test for changed translation

This commit is contained in:
Damien Elmes 2023-06-30 17:08:36 +10:00
parent ef68338d85
commit 324ef330e8

View file

@ -11,7 +11,7 @@ def test_no_collection_i18n():
assert no_uni(tr.statistics_reviews(reviews=2)) == "2 reviews"
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():
@ -20,4 +20,4 @@ def test_legacy_enum():
tr = anki.lang.tr_legacyglobal
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"