From c381c8d961826362049e5ab73dadea13301c77f2 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Fri, 22 May 2026 14:49:49 -0500 Subject: [PATCH] forgot translations --- src/webpage/settings.ts | 6 +++--- translations/en.json | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/webpage/settings.ts b/src/webpage/settings.ts index aee0d80..daef8aa 100644 --- a/src/webpage/settings.ts +++ b/src/webpage/settings.ts @@ -1173,10 +1173,10 @@ class InstancePicker implements OptionsElement { }; d.options.addHTMLArea(instance); } - d.options.addButtonInput("", "Other instance", () => { - const opt = d.options.addSubOptions("Other instance"); + d.options.addButtonInput("", I18n.register.other(), () => { + const opt = d.options.addSubOptions(I18n.register.other()); let id = 0; - opt.addTextInput("URL:", () => {}).onchange = async (_) => { + opt.addTextInput(I18n.register.instURL(), () => {}).onchange = async (_) => { const thisid = ++id; await new Promise((res) => setTimeout(res, 1000)); console.log(id, thisid); diff --git a/translations/en.json b/translations/en.json index dbc8283..721ad5c 100644 --- a/translations/en.json +++ b/translations/en.json @@ -790,7 +790,9 @@ "passwordError:": "Password: $1", "register": "Register", "tos": "You must agree to the TOS", - "usernameError": "Username: $1" + "usernameError": "Username: $1", + "other":"Other instance", + "instURL":"URL:" }, "remove": "Remove", "renderJoinAvatars": "Display avatars for new members: ",