diff --git a/lib/i18n.typ b/lib/i18n.typ index 3b6d7df..f228cd5 100644 --- a/lib/i18n.typ +++ b/lib/i18n.typ @@ -1,2 +1,8 @@ #import "./i18n/en-us.typ" #import "./i18n/ko-kr.typ" + +#let supports = ( + // Insert locales here + ("en-us", en-us), + ("ko-kr", ko-kr) +) diff --git a/tests/i18n/test.typ b/tests/i18n/test.typ index 1a95294..87de1a8 100644 --- a/tests/i18n/test.typ +++ b/tests/i18n/test.typ @@ -5,11 +5,7 @@ #let base__make-prob-meta-keys = base.make-prob-meta.keys() #let base__make-prob-overview-keys = base.make-prob-overview.keys() -#for (locale, content) in ( - // Insert locales here - ("en-us", i18n.en-us), - ("ko-kr", i18n.ko-kr) -) { +#for (locale, content) in (i18n.supports) { assert( base__make-prob-meta-keys == content.make-prob-meta.keys(), message: "The content of locale " + locale + " is incomplete.",