From 79f64f4cbaffc8a0a5d22cf551d55d9aadbc7b6c Mon Sep 17 00:00:00 2001 From: Jen Looper Date: Tue, 29 Dec 2020 23:54:35 -0500 Subject: [PATCH] i18n localizations --- quiz-app/src/App.vue | 4 +- quiz-app/src/assets/translations/en.json | 1341 +++++++++++++++++ quiz-app/src/assets/translations/en/quiz.json | 1334 ---------------- quiz-app/src/assets/translations/fr.json | 1341 +++++++++++++++++ quiz-app/src/assets/translations/index.js | 12 + quiz-app/src/assets/translations/messages.js | 16 - quiz-app/src/components/Quiz.vue | 11 +- quiz-app/src/main.js | 4 +- 8 files changed, 2703 insertions(+), 1360 deletions(-) create mode 100644 quiz-app/src/assets/translations/en.json delete mode 100644 quiz-app/src/assets/translations/en/quiz.json create mode 100644 quiz-app/src/assets/translations/fr.json create mode 100644 quiz-app/src/assets/translations/index.js delete mode 100644 quiz-app/src/assets/translations/messages.js diff --git a/quiz-app/src/App.vue b/quiz-app/src/App.vue index efae40dd..99a48cd1 100644 --- a/quiz-app/src/App.vue +++ b/quiz-app/src/App.vue @@ -9,7 +9,7 @@
-

{{ $t("message.title") }}

+

{{ $t("title") }}

@@ -19,7 +19,7 @@