mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 05:26:05 +02:00
improve i18n
This commit is contained in:
@@ -165,9 +165,9 @@
|
||||
import { HoverCard, HoverCardContent, HoverCardTrigger } from '@/components/ui/hover-card';
|
||||
import { fromDate, getLocalTimeZone, today } from '@internationalized/date';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { DataTableEmpty } from '@/components/ui/data-table';
|
||||
import { ButtonGroup } from '@/components/ui/button-group';
|
||||
import { Calendar } from '@/components/ui/calendar';
|
||||
import { DataTableEmpty } from '@/components/ui/data-table';
|
||||
import { Separator } from '@/components/ui/separator';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { toDate } from 'reka-ui/date';
|
||||
|
||||
@@ -57,9 +57,11 @@
|
||||
@change="setSelfInviteOverride" />
|
||||
|
||||
<div v-if="branch === 'Nightly'">
|
||||
<span class="sub-header">Anonymous Error Reporting (Nightly Only)</span>
|
||||
<span class="sub-header">{{
|
||||
t('view.settings.advanced.advanced.anonymous_error_reporting.header')
|
||||
}}</span>
|
||||
<simple-switch
|
||||
label="Help improve VRCX by sending anonymous error reports. Only collects crash and error information, no personal data or VRChat information is collected."
|
||||
:label="t('view.settings.advanced.advanced.anonymous_error_reporting.description')"
|
||||
:value="sentryErrorReporting"
|
||||
:long-label="true"
|
||||
@change="setSentryErrorReporting()" />
|
||||
|
||||
@@ -52,17 +52,17 @@
|
||||
<div class="flex items-center">
|
||||
<InputGroupSearch
|
||||
v-model="screenshotMetadataDialog.search"
|
||||
placeholder="Search"
|
||||
:placeholder="t('dialog.screenshot_metadata.search_placeholder')"
|
||||
style="width: 200px"
|
||||
@input="screenshotMetadataSearch" />
|
||||
<Select :model-value="screenshotMetadataDialog.searchType" @update:modelValue="handleSearchTypeChange">
|
||||
<SelectTrigger size="sm" style="width: 150px; margin-left: 10px">
|
||||
<SelectValue placeholder="Search Type" />
|
||||
<SelectValue :placeholder="t('dialog.screenshot_metadata.search_type_placeholder')" />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectGroup>
|
||||
<SelectItem v-for="type in screenshotMetadataDialog.searchTypes" :key="type" :value="type">
|
||||
{{ type }}
|
||||
{{ t(screenshotMetadataSearchTypeLabels[type] ?? type) }}
|
||||
</SelectItem>
|
||||
</SelectGroup>
|
||||
</SelectContent>
|
||||
@@ -178,13 +178,20 @@
|
||||
loading: false,
|
||||
search: '',
|
||||
searchType: 'Player Name',
|
||||
searchTypes: ['Player Name', 'Player ID', 'World Name', 'World ID'],
|
||||
searchTypes: ['Player Name', 'Player ID', 'World Name', 'World ID'],
|
||||
searchIndex: null,
|
||||
searchResults: null,
|
||||
metadata: {},
|
||||
isUploading: false
|
||||
});
|
||||
|
||||
const screenshotMetadataSearchTypeLabels = {
|
||||
'Player Name': 'dialog.screenshot_metadata.search_types.player_name',
|
||||
'Player ID': 'dialog.screenshot_metadata.search_types.player_id',
|
||||
'World Name': 'dialog.screenshot_metadata.search_types.world_name',
|
||||
'World ID': 'dialog.screenshot_metadata.search_types.world_id'
|
||||
};
|
||||
|
||||
const screenshotMetadataSearchInputs = ref(0);
|
||||
const screenshotMetadataCarouselApi = ref(null);
|
||||
const ignoreCarouselSelect = ref(false);
|
||||
|
||||
@@ -146,7 +146,9 @@
|
||||
<Settings />
|
||||
</div>
|
||||
<div class="tool-info">
|
||||
<div class="tool-name">{{ t('view.tools.system_tools.launch_options') }}</div>
|
||||
<div class="tool-name">
|
||||
{{ t('view.settings.advanced.advanced.launch_options') }}
|
||||
</div>
|
||||
<div class="tool-description">
|
||||
{{ t('view.tools.system_tools.launch_options_description') }}
|
||||
</div>
|
||||
@@ -159,7 +161,9 @@
|
||||
<Package />
|
||||
</div>
|
||||
<div class="tool-info">
|
||||
<div class="tool-name">{{ t('view.tools.system_tools.registry_backup') }}</div>
|
||||
<div class="tool-name">
|
||||
{{ t('view.settings.advanced.advanced.vrc_registry_backup') }}
|
||||
</div>
|
||||
<div class="tool-description">
|
||||
{{ t('view.tools.system_tools.registry_backup_description') }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user