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