This commit is contained in:
pa
2026-02-18 18:14:21 +09:00
parent a13b197d06
commit 7288995c73
22 changed files with 198 additions and 110 deletions

View File

@@ -39,7 +39,9 @@
<template v-if="photonLoggingEnabled">
<br />
<div class="mb-[5px] flex items-center">
<span class="inline-block min-w-[190px] pr-2.5 text-right">Photon Event Logging</span>
<span class="inline-block min-w-[190px] pr-2.5 text-right">{{
t('view.feed.photon_event_logging')
}}</span>
</div>
<div
v-for="setting in photonFeedFiltersOptions"
@@ -73,9 +75,7 @@
<Button variant="secondary" @click="currentResetFunction">{{
t('dialog.shared_feed_filters.reset')
}}</Button>
<Button @click="handleDialogClose">{{
t('dialog.shared_feed_filters.close')
}}</Button>
<Button @click="handleDialogClose">{{ t('dialog.shared_feed_filters.close') }}</Button>
</DialogFooter>
</DialogContent>
</Dialog>

View File

@@ -330,8 +330,8 @@
function showDeleteAllVRChatCacheConfirm() {
modalStore
.confirm({
description: 'Continue? all VRChat cache',
title: 'Confirm'
description: t('confirm.clear_cache'),
title: t('confirm.title')
})
.then(({ ok }) => {
if (ok) {
@@ -344,9 +344,9 @@
async function deleteAllVRChatCache() {
try {
await AssetBundleManager.DeleteAllCache();
toast.success('All VRChat cache deleted');
toast.success(t('message.cache.deleted'));
} catch (error) {
toast.error(`Error deleting VRChat cache: ${error.message}`);
toast.error(t('message.cache.delete_error', { error: error.message }));
}
getVRChatCacheSize();
}
@@ -441,7 +441,7 @@
const parsedConfig = JSON.parse(config);
VRChatConfigFile.value = { ...VRChatConfigFile.value, ...parsedConfig };
} catch {
toast.error('Invalid JSON in config.json');
toast.error(t('message.cache.invalid_config'));
throw new Error('Invalid JSON in config.json');
}
}