From d6b4b0e00ce77173a1eaeda3accb46d6c301bf2c Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Sun, 19 Jul 2026 17:03:56 +0900 Subject: [PATCH] Remove Discord URL placeholder from translations (#4645) ## Description: This value was a sample URL used as an input placeholder, and it was removed because translating it would be meaningless and could potentially alter the URL format incorrectly. ## 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 ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri --- resources/lang/en.json | 1 - src/client/components/clan/ClanManageView.ts | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/lang/en.json b/resources/lang/en.json index 2ed3aecbb..0969b2559 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -206,7 +206,6 @@ "discord_section_title": "Discord", "discord_url_hint": "Use an invite set to never expire.", "discord_url_label": "Discord Invite URL", - "discord_url_placeholder": "https://discord.gg/...", "error_already_member": "Already a member", "error_banned": "You are banned from this clan.", "error_banned_reason": "You are banned from this clan. Reason: {reason}", diff --git a/src/client/components/clan/ClanManageView.ts b/src/client/components/clan/ClanManageView.ts index e55e97d3c..799c36c36 100644 --- a/src/client/components/clan/ClanManageView.ts +++ b/src/client/components/clan/ClanManageView.ts @@ -385,9 +385,7 @@ export class ClanManageView extends LitElement { (this.manageDiscordUrl = ( e.target as HTMLInputElement ).value)} - placeholder=${translateText( - "clan_modal.discord_url_placeholder", - )} + placeholder="https://discord.gg/..." maxlength="255" class="w-full px-4 py-3 bg-white/5 border border-white/10 rounded-xl text-white placeholder-white/20 focus:outline-none focus:ring-2 focus:ring-malibu-blue/50 focus:border-malibu-blue/50 transition-all font-medium hover:bg-white/10 text-sm" />