rename card-templates.ftl
This commit is contained in:
parent
0cc1938657
commit
b8e516b47c
@ -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.
|
@ -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| {
|
||||
|
Loading…
Reference in New Issue
Block a user