Skip to content

Commit

Permalink
feat: add option of ja
Browse files Browse the repository at this point in the history
  • Loading branch information
Foo-x committed Jul 24, 2021
1 parent 3698771 commit 281f30e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions quiz-app/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<option>en</option>
<option>tr</option>
<option>fr</option>
<option>ja</option>
</select>
</nav>
<div id="app">
Expand Down
4 changes: 3 additions & 1 deletion quiz-app/src/assets/translations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
import en from './en.json';
import tr from './tr.json';
import fr from './fr.json';
import ja from './ja.json';

//export const defaultLocale = 'en';

const messages = {
en: en[0],
tr: tr[0],
fr: fr[0]
fr: fr[0],
ja: ja[0]
};

export default messages;

0 comments on commit 281f30e

Please sign in to comment.