ui: add missing i18n

This commit is contained in:
undefined committed 2025-02-19 05:28:22 +08:00
1 parent 9264f340cb
commit 2109c35628
1 file changed
+1 -1
@@ -317,7 +317,7 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
</li>));
$(document).on('click', '#clearAnswers', async () => {
const result = await new ConfirmDialog({
$body: tpl.typoMsg('All changes will be lost. Are you sure to clear all answers?'),
$body: tpl.typoMsg(i18n('All changes will be lost. Are you sure to clear all answers?')),
}).open();
if (result === 'yes') await clearAns();
});