Skip to content

Commit 135b6c8

Browse files
author
Damiano
committed
Hosting
1 parent c660772 commit 135b6c8

File tree

7 files changed

+27
-5
lines changed

7 files changed

+27
-5
lines changed

Diff for: composition-api/src/App.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
@clicked="onLocaleClicked"
99
/>
1010
<div id="nav" class="nav">
11-
<router-link to="/">Reddit Playground</router-link> |
12-
<router-link to="/home">Home</router-link> |
13-
<router-link to="/about">About</router-link>
11+
<router-link to="/">{{ i18n.t('navigation.redditsample') }}</router-link> |
12+
<router-link to="/home">{{ i18n.t('navigation.home') }}</router-link> |
13+
<router-link to="/about">{{ i18n.t('navigation.about') }}</router-link>
1414
</div>
1515
<router-view />
1616
</div>

Diff for: composition-api/src/config/config-files/beta.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"items": {
1111
"apiUrls": {
12-
"fetchItems": "/path/to/your/real/BETA/api/and-point"
12+
"fetchItemsBAK": "/path/to/your/real/BETA/api/and-point",
13+
"fetchItems": "/static/data/items.json"
1314
}
1415
},
1516
"reddit": {

Diff for: composition-api/src/config/config-files/live.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
},
1010
"items": {
1111
"apiUrls": {
12-
"fetchItems": "/path/to/your/real/LIVE/api/and-point"
12+
"fetchItemsBAK": "/path/to/your/real/LIVE/api/and-point",
13+
"fetchItems": "static/data/items.json"
1314
}
1415
},
1516
"reddit": {

Diff for: composition-api/src/plugins/vue-i18n-next-plugin/locales/en-US.json

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
},
4545
"messages": {
4646
"welcome": "Welcome: this message is localized in English",
47+
"navigation": {
48+
"home": "Home",
49+
"about": "About",
50+
"redditsample": "Reddit Playground"
51+
},
4752
"items": {
4853
"list": {
4954
"header": "My Items"

Diff for: composition-api/src/plugins/vue-i18n-next-plugin/locales/es-ES.json

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
},
4545
"messages": {
4646
"welcome": "Bienvenido: this message is localized in Spanish",
47+
"navigation": {
48+
"home": "Inicio",
49+
"about": "Acerca de",
50+
"redditsample": "Jugando con Reddit"
51+
},
4752
"items": {
4853
"list": {
4954
"header": "Mis cosas"

Diff for: composition-api/src/plugins/vue-i18n-next-plugin/locales/fr-FR.json

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
},
4545
"messages": {
4646
"welcome": "Bienvenue: this message is localized in French",
47+
"navigation": {
48+
"home": "Accueil",
49+
"about": "About",
50+
"redditsample": "Jouer avec Reddit"
51+
},
4752
"items": {
4853
"list": {
4954
"header": "Mes articles"

Diff for: composition-api/src/plugins/vue-i18n-next-plugin/locales/it-IT.json

+5
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@
4444
},
4545
"messages": {
4646
"welcome": "Benvenuti: this message is localized in Italian",
47+
"navigation": {
48+
"home": "Home",
49+
"about": "About",
50+
"redditsample": "Giocando con Reddit"
51+
},
4752
"items": {
4853
"list": {
4954
"header": "I miei articoli"

0 commit comments

Comments
 (0)