core&ui: add contest private files (#1053)

Co-authored-by: panda <panda_dtdyy@outlook.com>
This commit is contained in:
undefinedandpanda authored and GitHub committed 2025-10-17 10:24:38 +01:00
1 parent 9729346ad9
commit f5ef8b7f38
35 files changed
+781 -843

No files matched your search

@@ -52,7 +52,7 @@ const page = new NamedPage('problem_config', () => {
newNames: [newName],
type: 'testdata',
});
Notification.success(i18n('File have been renamed.'));
Notification.success(i18n('File has been renamed.'));
await pjax.request({ url: './files?d=testdata&sidebar=true', push: false });
} catch (error) {
Notification.error(error.message);
@@ -68,7 +68,7 @@ const page = new NamedPage('problem_config', () => {
files: file,
type: 'testdata',
});
Notification.success(i18n('File have been deleted.'));
Notification.success(i18n('File has been deleted.'));
reduxStore.dispatch({
type: 'CONFIG_DELETE_TESTDATA',
value: file,