replace with i18n

This commit is contained in:
Puniko 2022-12-27 13:01:06 +01:00
parent 4234dfbdbc
commit dba4f0a4a9

View file

@ -1,8 +1,8 @@
<template> <template>
<div class="mod-player-disabled" v-if="hide" @click="hide = false"> <div class="mod-player-disabled" v-if="hide" @click="hide = false">
<div> <div>
<b><i class="fas fa-exlamation-triangle"></i> {{ $ts.sensitive }}</b> <b><i class="fas fa-exlamation-triangle"></i> {{ i18n.ts.sensitive }}</b>
<span>{{ $ts.clickToShow }}</span> <span>{{ i18n.ts.clickToShow }}</span>
</div> </div>
</div> </div>
@ -31,6 +31,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import { ref } from 'vue'; import { ref } from 'vue';
import * as foundkey from 'foundkey-js'; import * as foundkey from 'foundkey-js';
import { i18n } from '@/i18n';
import { defaultStore } from '@/store'; import { defaultStore } from '@/store';
import { ChiptuneJsPlayer, ChiptuneJsConfig } from '@/scripts/chiptune2'; import { ChiptuneJsPlayer, ChiptuneJsConfig } from '@/scripts/chiptune2';