This repository was archived by the owner on Feb 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +67
-7
lines changed
Expand file tree Collapse file tree 5 files changed +67
-7
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 11<template >
22 <div class =" mainContainer pt-1" >
33 <v-card flat class =" pb-5 background" :class =" $vuetify.theme.dark ? 'lighten-1' : 'darken-1'" :style =" {borderRadius: `${roundTweak / 2}rem`}" >
4- <v-card-title >Default Page </v-card-title >
4+ <v-card-title >{{ lang.mods.startup.defaultpage }} </v-card-title >
55 <v-card-text >
66 <v-select v-model =" page" background-color =" background" :items =" pages" label =" Default Page" solo ></v-select >
77 </v-card-text >
1515 computed: {
1616 roundTweak () {
1717 return this .$store .state .tweaks .roundTweak ;
18- }
18+ },
1919 },
2020
2121 data () {
2222 return {
2323 page: " home" ,
2424 pages: [],
25+ lang: { mods: { startup: {} } }
2526 };
2627 },
2728
3435 mounted () {
3536 this .page = localStorage .getItem (" startPage" ) || " home" ;
3637
37- const langPack = this .$lang (' global' );
38+ const lang = this .$lang (); this .lang = lang;
39+
3840 this .pages = [{
3941 value: " home" ,
40- text: langPack .home
42+ text: lang . global .home
4143 }, {
4244 value: " subscriptions" ,
43- text: langPack .subscriptions
45+ text: lang . global .subscriptions
4446 }, {
4547 value: " library" ,
46- text: langPack .library
48+ text: lang . global .library
4749 }];
4850 }
4951 };
Original file line number Diff line number Diff line change 11function module ( text ) {
2- const selectedLanguage = localStorage . getItem ( text ) || "english" ;
2+ const selectedLanguage = localStorage . getItem ( "language" ) || "english" ;
33 const languagePack = require ( './languages/' + selectedLanguage ) ;
44
55 if ( ! text ) return languagePack ;
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ module.exports = {
2626 } ,
2727
2828 mods : {
29+ startup : {
30+ defaultpage : "Default Page"
31+ } ,
2932 about : {
3033 appinformation : "App Information" ,
3134 appversion : "App Version" ,
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ name : "Italian" ,
3+
4+ global : {
5+ home : "Casa" ,
6+ subscriptions : "Abbonamento" ,
7+ library : "Biblioteca"
8+ } ,
9+
10+ index : {
11+ connecting : "Collegamento" ,
12+ launching : "Lanciare"
13+ } ,
14+
15+ settings : {
16+ general : "Generale" ,
17+ theme : "Tema" ,
18+ player : "Lettore" ,
19+ uitweaker : "Mettere UI" ,
20+ startupoptions : "Opzione Avvio" ,
21+ plugins : "Aggiuntivo Componente" ,
22+ updates : "Aggiornare" ,
23+ logs : "Registro" ,
24+ about : "Chiedere Di" ,
25+ devmode : "Editor Registro"
26+ } ,
27+
28+ mods : {
29+ startup : {
30+ defaultpage : "Pagina Predefinita"
31+ } ,
32+ about : {
33+ appinformation : "Informazioni Applicazione" ,
34+ appversion : "Versione Applicazione" ,
35+ deviceinformation : "Informazioni Congegno" ,
36+ platform : "Piattaforma" ,
37+ os : "Sistema Operativo" ,
38+ model : "Modello" ,
39+ manufacturer : "Costruttore" ,
40+ emulator : "Emulatore" ,
41+ github : "GitHub" ,
42+ discord : "Discord"
43+ }
44+ } ,
45+
46+ events : {
47+ welcome : "Welcome to VueTube" ,
48+ tagline : "The future of video streaming" ,
49+ next : "Prossimo" ,
50+ updated : "VueTube Was Updated!" ,
51+ awesome : "Imponente!"
52+ }
53+
54+
55+ }
You can’t perform that action at this time.
0 commit comments