mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Add russian and update translations
This commit is contained in:
parent
a9abcdc8bb
commit
a511cf398f
4 changed files with 7 additions and 5 deletions
|
@ -25,7 +25,7 @@ export default {
|
|||
|
||||
<template>
|
||||
<div class="bg-ctp-crust w-40 lg:w-[11rem] md:w-[13.5rem] rounded-lg">
|
||||
<router-link :to="`/game/${category.name}`">
|
||||
<router-link :to="`/directory/game/${category.name}`">
|
||||
<img :src="category.image" class="rounded-lg rounded-b-none w-full" />
|
||||
</router-link>
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
export default {
|
||||
setup() {
|
||||
return {
|
||||
langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR', 'he-IL'],
|
||||
names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی', 'עִבְרִית']
|
||||
langs: ['en-US', 'es-ES', 'nl-NL', 'pt-PT', 'fa-IR', 'he-IL', 'ru-RU'],
|
||||
names: ['English', 'Español', 'Nederlands', 'Português', 'فارسی', 'עִבְרִית', 'Русский']
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
|
@ -5,6 +5,7 @@ import nl from '@/locales/nl.json'
|
|||
import pt from '@/locales/pt.json'
|
||||
import fa from '@/locales/fa.json'
|
||||
import he from '@/locales/he.json'
|
||||
import ru from '@/locales/ru.json'
|
||||
|
||||
export default createI18n({
|
||||
legacy: false,
|
||||
|
@ -17,6 +18,7 @@ export default createI18n({
|
|||
'nl-NL': nl,
|
||||
'pt-PT': pt,
|
||||
'fa-IR': fa,
|
||||
'he-IL': he
|
||||
'he-IL': he,
|
||||
'ru-RU': ru
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit aa85d433fada299ea3d3c256954116d559b02253
|
||||
Subproject commit 1d5cb5d2208ad9b9134ab970d68033ccf4e9ef27
|
Loading…
Reference in a new issue