From 5aa17648482b66a06ec69f0ab05151ffd8de0860 Mon Sep 17 00:00:00 2001
From: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com>
Date: Sun, 28 Jan 2024 19:59:08 +0100
Subject: [PATCH] Add translation keys for authorize page (#1594)
* Begin Work
* Error label
* WIP
* Finish button & add authorize label
* Redirect URL Label
* Reorganize
* Finish work
* Fix lint error
* camelCase !
* Normalization
* Apply suggestion from brawaru
* Fix forgotten
---
locales/en-US/index.json | 21 +++++++++++
pages/auth/authorize.vue | 78 ++++++++++++++++++++++++++++++++--------
utils/common-messages.ts | 4 +++
3 files changed, 88 insertions(+), 15 deletions(-)
diff --git a/locales/en-US/index.json b/locales/en-US/index.json
index 709d83257..db44837d0 100644
--- a/locales/en-US/index.json
+++ b/locales/en-US/index.json
@@ -1,4 +1,22 @@
{
+ "auth.authorize.action.authorize": {
+ "message": "Authorize"
+ },
+ "auth.authorize.action.decline": {
+ "message": "Decline"
+ },
+ "auth.authorize.app-info": {
+ "message": "{appName} by
{{ error.data.error }}: @@ -20,15 +20,28 @@
- You will be redirected to
- {{ redirectUri }}
+