This commit is contained in:
Shiny Nematoda 2022-10-17 17:13:37 +00:00
commit fcebca44fb
No known key found for this signature in database
GPG key ID: 6506D50F5613A42D
9 changed files with 269 additions and 70 deletions

View file

@ -216,7 +216,7 @@ onMounted(async () => {
<input
type="text"
placeholder="Playlist name..."
:placeholder="t('playlist.name') + '...'"
class="textbox"
v-model="text" />
</template>
@ -284,7 +284,7 @@ onMounted(async () => {
<template v-for="i in list">
<AlbumItem
:name="i.name"
:author="'Songs • ' + i.urls.length"
:author="t('title.songs') + ' • ' + i.urls.length"
:grad="useRand()"
@open-album="Play(i.name)" />
</template>

View file

@ -91,7 +91,7 @@ async function Like() {
<Modal
n="2"
:display="showme.pl"
title="Select Playlist to Add"
:title="t('playlist.select')"
@show="
e => {
showme.pl = e;

65
src/locales/cs.json Normal file
View file

@ -0,0 +1,65 @@
{
"title": {
"albums": "Alba",
"similar_artists": "Podobní umělci",
"community": "Komunita",
"login": "Přihlásit se",
"local": "Místní",
"remote": "Vzdálené",
"search": "Hledat",
"songs": "Skladby",
"moods": "Nálady",
"featured": "Doporučené",
"singles": "Singly",
"artists": "Umělci",
"genres": "Žánry",
"spotlight": "V záři reflektorů"
},
"pref": {
"codec": "Kodek",
"player": "Přehrávač zvuku",
"auto": "auto",
"volume": "Výchozí hlasitost",
"auto_queue": "Automaticky přidávat skladby do fronty",
"worst": "nejhorší",
"theme": "Motiv",
"quality": "Kvalita",
"best": "nejlepší"
},
"instances": {
"name": "Název",
"loc": "Lokace",
"cdn": "CDN",
"up_to_date": "Aktualizována",
"version": "Verze",
"hyp": "Instance Hyperpipe",
"piped": "Instance Piped",
"auth": "Autentifikační instance"
},
"lyrics": {
"load": "Načítání textů",
"void": "Žádné texty"
},
"action": {
"back": "Zpět",
"create": "Vytvořit",
"add": "Přidat",
"cancel": "Zrušit",
"send": "Poslat",
"receive": "Obdržet"
},
"playlist": {
"local": "Místní playlisty",
"create": "Vytvořit nový playlist",
"remote": "Vzdálené playlisty",
"add": "Přidat skladby do playlistu",
"select": "Vyberte playlisty k přidání",
"name": "Název playlistu",
"sync": "Synchronizovat playlisty"
},
"info": {
"see_all": "Zobrazit vše",
"search": "Začít hledat",
"no_info": "Nejsou dostupné žádné informace"
}
}

View file

@ -49,7 +49,7 @@
"no_info": "No hay información disponible"
},
"instances": {
"piped": "Instancia canalizada",
"piped": "Instancia de Piped",
"cdn": "Canal de noticias",
"up_to_date": "Hasta la fecha",
"version": "Versión",

12
src/locales/gl.json Normal file
View file

@ -0,0 +1,12 @@
{
"title": {
"songs": "Cancións",
"albums": "Álbums",
"singles": "Singles",
"artists": "Artistas",
"similar_artists": "Artistas similares",
"moods": "Estado de ánimo",
"genres": "Xéneros",
"featured": "Destacado"
}
}

65
src/locales/id.json Normal file
View file

@ -0,0 +1,65 @@
{
"title": {
"artists": "Artis",
"similar_artists": "Artis Serupa",
"login": "Login",
"albums": "Album",
"remote": "Remote",
"songs": "Lagu",
"singles": "Singel",
"genres": "Genre",
"featured": "Unggulan",
"community": "Komunitas",
"search": "Cari",
"spotlight": "Sorotan",
"moods": "Suasana",
"local": "Lokal"
},
"playlist": {
"select": "Pilih Daftar Putar yang Ingin Ditambahkan",
"add": "Tambah Lagu ke Daftar Putar",
"sync": "Sinkronisasi Daftar Putar",
"local": "Daftar Putar Lokal",
"remote": "Daftar Putar Remote",
"name": "Judul Daftar Putar",
"create": "Buat Daftar Putar Baru"
},
"pref": {
"auto_queue": "Antrekan Lagu Secara Otomatis",
"best": "paling tinggi",
"theme": "Tema",
"player": "Pemutar Audio",
"quality": "Kualitas",
"codec": "Codec",
"worst": "paling rendah",
"auto": "otomatis",
"volume": "Volume Default"
},
"info": {
"no_info": "Tidak Ada Informasi Tersedia",
"search": "Mulai Pencarian",
"see_all": "Tampilkan Semua"
},
"action": {
"add": "Tambah",
"create": "Buat",
"cancel": "Batal",
"send": "Kirim",
"receive": "Terima",
"back": "Kembali"
},
"instances": {
"piped": "Instance Piped",
"hyp": "Instance Hyperpipe",
"auth": "Instance Otentikasi",
"name": "Nama",
"loc": "Lokasi",
"cdn": "CDN",
"version": "Versi",
"up_to_date": "Terkini"
},
"lyrics": {
"void": "Tidak Ada Lirik",
"load": "Mengambil Lirik"
}
}

1
src/locales/ru.json Normal file
View file

@ -0,0 +1 @@
{}

44
src/locales/vi.json Normal file
View file

@ -0,0 +1,44 @@
{
"title": {
"songs": "Các bài hát",
"albums": "Các album",
"artists": "Các nhạc sĩ",
"similar_artists": "Các nhạc sĩ liên quan",
"genres": "Các thể loại",
"community": "Cộng đồng",
"search": "Tìm kiếm",
"singles": "Các đĩa đơn",
"login": "Đăng nhập",
"moods": "Chủ đề"
},
"pref": {
"auto": "tự động",
"codec": "Codec",
"volume": "Âm lượng mặc định",
"player": "Trình phát âm thanh",
"best": "cao nhất",
"worst": "thấp nhất",
"quality": "Chất lượng"
},
"action": {
"cancel": "Hủy",
"create": "Tạo",
"add": "Thêm",
"back": "Quay lại",
"receive": "Nhận"
},
"instances": {
"version": "Phiên bản",
"name": "Tên",
"cdn": "CDN",
"loc": "Các vị trí"
},
"playlist": {
"create": "Tạo một danh sách phát mới",
"name": "Tên danh sách phát",
"add": "Thêm bài hát vào danh sách phát"
},
"info": {
"search": "Bắt đầu tìm kiếm"
}
}

View file

@ -4,6 +4,14 @@ import { defineStore } from 'pinia';
import en from '@/locales/en.json';
export const SUPPORTED_LOCALES = [
{
code: 'ar',
name: 'عربي',
},
{
code: 'cs',
name: 'Čeština',
},
{
code: 'de',
name: 'Deutsch',
@ -21,12 +29,12 @@ export const SUPPORTED_LOCALES = [
name: 'Français',
},
{
code: 'it',
name: 'Italiano',
code: 'gl',
name: 'Galego',
},
{
code: 'ar',
name: 'عربي',
code: 'it',
name: 'Italiano',
},
{
code: 'ja',
@ -36,6 +44,10 @@ export const SUPPORTED_LOCALES = [
code: 'ko',
name: '한국어',
},
{
code: 'vi',
name: 'Tiếng Việt',
},
{
code: 'zh_Hans',
name: '中文 (简体)',