From 1612e4751db0ce0ca2c361a18415c0ee57d27fe1 Mon Sep 17 00:00:00 2001
From: Gradient1058 <14628263-Gradient1058@users.noreply.gitlab.com>
Date: Mon, 29 May 2023 19:46:50 +0300
Subject: [PATCH 1/2] Unhardcode footer strings
---
components/Footer.vue | 7 +++----
locale/en/translations.suml | 4 ++++
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/components/Footer.vue b/components/Footer.vue
index 0ce6f0794..7b2c58268 100644
--- a/components/Footer.vue
+++ b/components/Footer.vue
@@ -85,7 +85,7 @@
- Version:
+ footer.version
/
@@ -128,8 +128,7 @@
- Using gradientmagic.com
- and Noto Color Emoji
+ footer.using
@@ -150,7 +149,7 @@
- Source code
+ api.source
diff --git a/locale/en/translations.suml b/locale/en/translations.suml
index da276937f..4129a3951 100644
--- a/locale/en/translations.suml
+++ b/locale/en/translations.suml
@@ -979,6 +979,8 @@ crud:
footer:
license: >
{https://gitlab.com/PronounsPage/PronounsPage=Source code} and content are licensed under {/license=OQL}.
+ using: >
+ Using {https://www.gradientmagic.com/=gradientmagic.com} and {https://fonts.google.com/noto/specimen/Noto+Color+Emoji=Noto Color Emoji}
links: 'Contact & social media'
legal: 'Legal'
financial: 'Financial transparency'
@@ -998,6 +1000,7 @@ footer:
uptime: 'Uptime'
responseTime: 'Avg response time'
month: 'month'
+ version: 'Version:'
notFound:
message: 'Page was not found'
@@ -1186,6 +1189,7 @@ api:
header: 'Public API'
example: 'Example'
query: 'Query string parameters'
+ source: 'Source code'
quotation:
start: '“'
From 0355f963671c23dd38d021d125bda27f4adf1a48 Mon Sep 17 00:00:00 2001
From: Gradient1058 <14628263-Gradient1058@users.noreply.gitlab.com>
Date: Mon, 29 May 2023 21:15:39 +0300
Subject: [PATCH 2/2] Add missing
---
locale/_base/translations.suml | 4 ++++
locale/expectedTranslations.js | 3 +++
2 files changed, 7 insertions(+)
diff --git a/locale/_base/translations.suml b/locale/_base/translations.suml
index 3f13695b0..368dad538 100644
--- a/locale/_base/translations.suml
+++ b/locale/_base/translations.suml
@@ -806,6 +806,8 @@ crud:
footer:
license: >
{https://gitlab.com/PronounsPage/PronounsPage=Source code} and content are licensed under {/license=OQL}.
+ using: >
+ Using {https://www.gradientmagic.com/=gradientmagic.com} and {https://fonts.google.com/noto/specimen/Noto+Color+Emoji=Noto Color Emoji}
links: 'Contact, social media'
legal: 'Legal'
financial: 'Financial transparency'
@@ -825,6 +827,7 @@ footer:
uptime: 'Uptime'
responseTime: 'Avg response time'
month: 'month'
+ version: 'Version:'
notFound:
message: 'Page was not found'
@@ -1029,6 +1032,7 @@ api:
header: 'Public API'
example: 'Example'
query: 'Query string parameters'
+ source: 'Source code'
quotation:
start: '“'
diff --git a/locale/expectedTranslations.js b/locale/expectedTranslations.js
index f865ccbab..204ae359d 100644
--- a/locale/expectedTranslations.js
+++ b/locale/expectedTranslations.js
@@ -45,6 +45,8 @@ module.exports = [
'footer.stats.keys.visitDuration',
'footer.stats.keys.uptime',
'footer.stats.keys.responseTime',
+ 'footer.using',
+ 'footer.version',
'privacy.header',
'user.avatar.failed',
'user.qr.header',
@@ -121,4 +123,5 @@ module.exports = [
'mode.reducedItems',
'user.socialLookup',
'user.socialLookupWhy',
+ 'api.source'
];