diff --git a/src/webpage/instances.json b/src/webpage/instances.json index 2b512ab..455f768 100644 --- a/src/webpage/instances.json +++ b/src/webpage/instances.json @@ -31,4 +31,4 @@ "email": "greysilly7@gmail.com" } } -] +] \ No newline at end of file diff --git a/src/webpage/manifest.json b/src/webpage/manifest.json index f78e7cd..190e548 100644 --- a/src/webpage/manifest.json +++ b/src/webpage/manifest.json @@ -8,6 +8,9 @@ ], "start_url": "/channels/@me", "display": "standalone", + "scope": "/", "theme_color": "#05050a", + "description": "Welcome to the Jank Client, a spacebar FOSS client implementation", + "background_color": "#05050a", "offline_enabled": true } diff --git a/src/webpage/settings.ts b/src/webpage/settings.ts index 1c2e61a..3c68663 100644 --- a/src/webpage/settings.ts +++ b/src/webpage/settings.ts @@ -1431,6 +1431,12 @@ class Settings extends Buttons { exit.onclick = (_) => { this.hide(); }; + onkeyup = (event) => { + if (event.key === "Escape") { + // Cancel the default action, if needed + this.hide() + } + } document.body.append(background); this.html = background; } diff --git a/translations/ko.json b/translations/ko.json index 518e2d1..41d4fb1 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -181,7 +181,23 @@ "tokenDisplay": "토큰: $1", "advancedBot": "고급 봇 설정", "language": "언어:", - "connections": "연결" + "connections": "연결", + "deleteAccount": "계정 삭제", + "deleteAccountButton": "계정 삭제", + "manageInstance": "인스턴스 관리" + }, + "manageInstance": { + "stop": "인스턴스 중지", + "AreYouSureStop": "이 인스턴스를 중지하시겠습니까?", + "length": "길이:", + "format": "포맷:", + "TokenFormats": { + "URLs": "초대 URL" + }, + "create": "만들기", + "clientURL": "클라이언트 URL:", + "regType": "토큰 URL 유형 등록", + "copy": "복사" }, "message": { "reactionAdd": "반응 추가", diff --git a/translations/lb.json b/translations/lb.json index a13f409..676a440 100644 --- a/translations/lb.json +++ b/translations/lb.json @@ -124,7 +124,13 @@ "botUsername": "Botbenotzernumm:", "advancedBot": "Erweidert Bot-Astellungen", "language": "Sprooch:", - "connections": "Verbindungen" + "connections": "Verbindungen", + "deleteAccountButton": "Kont läschen" + }, + "manageInstance": { + "length": "Längt:", + "genericType": "Geneeresch", + "copy": "Kopéieren" }, "message": { "reactionAdd": "Reaktioun derbäisetzen", diff --git a/translations/qqq.json b/translations/qqq.json index c64b29d..e6d374a 100644 --- a/translations/qqq.json +++ b/translations/qqq.json @@ -3,7 +3,11 @@ "last-updated": "2024/11/4", "locale": "en", "comment": "Don't know how often I'll update this top part lol", - "authors": ["MathMan05", "McDutchie", "Vl1"] + "authors": [ + "MathMan05", + "McDutchie", + "Vl1" + ] }, "readableName": "{{doc-important|This should be the name of the language you are translating into, in that language. Please DO NOT translate this into your language’s word for “English”!}}", "typing": "$1 is the number of people typing and $2 is the names of the people typing separated by commas", diff --git a/translations/ru.json b/translations/ru.json index 473bd0b..cc4110d 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -324,7 +324,12 @@ "advancedBot": "Расширенные настройки бота", "botInviteCreate": "Создатель приглашения бота", "language": "Язык:", - "connections": "Подключения" + "connections": "Подключения", + "deleteAccount": "Удаление учётной записи", + "areYouSureDelete": "Вы уверены, что хотите удалить свою учётную запись? Если да, введите фразу $1", + "sillyDeleteConfirmPhrase": "Шрек - это любовь, Шрек - это жизнь", + "deleteAccountButton": "Удалить учётную запись", + "mustTypePhrase": "Чтобы удалить свою учётную запись, вам необходимо ввести фразу" }, "message": { "reactionAdd": "Добавить реакцию",