mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-01 04:33:46 +02:00
i18n
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user