From 75f0b2b82cb8e6fe661ec8435dfa18976bd92e85 Mon Sep 17 00:00:00 2001 From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com> Date: Thu, 18 Jan 2024 18:05:54 +0100 Subject: [PATCH] Add translation keys for welcome page (#1499) * Begin Work * WIP * Add long title key * Finish work (for now) * Fix lint error * Add continue button key * Make continue button key generic --- locales/en-US/index.json | 18 +++++++++++++ pages/auth/welcome.vue | 55 ++++++++++++++++++++++++++++++++-------- utils/common-messages.ts | 4 +++ 3 files changed, 67 insertions(+), 10 deletions(-) diff --git a/locales/en-US/index.json b/locales/en-US/index.json index 805adae2..5ef558f2 100644 --- a/locales/en-US/index.json +++ b/locales/en-US/index.json @@ -1,7 +1,25 @@ { + "auth.welcome.checkbox.subscribe": { + "message": "Subscribe to updates about Modrinth" + }, + "auth.welcome.description": { + "message": "Thank you for creating an account. You can now follow and create projects, receive updates about your favorite projects, and more!" + }, + "auth.welcome.label.tos": { + "message": "By creating an account, you have agreed to Modrinth's Terms and Privacy Policy." + }, + "auth.welcome.long-title": { + "message": "Welcome to Modrinth!" + }, + "auth.welcome.title": { + "message": "Welcome" + }, "button.cancel": { "message": "Cancel" }, + "button.continue": { + "message": "Continue" + }, "button.edit": { "message": "Edit" }, diff --git a/pages/auth/welcome.vue b/pages/auth/welcome.vue index 2ce152fc..fa4486c3 100644 --- a/pages/auth/welcome.vue +++ b/pages/auth/welcome.vue @@ -1,28 +1,36 @@