🌐 (app) init 18n in en and french

This commit is contained in:
2020-07-18 23:32:47 +02:00
parent 4cae3c7a49
commit 62749a3bf7
14 changed files with 311 additions and 40 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="chilled-music">
<transition name="fade">
<img v-show="!ready" src="@/assets/loader.svg" alt="loading" />
<img v-show="!ready" src="@/assets/loader.svg" :alt="$t('loading')" />
</transition>
<section v-show="false">
<div
@@ -114,3 +114,14 @@ img {
animation: rotating 4s linear infinite;
}
</style>
<i18n>
{
"en": {
"loading": "loading..."
},
"fr": {
"loading": "chargement..."
}
}
</i18n>