From 4d9b4b65d39f1dab73a759fe2569da504d028ac9 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sun, 7 May 2023 19:05:05 -0700 Subject: [PATCH] missing action + locales --- locales/ca-ES.yml | 1 + locales/en-US.yml | 1 + locales/es-ES.yml | 1 + locales/ja-JP.yml | 1 + locales/pl-PL.yml | 1 + locales/ru-RU.yml | 1 + packages/client/src/scripts/helpMenu.ts | 6 ++++-- 7 files changed, 10 insertions(+), 2 deletions(-) diff --git a/locales/ca-ES.yml b/locales/ca-ES.yml index 692ff07bd5..031973bca0 100644 --- a/locales/ca-ES.yml +++ b/locales/ca-ES.yml @@ -2033,3 +2033,4 @@ userSaysSomethingReasonQuote: '{name} ha citat una publicació que conté {reaso userSaysSomethingReasonReply: '{name} ha respost a una publicació que conté {reason}' userSaysSomethingReasonRenote: '{name} ha impulsat una publicació que conté {reason}' highlightCw: Ressalta el contingut de les publicacions advertides +apps: Aplicacions diff --git a/locales/en-US.yml b/locales/en-US.yml index fe6f31798c..5f3c74754e 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1079,6 +1079,7 @@ enableCustomKaTeXMacro: "Enable custom KaTeX macros" noteId: "Post ID" signupsDisabled: "Signups on this server are currently disabled, but you can always sign up at another server! If you have an invitation code for this server, please enter it below." findOtherInstance: "Find another server" +apps: "Apps" _sensitiveMediaDetection: description: "Reduces the effort of server moderation through automatically recognizing\ diff --git a/locales/es-ES.yml b/locales/es-ES.yml index bcd8903547..dadc8ce909 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -1916,3 +1916,4 @@ _messaging: groups: Grupos dms: Privado pushNotification: Notificaciones +apps: Aplicaciones diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b9f2caacb0..86c869126f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1840,3 +1840,4 @@ _deck: noteId: 投稿のID hiddenTagsDescription: 'トレンドと「みつける」から除外したいハッシュタグを(先頭の # を除いて)改行区切りで入力してください。この設定はトレンドと「みつける」以外には影響しません。' hiddenTags: 非表示にするハッシュタグ +apps: "アプリ" diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml index c8a2d13a54..dec695de1b 100644 --- a/locales/pl-PL.yml +++ b/locales/pl-PL.yml @@ -1982,3 +1982,4 @@ themeColor: Kolor znacznika instancji instanceDefaultLightTheme: Domyślny jasny motyw instancji enableEmojiReactions: Włącz reakcje emoji showEmojisInReactionNotifications: Pokazuj emoji w powiadomieniach reakcyjnych +apps: Aplikacje diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml index bd30455920..b022c75ea6 100644 --- a/locales/ru-RU.yml +++ b/locales/ru-RU.yml @@ -1983,3 +1983,4 @@ customKaTeXMacroDescription: 'Настройте макросы чтобы ле ветвление, здесь использоваться не может.' cannotUploadBecauseExceedsFileSizeLimit: Этот файл не может быть загружен так как он превышает максимально разрешённый размер. +apps: Приложения diff --git a/packages/client/src/scripts/helpMenu.ts b/packages/client/src/scripts/helpMenu.ts index 5892471c0f..1df7441359 100644 --- a/packages/client/src/scripts/helpMenu.ts +++ b/packages/client/src/scripts/helpMenu.ts @@ -25,10 +25,12 @@ export function openHelpMenu_(ev: MouseEvent) { to: "/about-calckey", }, { - type: "link", + type: "button", text: i18n.ts._apps.apps, icon: "ph-device-mobile ph-bold ph-lg", - to: "https://calckey.org/apps", + action: () => { + window.open('https://calckey.org/', '_blank'); + }, }, { type: "button",