add translatable strings for default instances

This commit is contained in:
vrifox 2023-07-18 16:39:58 +02:00 committed by Shiny Nematoda
parent a50892c49d
commit 2e3ab42908
3 changed files with 9 additions and 7 deletions

View file

@ -247,7 +247,7 @@ onMounted(() => {
v-for="i in hypInstances" v-for="i in hypInstances"
:key="i.name" :key="i.name"
:value="i.api_url.replace('https://', '').replace('http://', '')"> :value="i.api_url.replace('https://', '').replace('http://', '')">
{{ i.name }} {{ i.name.replace('Official', t('instances.default')) }}
</option> </option>
<option v-if="!verifyApi"> <option v-if="!verifyApi">
@ -266,7 +266,7 @@ onMounted(() => {
<tbody v-for="i in hypInstances" :key="i.name"> <tbody v-for="i in hypInstances" :key="i.name">
<tr> <tr>
<td> <td>
{{ i.name }} {{ i.name.replace('Official', t('instances.default')) }}
</td> </td>
<td> <td>
{{ i.locations.replaceAll(',', '') }} {{ i.locations.replaceAll(',', '') }}
@ -293,7 +293,7 @@ onMounted(() => {
v-for="i in instances" v-for="i in instances"
:key="i.name" :key="i.name"
:value="i.api_url.replace('https://', '')"> :value="i.api_url.replace('https://', '')">
{{ i.name.replace('Official', 'Default') }} {{ i.name.replace('Official', t('instances.default')) }}
</option> </option>
<option v-if="!verifyPipedApi"> <option v-if="!verifyPipedApi">
@ -312,7 +312,7 @@ onMounted(() => {
v-for="i in instances" v-for="i in instances"
:key="i.name" :key="i.name"
:value="i.api_url.replace('https://', '')"> :value="i.api_url.replace('https://', '')">
{{ i.name.replace('Official', 'Default') }} {{ i.name.replace('Official', t('instances.default')) }}
</option> </option>
<option v-if="!verifyAuthApi"> <option v-if="!verifyAuthApi">
@ -334,7 +334,7 @@ onMounted(() => {
<tbody v-for="i in instances" :key="i.name"> <tbody v-for="i in instances" :key="i.name">
<tr> <tr>
<td> <td>
{{ i.name.replace('Official', 'Default') }} {{ i.name.replace('Official', t('instances.default')) }}
</td> </td>
<td> <td>
{{ i.locations.replaceAll(',', '') }} {{ i.locations.replaceAll(',', '') }}

View file

@ -79,7 +79,8 @@
"auth": "Authentifizierungsinstanz", "auth": "Authentifizierungsinstanz",
"loc": "Standorte", "loc": "Standorte",
"cdn": "CDN", "cdn": "CDN",
"name": "Name" "name": "Name",
"default": "Standard"
}, },
"lyrics": { "lyrics": {
"load": "Abrufen von Liedtexten", "load": "Abrufen von Liedtexten",

View file

@ -79,7 +79,8 @@
"loc": "Locations", "loc": "Locations",
"cdn": "CDN", "cdn": "CDN",
"up_to_date": "Up to Date", "up_to_date": "Up to Date",
"version": "Version" "version": "Version",
"default": "Default"
}, },
"lyrics": { "lyrics": {
"load": "Fetching Lyrics", "load": "Fetching Lyrics",