update TR references with args in *.svelte

This commit is contained in:
Damien Elmes 2021-03-26 19:11:51 +10:00
parent df93ed0b15
commit cd4572c3dd
2 changed files with 3 additions and 3 deletions

View File

@ -31,5 +31,5 @@ for dirpath, dirnames, fnames in os.walk(os.environ["BUILD_WORKSPACE_DIRECTORY"]
if "bazel-" in dirpath:
continue
for fname in fnames:
if fname.endswith(".ts"):
if fname.endswith(".svelte"):
update_py(os.path.join(dirpath, fname))

View File

@ -15,12 +15,12 @@
const today_new = i18n.tr(i18n.TR.SCHEDULING_TODAY_NEW_LIMIT_REACHED);
const unburyThem = bridgeLink("unbury", i18n.tr(i18n.TR.SCHEDULING_UNBURY_THEM));
const buriedMsg = i18n.tr(i18n.TR.SCHEDULING_BURIED_CARDS_FOUND, { unburyThem });
const buriedMsg = i18n.schedulingBuriedCardsFound({ unburyThem });
const customStudy = bridgeLink(
"customStudy",
i18n.tr(i18n.TR.SCHEDULING_CUSTOM_STUDY)
);
const customStudyMsg = i18n.tr(i18n.TR.SCHEDULING_HOW_TO_CUSTOM_STUDY, {
const customStudyMsg = i18n.schedulingHowToCustomStudy({
customStudy,
});
</script>