mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-23 21:16:21 +00:00
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
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user