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"
:key="i.name"
:value="i.api_url.replace('https://', '').replace('http://', '')">
{{ i.name }}
{{ i.name.replace('Official', t('instances.default')) }}
</option>
<option v-if="!verifyApi">
@ -210,7 +210,7 @@ onMounted(() => {
<tbody v-for="i in hypInstances" :key="i.name">
<tr>
<td>
{{ i.name }}
{{ i.name.replace('Official', t('instances.default')) }}
</td>
<td>
{{ i.locations.replaceAll(',', '') }}
@ -237,7 +237,7 @@ onMounted(() => {
v-for="i in instances"
:key="i.name"
:value="i.api_url.replace('https://', '')">
{{ i.name.replace('Official', 'Default') }}
{{ i.name.replace('Official', t('instances.default')) }}
</option>
<option v-if="!verifyPipedApi">
@ -256,7 +256,7 @@ onMounted(() => {
v-for="i in instances"
:key="i.name"
:value="i.api_url.replace('https://', '')">
{{ i.name.replace('Official', 'Default') }}
{{ i.name.replace('Official', t('instances.default')) }}
</option>
<option v-if="!verifyAuthApi">
@ -278,7 +278,7 @@ onMounted(() => {
<tbody v-for="i in instances" :key="i.name">
<tr>
<td>
{{ i.name.replace('Official', 'Default') }}
{{ i.name.replace('Official', t('instances.default')) }}
</td>
<td>
{{ i.locations.replaceAll(',', '') }}