add translatable strings for default instances

This commit is contained in:
vrifox 2023-07-18 16:39:58 +02:00
parent dae923af91
commit d939ac788f
No known key found for this signature in database
GPG key ID: D40098E5B60B2197
3 changed files with 9 additions and 7 deletions

View file

@ -191,7 +191,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">
@ -210,7 +210,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(',', '') }}
@ -237,7 +237,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">
@ -256,7 +256,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">
@ -278,7 +278,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

@ -76,7 +76,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

@ -76,7 +76,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",