From cf2b6494ff1da56c30f888b5c97a86c8010c7749 Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Sun, 20 Jul 2025 03:14:25 +0900 Subject: [PATCH] Make footer links translatable (#1417) ## Description: This PR makes the footer link labels ("Privacy Policy" and "Terms of Service") translatable via the i18n system. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri --- resources/lang/en.json | 4 +++- src/client/index.html | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/resources/lang/en.json b/resources/lang/en.json index 386216e70..882fb8e5b 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -21,7 +21,9 @@ "instructions": "Instructions", "how_to_play": "How to Play", "advertise": "Advertise", - "wiki": "Wiki" + "wiki": "Wiki", + "privacy_policy": "Privacy Policy", + "terms_of_service": "Terms of Service" }, "news": { "full_changelog": "See the complete change log", diff --git a/src/client/index.html b/src/client/index.html index 4a0b8cfb7..f5a1df114 100644 --- a/src/client/index.html +++ b/src/client/index.html @@ -332,10 +332,20 @@ class="ml-2 mr-4" /> - + Privacy Policy - + Terms of Service