mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
judge: skip subtask if already unaccepted (#34)
This commit is contained in:
1 parent
1817341eee
commit
9f0668d938
6 files changed
+26
-7
No files matched your search
@@ -48,6 +48,9 @@ String.prototype.translate = function translate(...languages: string[]) {
|
||||
if (locales[language]) {
|
||||
if (locales[language][this] !== undefined) return locales[language][this];
|
||||
}
|
||||
if (locales[language.split('_')[0]]) {
|
||||
if (locales[language.split('_')[0]][this] !== undefined) return locales[language.split('_')[0]][this];
|
||||
}
|
||||
}
|
||||
return this;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user