mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Merge pull request 'Fix untranslated texts' (#51) from Denevola/Hyperpipe:patch-unused-translation-fix into main
Reviewed-on: https://codeberg.org/Hyperpipe/Hyperpipe/pulls/51
This commit is contained in:
commit
407551ea47
3 changed files with 11 additions and 11 deletions
|
@ -216,7 +216,7 @@ onMounted(async () => {
|
||||||
|
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="Playlist name..."
|
:placeholder="t('playlist.name') + '...'"
|
||||||
class="textbox"
|
class="textbox"
|
||||||
v-model="text" />
|
v-model="text" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -284,7 +284,7 @@ onMounted(async () => {
|
||||||
<template v-for="i in list">
|
<template v-for="i in list">
|
||||||
<AlbumItem
|
<AlbumItem
|
||||||
:name="i.name"
|
:name="i.name"
|
||||||
:author="'Songs • ' + i.urls.length"
|
:author="t('title.songs') + ' • ' + i.urls.length"
|
||||||
:grad="useRand()"
|
:grad="useRand()"
|
||||||
@open-album="Play(i.name)" />
|
@open-album="Play(i.name)" />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -91,7 +91,7 @@ async function Like() {
|
||||||
<Modal
|
<Modal
|
||||||
n="2"
|
n="2"
|
||||||
:display="showme.pl"
|
:display="showme.pl"
|
||||||
title="Select Playlist to Add"
|
:title="t('playlist.select')"
|
||||||
@show="
|
@show="
|
||||||
e => {
|
e => {
|
||||||
showme.pl = e;
|
showme.pl = e;
|
||||||
|
|
|
@ -4,6 +4,10 @@ import { defineStore } from 'pinia';
|
||||||
import en from '@/locales/en.json';
|
import en from '@/locales/en.json';
|
||||||
|
|
||||||
export const SUPPORTED_LOCALES = [
|
export const SUPPORTED_LOCALES = [
|
||||||
|
{
|
||||||
|
code: 'ar',
|
||||||
|
name: 'عربي',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: 'de',
|
code: 'de',
|
||||||
name: 'Deutsch',
|
name: 'Deutsch',
|
||||||
|
@ -28,14 +32,6 @@ export const SUPPORTED_LOCALES = [
|
||||||
code: 'it',
|
code: 'it',
|
||||||
name: 'Italiano',
|
name: 'Italiano',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
code: 'vi',
|
|
||||||
name: 'Tiếng Việt',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
code: 'ar',
|
|
||||||
name: 'عربي',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
code: 'ja',
|
code: 'ja',
|
||||||
name: '日本語',
|
name: '日本語',
|
||||||
|
@ -44,6 +40,10 @@ export const SUPPORTED_LOCALES = [
|
||||||
code: 'ko',
|
code: 'ko',
|
||||||
name: '한국어',
|
name: '한국어',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
code: 'vi',
|
||||||
|
name: 'Tiếng Việt',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
code: 'zh_Hans',
|
code: 'zh_Hans',
|
||||||
name: '中文 (简体)',
|
name: '中文 (简体)',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue