mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
fix i18n
This commit is contained in:
@@ -808,10 +808,24 @@
|
||||
showFavoriteDialog('avatar', D.id);
|
||||
break;
|
||||
default:
|
||||
const commandLabelMap = {
|
||||
'Delete Favorite': t('dialog.avatar.actions.favorite_tooltip'),
|
||||
'Select Fallback Avatar': t('dialog.avatar.actions.select_fallback'),
|
||||
'Block Avatar': t('dialog.avatar.actions.block'),
|
||||
'Unblock Avatar': t('dialog.avatar.actions.unblock'),
|
||||
'Make Public': t('dialog.avatar.actions.make_public'),
|
||||
'Make Private': t('dialog.avatar.actions.make_private'),
|
||||
Delete: t('dialog.avatar.actions.delete'),
|
||||
'Delete Imposter': t('dialog.avatar.actions.delete_impostor'),
|
||||
'Create Imposter': t('dialog.avatar.actions.create_impostor'),
|
||||
'Regenerate Imposter': t('dialog.avatar.actions.regenerate_impostor')
|
||||
};
|
||||
modalStore
|
||||
.confirm({
|
||||
title: 'Confirm',
|
||||
description: `Continue? ${command}`
|
||||
title: t('confirm.title'),
|
||||
description: t('confirm.command_question', {
|
||||
command: commandLabelMap[command] ?? command
|
||||
})
|
||||
})
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
|
||||
@@ -2388,8 +2388,10 @@
|
||||
function resetHome() {
|
||||
modalStore
|
||||
.confirm({
|
||||
description: 'Continue? Reset Home',
|
||||
title: 'Confirm'
|
||||
description: t('confirm.command_question', {
|
||||
command: t('dialog.user.actions.reset_home')
|
||||
}),
|
||||
title: t('confirm.title')
|
||||
})
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
|
||||
@@ -1032,12 +1032,21 @@
|
||||
case 'Unpublish':
|
||||
case 'Delete Persistent Data':
|
||||
case 'Delete':
|
||||
const commandLabelMap = {
|
||||
'Delete Favorite': t('dialog.world.actions.favorites_tooltip'),
|
||||
'Make Home': t('dialog.world.actions.make_home'),
|
||||
'Reset Home': t('dialog.world.actions.reset_home'),
|
||||
Publish: t('dialog.world.actions.publish_to_labs'),
|
||||
Unpublish: t('dialog.world.actions.unpublish'),
|
||||
'Delete Persistent Data': t('dialog.world.actions.delete_persistent_data'),
|
||||
Delete: t('dialog.world.actions.delete')
|
||||
};
|
||||
modalStore
|
||||
.confirm({
|
||||
description: t('confirm.command_question', {
|
||||
command
|
||||
command: commandLabelMap[command] ?? command
|
||||
}),
|
||||
title: 'Confirm'
|
||||
title: t('confirm.title')
|
||||
})
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
|
||||
@@ -1041,7 +1041,8 @@
|
||||
"unfriend": "Unfriend",
|
||||
"unfriend_success_msg": "Unfriended",
|
||||
"logout": "Logout",
|
||||
"edit_note_memo": "Edit Note and Memo"
|
||||
"edit_note_memo": "Edit Note and Memo",
|
||||
"reset_home": "Reset Home"
|
||||
},
|
||||
"info": {
|
||||
"header": "Info",
|
||||
|
||||
Reference in New Issue
Block a user