diff --git a/rslib/src/i18n/card-templates.ftl b/rslib/src/i18n/card-template-rendering.ftl similarity index 90% rename from rslib/src/i18n/card-templates.ftl rename to rslib/src/i18n/card-template-rendering.ftl index 08649039d..10a0d86e9 100644 --- a/rslib/src/i18n/card-templates.ftl +++ b/rslib/src/i18n/card-template-rendering.ftl @@ -1,6 +1,8 @@ front-side-problem = Front template has a problem: back-side-problem = Back template has a problem: +## Error messages + no-closing-brackets = Missing '{$missing}' in '{$tag}' conditional-not-closed = @@ -12,6 +14,7 @@ conditional-not-open = no-such-field = Found '{$found}', but there is no field called '{$field}' +# Label of link users can click on more-info = More information empty-front = The front of this card is blank. diff --git a/rslib/src/i18n/mod.rs b/rslib/src/i18n/mod.rs index 9e3f9953d..e9b35b2b1 100644 --- a/rslib/src/i18n/mod.rs +++ b/rslib/src/i18n/mod.rs @@ -65,7 +65,7 @@ fn data_for_fallback(file: TranslationFile) -> String { match file { TranslationFile::Test => include_str!("../../tests/support/test.ftl"), TranslationFile::MediaCheck => include_str!("media-check.ftl"), - TranslationFile::CardTemplates => include_str!("card-templates.ftl"), + TranslationFile::CardTemplates => include_str!("card-template-rendering.ftl"), } .to_string() } @@ -78,7 +78,7 @@ fn data_for_lang_and_file( let path = locales.join(dialect_file_locale(dialect)).join(match file { TranslationFile::Test => "test.ftl", TranslationFile::MediaCheck => "media-check.ftl", - TranslationFile::CardTemplates => "card-templates.ftl", + TranslationFile::CardTemplates => "card-template-rendering.ftl", }); fs::read_to_string(&path) .map_err(|e| {