mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: add missing i18n
This commit is contained in:
1 file changed
+1
-1
@@ -317,7 +317,7 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
|
|||||||
</li>));
|
</li>));
|
||||||
$(document).on('click', '#clearAnswers', async () => {
|
$(document).on('click', '#clearAnswers', async () => {
|
||||||
const result = await new ConfirmDialog({
|
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();
|
}).open();
|
||||||
if (result === 'yes') await clearAns();
|
if (result === 'yes') await clearAns();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user