mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-16 03:34:48 +02:00
adding italian, removing french placeholder
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
<label for="locale">locale</label>
|
<label for="locale">locale</label>
|
||||||
<select v-model="locale">
|
<select v-model="locale">
|
||||||
<option>en</option>
|
<option>en</option>
|
||||||
<option>fr</option>
|
|
||||||
<option>ko</option>
|
<option>ko</option>
|
||||||
<option>id</option>
|
<option>id</option>
|
||||||
<option>hi</option>
|
<option>hi</option>
|
||||||
|
<option>it</option>
|
||||||
</select>
|
</select>
|
||||||
</nav>
|
</nav>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,18 +1,18 @@
|
|||||||
// index.js
|
// index.js
|
||||||
import en from './en.json';
|
import en from './en.json';
|
||||||
import fr from './fr.json';
|
|
||||||
import ko from './ko.json';
|
import ko from './ko.json';
|
||||||
import id from './id.json';
|
import id from './id.json';
|
||||||
import hi from './hi.json';
|
import hi from './hi.json';
|
||||||
|
import it from './it.json';
|
||||||
|
|
||||||
//export const defaultLocale = 'en';
|
//export const defaultLocale = 'en';
|
||||||
|
|
||||||
const messages = {
|
const messages = {
|
||||||
en: en[0],
|
en: en[0],
|
||||||
fr: fr[0],
|
|
||||||
ko: ko[0],
|
ko: ko[0],
|
||||||
id: id[0],
|
id: id[0],
|
||||||
hi: hi[0],
|
hi: hi[0],
|
||||||
|
it: it[0],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default messages;
|
export default messages;
|
||||||
|
Reference in New Issue
Block a user