mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 01:03:50 +02:00
fix
This commit is contained in:
@@ -231,11 +231,11 @@
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent>
|
||||
<DropdownMenuItem @click="avatarDialogCommand('RefreshCw')">
|
||||
<DropdownMenuItem @click="avatarDialogCommand('Refresh')">
|
||||
<RefreshCw class="size-4" />
|
||||
{{ t('dialog.avatar.actions.refresh') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="avatarDialogCommand('Share2')">
|
||||
<DropdownMenuItem @click="avatarDialogCommand('Share')">
|
||||
<Share2 class="size-4" />
|
||||
{{ t('dialog.avatar.actions.share') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -306,7 +306,7 @@
|
||||
<DropdownMenuItem
|
||||
v-if="avatarDialog.hasImposter"
|
||||
variant="destructive"
|
||||
@click="avatarDialogCommand('Trash2 Imposter')">
|
||||
@click="avatarDialogCommand('Delete Imposter')">
|
||||
<Trash2 class="size-4" />
|
||||
{{ t('dialog.avatar.actions.delete_impostor') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -734,10 +734,10 @@
|
||||
function avatarDialogCommand(command) {
|
||||
const D = avatarDialog.value;
|
||||
switch (command) {
|
||||
case 'RefreshCw':
|
||||
case 'Refresh':
|
||||
showAvatarDialog(D.id);
|
||||
break;
|
||||
case 'Share2':
|
||||
case 'Share':
|
||||
copyAvatarUrl(D.id);
|
||||
break;
|
||||
case 'Rename':
|
||||
@@ -770,7 +770,7 @@
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
switch (command) {
|
||||
case 'Trash2 Favorite':
|
||||
case 'Delete Favorite':
|
||||
favoriteRequest.deleteFavorite({
|
||||
objectId: D.id
|
||||
});
|
||||
@@ -839,7 +839,7 @@
|
||||
return args;
|
||||
});
|
||||
break;
|
||||
case 'Trash2':
|
||||
case 'Delete':
|
||||
avatarRequest
|
||||
.deleteAvatar({
|
||||
avatarId: D.id
|
||||
@@ -863,7 +863,7 @@
|
||||
return args;
|
||||
});
|
||||
break;
|
||||
case 'Trash2 Imposter':
|
||||
case 'Delete Imposter':
|
||||
avatarRequest
|
||||
.deleteImposter({
|
||||
avatarId: D.id
|
||||
|
||||
@@ -240,11 +240,11 @@
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent>
|
||||
<DropdownMenuItem @click="groupDialogCommand('RefreshCw')">
|
||||
<DropdownMenuItem @click="groupDialogCommand('Refresh')">
|
||||
<RefreshCw class="size-4" />
|
||||
{{ t('dialog.group.actions.refresh') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="groupDialogCommand('Share2')">
|
||||
<DropdownMenuItem @click="groupDialogCommand('Share')">
|
||||
<Share2 class="size-4" />
|
||||
{{ t('dialog.group.actions.share') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -1523,7 +1523,7 @@
|
||||
return;
|
||||
}
|
||||
switch (command) {
|
||||
case 'Share2':
|
||||
case 'Share':
|
||||
copyToClipboard(groupDialog.value.ref.$url);
|
||||
break;
|
||||
case 'Create Post':
|
||||
@@ -1535,7 +1535,7 @@
|
||||
case 'Invite To Group':
|
||||
showInviteGroupDialog(D.id, '');
|
||||
break;
|
||||
case 'RefreshCw':
|
||||
case 'Refresh':
|
||||
showGroupDialog(D.id);
|
||||
break;
|
||||
case 'Leave Group':
|
||||
|
||||
@@ -30,11 +30,11 @@
|
||||
</div>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent>
|
||||
<DropdownMenuItem @click="onCommand('RefreshCw')">
|
||||
<DropdownMenuItem @click="onCommand('Refresh')">
|
||||
<RefreshCw class="size-4" />
|
||||
{{ t('dialog.user.actions.refresh') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Share2')">
|
||||
<DropdownMenuItem @click="onCommand('Share')">
|
||||
<Share2 class="size-4" />
|
||||
{{ t('dialog.user.actions.share') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -48,19 +48,19 @@
|
||||
{{ t('dialog.user.actions.show_fallback_avatar') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuSeparator />
|
||||
<DropdownMenuItem @click="onCommand('Pencil Social Status')">
|
||||
<DropdownMenuItem @click="onCommand('Edit Social Status')">
|
||||
<Pencil class="size-4" />
|
||||
{{ t('dialog.user.actions.edit_status') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Pencil Language')">
|
||||
<DropdownMenuItem @click="onCommand('Edit Language')">
|
||||
<Pencil class="size-4" />
|
||||
{{ t('dialog.user.actions.edit_language') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Pencil Bio')">
|
||||
<DropdownMenuItem @click="onCommand('Edit Bio')">
|
||||
<Pencil class="size-4" />
|
||||
{{ t('dialog.user.actions.edit_bio') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Pencil Pronouns')">
|
||||
<DropdownMenuItem @click="onCommand('Edit Pronouns')">
|
||||
<Pencil class="size-4" />
|
||||
{{ t('dialog.user.actions.edit_pronouns') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -72,7 +72,7 @@
|
||||
<Mail class="size-4" />
|
||||
{{ t('dialog.user.actions.request_invite') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Request Invite MessageSquare')">
|
||||
<DropdownMenuItem @click="onCommand('Request Invite Message')">
|
||||
<Mail class="size-4" />
|
||||
{{ t('dialog.user.actions.request_invite_with_message') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -85,7 +85,7 @@
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
:disabled="!checkCanInvite(lastLocation.location)"
|
||||
@click="onCommand('Invite MessageSquare')">
|
||||
@click="onCommand('Invite Message')">
|
||||
<MessageSquare class="size-4" />
|
||||
{{ t('dialog.user.actions.invite_with_message') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -123,7 +123,7 @@
|
||||
<Settings class="size-4" />
|
||||
{{ t('dialog.user.actions.group_moderation') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="onCommand('Pencil Note Memo')">
|
||||
<DropdownMenuItem @click="onCommand('Edit Note Memo')">
|
||||
<Pencil class="size-4" />
|
||||
{{ t('dialog.user.actions.edit_note_memo') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -165,7 +165,7 @@
|
||||
<DropdownMenuItem
|
||||
v-else
|
||||
:disabled="userDialog.ref.$isModerator"
|
||||
@click="onCommand('Moderation VolumeX')">
|
||||
@click="onCommand('Moderation Mute')">
|
||||
<VolumeX class="size-4" />
|
||||
{{ t('dialog.user.actions.moderation_mute') }}
|
||||
</DropdownMenuItem>
|
||||
|
||||
@@ -1695,19 +1695,19 @@
|
||||
if (D.visible === false) {
|
||||
return;
|
||||
}
|
||||
if (command === 'RefreshCw') {
|
||||
if (command === 'Refresh') {
|
||||
showUserDialog(D.id);
|
||||
} else if (command === 'Share2') {
|
||||
} else if (command === 'Share') {
|
||||
copyUserURL(D.id);
|
||||
} else if (command === 'Add Favorite') {
|
||||
showFavoriteDialog('friend', D.id);
|
||||
} else if (command === 'Pencil Social Status') {
|
||||
} else if (command === 'Edit Social Status') {
|
||||
showSocialStatusDialog();
|
||||
} else if (command === 'Pencil Language') {
|
||||
} else if (command === 'Edit Language') {
|
||||
showLanguageDialog();
|
||||
} else if (command === 'Pencil Bio') {
|
||||
} else if (command === 'Edit Bio') {
|
||||
showBioDialog();
|
||||
} else if (command === 'Pencil Pronouns') {
|
||||
} else if (command === 'Edit Pronouns') {
|
||||
showPronounsDialog();
|
||||
} else if (command === 'Request Invite') {
|
||||
notificationRequest
|
||||
@@ -1721,7 +1721,7 @@
|
||||
toast('Request invite sent');
|
||||
return args;
|
||||
});
|
||||
} else if (command === 'Invite MessageSquare') {
|
||||
} else if (command === 'Invite Message') {
|
||||
L = parseLocation(lastLocation.value.location);
|
||||
worldRequest
|
||||
.getCachedWorld({
|
||||
@@ -1737,7 +1737,7 @@
|
||||
D.id
|
||||
);
|
||||
});
|
||||
} else if (command === 'Request Invite MessageSquare') {
|
||||
} else if (command === 'Request Invite Message') {
|
||||
showSendInviteRequestDialog(
|
||||
{
|
||||
platform: 'standalonewindows'
|
||||
@@ -1802,7 +1802,7 @@
|
||||
} else {
|
||||
setPlayerModeration(D.id, 5);
|
||||
}
|
||||
} else if (command === 'Pencil Note Memo') {
|
||||
} else if (command === 'Edit Note Memo') {
|
||||
isEditNoteAndMemoDialogVisible.value = true;
|
||||
} else {
|
||||
const i18nPreFix = 'dialog.user.actions.';
|
||||
@@ -1896,7 +1896,7 @@
|
||||
let args;
|
||||
let key;
|
||||
switch (command) {
|
||||
case 'Trash2 Favorite':
|
||||
case 'Delete Favorite':
|
||||
favoriteRequest.deleteFavorite({
|
||||
objectId: userId
|
||||
});
|
||||
@@ -1963,7 +1963,7 @@
|
||||
});
|
||||
handlePlayerModerationDelete(args);
|
||||
break;
|
||||
case 'Moderation VolumeX': {
|
||||
case 'Moderation Mute': {
|
||||
args = await playerModerationRequest.sendPlayerModeration({
|
||||
moderated: userId,
|
||||
type: 'mute'
|
||||
|
||||
@@ -198,11 +198,11 @@
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent>
|
||||
<DropdownMenuItem @click="worldDialogCommand('RefreshCw')">
|
||||
<DropdownMenuItem @click="worldDialogCommand('Refresh')">
|
||||
<RefreshCw class="size-4" />
|
||||
{{ t('dialog.world.actions.refresh') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem @click="worldDialogCommand('Share2')">
|
||||
<DropdownMenuItem @click="worldDialogCommand('Share')">
|
||||
<Share2 class="size-4" />
|
||||
{{ t('dialog.world.actions.share') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -240,7 +240,7 @@
|
||||
<template v-if="currentUser.id !== worldDialog.ref.authorId">
|
||||
<DropdownMenuItem
|
||||
:disabled="!worldDialog.hasPersistData"
|
||||
@click="worldDialogCommand('Trash2 Persistent Data')">
|
||||
@click="worldDialogCommand('Delete Persistent Data')">
|
||||
<Upload class="size-4" />
|
||||
{{ t('dialog.world.actions.delete_persistent_data') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -300,11 +300,11 @@
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem
|
||||
:disabled="!worldDialog.hasPersistData"
|
||||
@click="worldDialogCommand('Trash2 Persistent Data')">
|
||||
@click="worldDialogCommand('Delete Persistent Data')">
|
||||
<Upload class="size-4" />
|
||||
{{ t('dialog.world.actions.delete_persistent_data') }}
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem variant="destructive" @click="worldDialogCommand('Trash2')">
|
||||
<DropdownMenuItem variant="destructive" @click="worldDialogCommand('Delete')">
|
||||
<Trash2 class="size-4" />
|
||||
{{ t('dialog.world.actions.delete') }}
|
||||
</DropdownMenuItem>
|
||||
@@ -948,13 +948,13 @@
|
||||
return;
|
||||
}
|
||||
switch (command) {
|
||||
case 'Trash2 Favorite':
|
||||
case 'Delete Favorite':
|
||||
case 'Make Home':
|
||||
case 'Reset Home':
|
||||
case 'Publish':
|
||||
case 'Unpublish':
|
||||
case 'Trash2 Persistent Data':
|
||||
case 'Trash2':
|
||||
case 'Delete Persistent Data':
|
||||
case 'Delete':
|
||||
modalStore
|
||||
.confirm({
|
||||
description: t('confirm.command_question', {
|
||||
@@ -965,7 +965,7 @@
|
||||
.then(({ ok }) => {
|
||||
if (!ok) return;
|
||||
switch (command) {
|
||||
case 'Trash2 Favorite':
|
||||
case 'Delete Favorite':
|
||||
favoriteRequest.deleteFavorite({
|
||||
objectId: D.id
|
||||
});
|
||||
@@ -1010,7 +1010,7 @@
|
||||
return args;
|
||||
});
|
||||
break;
|
||||
case 'Trash2 Persistent Data':
|
||||
case 'Delete Persistent Data':
|
||||
miscRequest
|
||||
.deleteWorldPersistData({
|
||||
worldId: D.id
|
||||
@@ -1023,7 +1023,7 @@
|
||||
return args;
|
||||
});
|
||||
break;
|
||||
case 'Trash2':
|
||||
case 'Delete':
|
||||
worldRequest
|
||||
.deleteWorld({
|
||||
worldId: D.id
|
||||
@@ -1053,7 +1053,7 @@
|
||||
case 'Previous Instances':
|
||||
showPreviousInstancesWorldDialog(D.ref);
|
||||
break;
|
||||
case 'Share2':
|
||||
case 'Share':
|
||||
copyWorldUrl();
|
||||
break;
|
||||
case 'Change Allowed Domains':
|
||||
@@ -1068,7 +1068,7 @@
|
||||
case 'Change Image':
|
||||
showChangeWorldImageDialog();
|
||||
break;
|
||||
case 'RefreshCw':
|
||||
case 'Refresh':
|
||||
showWorldDialog(D.id);
|
||||
break;
|
||||
case 'New Instance':
|
||||
|
||||
Reference in New Issue
Block a user