update TR references with args in *.svelte
This commit is contained in:
parent
df93ed0b15
commit
cd4572c3dd
@ -31,5 +31,5 @@ for dirpath, dirnames, fnames in os.walk(os.environ["BUILD_WORKSPACE_DIRECTORY"]
|
|||||||
if "bazel-" in dirpath:
|
if "bazel-" in dirpath:
|
||||||
continue
|
continue
|
||||||
for fname in fnames:
|
for fname in fnames:
|
||||||
if fname.endswith(".ts"):
|
if fname.endswith(".svelte"):
|
||||||
update_py(os.path.join(dirpath, fname))
|
update_py(os.path.join(dirpath, fname))
|
||||||
|
@ -15,12 +15,12 @@
|
|||||||
const today_new = i18n.tr(i18n.TR.SCHEDULING_TODAY_NEW_LIMIT_REACHED);
|
const today_new = i18n.tr(i18n.TR.SCHEDULING_TODAY_NEW_LIMIT_REACHED);
|
||||||
|
|
||||||
const unburyThem = bridgeLink("unbury", i18n.tr(i18n.TR.SCHEDULING_UNBURY_THEM));
|
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(
|
const customStudy = bridgeLink(
|
||||||
"customStudy",
|
"customStudy",
|
||||||
i18n.tr(i18n.TR.SCHEDULING_CUSTOM_STUDY)
|
i18n.tr(i18n.TR.SCHEDULING_CUSTOM_STUDY)
|
||||||
);
|
);
|
||||||
const customStudyMsg = i18n.tr(i18n.TR.SCHEDULING_HOW_TO_CUSTOM_STUDY, {
|
const customStudyMsg = i18n.schedulingHowToCustomStudy({
|
||||||
customStudy,
|
customStudy,
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user