parent
4709b11586
commit
79f64f4cba
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,12 @@
|
||||
// index.js
|
||||
import en from './en.json';
|
||||
import fr from './fr.json';
|
||||
|
||||
//export const defaultLocale = 'en';
|
||||
|
||||
const messages = {
|
||||
en: en[0],
|
||||
fr: fr[0],
|
||||
};
|
||||
|
||||
export default messages;
|
@ -1,16 +0,0 @@
|
||||
export default {
|
||||
en: {
|
||||
message: {
|
||||
title: 'Web Development for Beginners: Quizzes',
|
||||
complete: 'Congratulations, you completed the quiz!',
|
||||
error: 'Sorry, try again',
|
||||
},
|
||||
},
|
||||
fr: {
|
||||
message: {
|
||||
title: 'Developpement Web pour Débutants: Quizzes',
|
||||
complete: 'Felicitations, vous avez completé le quiz!',
|
||||
error: 'Désolé, réessayez!',
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Reference in new issue