mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
i18n: add missing i18n (#1077)
This commit is contained in:
1 parent
1282f80c1a
commit
828ba556ae
5 files changed
+24
-7
No files matched your search
@@ -23,12 +23,12 @@ const page = new NamedPage('domain_user', () => {
|
||||
});
|
||||
|
||||
async function handleClickAddUser() {
|
||||
const res = await prompt('Add User', {
|
||||
const res = await prompt(i18n('Add User'), {
|
||||
user: {
|
||||
type: 'userId',
|
||||
required: true,
|
||||
autofocus: true,
|
||||
label: 'Username / UID',
|
||||
label: i18n('Username / UID'),
|
||||
columns: 6,
|
||||
},
|
||||
role: {
|
||||
@@ -41,7 +41,7 @@ const page = new NamedPage('domain_user', () => {
|
||||
...(UiContext.canForceJoin ? {
|
||||
join: {
|
||||
type: 'checkbox',
|
||||
label: 'Mark user as joined using admin privilege',
|
||||
label: i18n('Mark user as joined using admin privilege'),
|
||||
},
|
||||
} : {}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user