mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Changes:
- Closes #9 - Removed dependency on vue-i18n - Localization Changes
This commit is contained in:
parent
44db54737b
commit
fcc3d455c6
18 changed files with 143 additions and 270 deletions
|
@ -3,11 +3,12 @@ import { ref, watch } from 'vue';
|
|||
|
||||
import { getJsonHyp } from '@/scripts/fetch.js';
|
||||
import { useData } from '@/stores/player.js';
|
||||
import { useT } from '@/scripts/i18n.js';
|
||||
import { useI18n } from '@/stores/misc.js';
|
||||
|
||||
import TextModal from './TextModal.vue';
|
||||
|
||||
const data = useData(),
|
||||
const { t } = useI18n(),
|
||||
data = useData(),
|
||||
text = ref(''),
|
||||
source = ref(''),
|
||||
status = ref(false);
|
||||
|
@ -51,8 +52,8 @@ watch(
|
|||
class="placeholder"
|
||||
:data-placeholder="
|
||||
data.state.urls[0]?.url && !status
|
||||
? useT('info.lyrics.load')
|
||||
: useT('info.lyrics.void')
|
||||
? t('lyrics.load')
|
||||
: t('lyrics.void')
|
||||
"
|
||||
>{{ text }}</pre
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue