mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +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':
|
||||
|
||||
@@ -1973,7 +1973,7 @@
|
||||
"accept_friend_request": "Continue? Accept Friend Request",
|
||||
"send_invite": "Continue? Send Invite",
|
||||
"decline_type": "Continue? Decline {type}",
|
||||
"delete_type": "Continue? Trash2 {type}",
|
||||
"delete_type": "Continue? {type}",
|
||||
"command_question": "Continue? {command}",
|
||||
"restart_required_title": "Restart Required",
|
||||
"restart_now": "Restart Now",
|
||||
|
||||
@@ -103,7 +103,7 @@ export const useWorldStore = defineStore('World', () => {
|
||||
D.treeData = {};
|
||||
D.bundleSizes = [];
|
||||
D.lastUpdated = '';
|
||||
D.visible = true;
|
||||
D.visible = false;
|
||||
D.loading = true;
|
||||
D.inCache = false;
|
||||
D.cacheSize = '';
|
||||
@@ -217,7 +217,7 @@ export const useWorldStore = defineStore('World', () => {
|
||||
});
|
||||
}
|
||||
}
|
||||
return args;
|
||||
D.visible = true;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
function deletePlayerModerationPrompt(row) {
|
||||
modalStore
|
||||
.confirm({
|
||||
description: `Continue? Trash2 Moderation ${row.type}`,
|
||||
description: `Continue? Moderation ${row.type}`,
|
||||
title: 'Confirm'
|
||||
})
|
||||
.then(({ ok }) => ok && deletePlayerModeration(row))
|
||||
|
||||
@@ -7,21 +7,21 @@
|
||||
<div style="font-size: 12px">
|
||||
{{ t('dialog.launch_options.description') }} <br />
|
||||
{{ t('dialog.launch_options.example') }}
|
||||
<Badge variant="outline"
|
||||
>--fps=144 --enable-debug-gui --enable-sdk-log-levels --enable-udon-debug-logging
|
||||
</Badge>
|
||||
<div>--fps=144</div>
|
||||
<div>--enable-debug-gui</div>
|
||||
<div>--enable-sdk-log-levels</div>
|
||||
<div>--enable-udon-debug-logging</div>
|
||||
</div>
|
||||
|
||||
<InputGroupTextareaField
|
||||
v-model="launchOptionsDialog.launchArguments"
|
||||
:autosize="{ minRows: 2, maxRows: 5 }"
|
||||
:rows="2"
|
||||
placeholder=""
|
||||
style="margin-top: 10px"
|
||||
placeholder="e.g. --fps=144 --enable-sdk-log-levels"
|
||||
input-class="resize-none" />
|
||||
|
||||
<template v-if="!isLinux">
|
||||
<div style="font-size: 12px; margin-top: 10px">
|
||||
<div class="text-sm">
|
||||
{{ t('dialog.launch_options.path_override') }}
|
||||
</div>
|
||||
|
||||
@@ -29,12 +29,14 @@
|
||||
v-model="launchOptionsDialog.vrcLaunchPathOverride"
|
||||
placeholder="C:\Program Files (x86)\Steam\steamapps\common\VRChat"
|
||||
:rows="1"
|
||||
style="display: block; margin-top: 10px"
|
||||
class="mb-4"
|
||||
spellcheck="false"
|
||||
data-gramm="false"
|
||||
input-class="resize-none min-h-0" />
|
||||
</template>
|
||||
|
||||
<DialogFooter>
|
||||
<div class="flex items-center justify-between">
|
||||
<div class="flex items-center justify-between w-full">
|
||||
<div>
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
@@ -60,10 +60,11 @@
|
||||
style="flex: 1; margin-top: 5px">
|
||||
<template #actions>
|
||||
<Button
|
||||
size="sm"
|
||||
size="icon-sm"
|
||||
variant="outline"
|
||||
v-if="item.folderBrowser"
|
||||
@click="openConfigFolderBrowser(value)">
|
||||
<FolderOpen />
|
||||
</Button>
|
||||
</template>
|
||||
</InputGroupAction>
|
||||
@@ -151,10 +152,10 @@
|
||||
</label>
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<div style="display: flex; align-items: center; justify-content: space-between">
|
||||
<div style="display: flex; align-items: center; justify-content: space-between" class="w-full">
|
||||
<div>
|
||||
<Button
|
||||
variant="ghost"
|
||||
variant="outline"
|
||||
@click="openExternalLink('https://docs.vrchat.com/docs/configuration-file')"
|
||||
>{{ t('dialog.config_json.vrchat_docs') }}</Button
|
||||
>
|
||||
@@ -177,10 +178,10 @@
|
||||
import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select';
|
||||
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from '@/components/ui/dialog';
|
||||
import { computed, ref, watch } from 'vue';
|
||||
import { FolderOpen, RefreshCw } from 'lucide-vue-next';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { Checkbox } from '@/components/ui/checkbox';
|
||||
import { InputGroupAction } from '@/components/ui/input-group';
|
||||
import { RefreshCw } from 'lucide-vue-next';
|
||||
import { Spinner } from '@/components/ui/spinner';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { toast } from 'vue-sonner';
|
||||
@@ -329,7 +330,7 @@
|
||||
function showDeleteAllVRChatCacheConfirm() {
|
||||
modalStore
|
||||
.confirm({
|
||||
description: 'Continue? Trash2 all VRChat cache',
|
||||
description: 'Continue? all VRChat cache',
|
||||
title: 'Confirm'
|
||||
})
|
||||
.then(({ ok }) => {
|
||||
|
||||
Reference in New Issue
Block a user