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:
Shiny Nematoda 2022-10-12 20:17:22 +02:00
commit 407551ea47
3 changed files with 11 additions and 11 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;

View file

@ -4,6 +4,10 @@ import { defineStore } from 'pinia';
import en from '@/locales/en.json';
export const SUPPORTED_LOCALES = [
{
code: 'ar',
name: 'عربي',
},
{
code: 'de',
name: 'Deutsch',
@ -28,14 +32,6 @@ export const SUPPORTED_LOCALES = [
code: 'it',
name: 'Italiano',
},
{
code: 'vi',
name: 'Tiếng Việt',
},
{
code: 'ar',
name: 'عربي',
},
{
code: 'ja',
name: '日本語',
@ -44,6 +40,10 @@ export const SUPPORTED_LOCALES = [
code: 'ko',
name: '한국어',
},
{
code: 'vi',
name: 'Tiếng Việt',
},
{
code: 'zh_Hans',
name: '中文 (简体)',