diff options
| author | piuvas <piuvas@proton.me> | 2024-11-28 19:12:07 -0300 |
|---|---|---|
| committer | piuvas <piuvas@proton.me> | 2024-11-28 19:12:07 -0300 |
| commit | 51bc393d589eceb60e5e70a9ab4ca1e2d95dcf6b (patch) | |
| tree | 0bb44a47625b0c62af456e8c98ff9fd63b5a39eb | |
| parent | make block confirm dialog localizable. (diff) | |
| download | sharkey-51bc393d589eceb60e5e70a9ab4ca1e2d95dcf6b.tar.gz sharkey-51bc393d589eceb60e5e70a9ab4ca1e2d95dcf6b.tar.bz2 sharkey-51bc393d589eceb60e5e70a9ab4ca1e2d95dcf6b.zip | |
remove title and change dialog icon
| -rw-r--r-- | locales/index.d.ts | 4 | ||||
| -rw-r--r-- | packages/frontend/src/scripts/get-user-menu.ts | 3 | ||||
| -rw-r--r-- | sharkey-locales/en-US.yml | 1 |
3 files changed, 1 insertions, 7 deletions
diff --git a/locales/index.d.ts b/locales/index.d.ts index f0f8df56bb..d1cb1f97ea 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -11000,10 +11000,6 @@ export interface Locale extends ILocale { * Show warning when opening external URLs */ "warnExternalUrl": string; - /** - * Confirm - */ - "confirm": string; "_mfm": { /** * This is not a widespread feature, it may not display properly on most other fedi software, including other Misskey forks diff --git a/packages/frontend/src/scripts/get-user-menu.ts b/packages/frontend/src/scripts/get-user-menu.ts index 55189aa481..090cffe203 100644 --- a/packages/frontend/src/scripts/get-user-menu.ts +++ b/packages/frontend/src/scripts/get-user-menu.ts @@ -103,8 +103,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter async function getConfirmed(text: string): Promise<boolean> { const confirm = await os.confirm({ - type: 'warning', - title: i18n.ts.confirm, + type: 'question', text, }); diff --git a/sharkey-locales/en-US.yml b/sharkey-locales/en-US.yml index e30ce0714f..163fd0b0ae 100644 --- a/sharkey-locales/en-US.yml +++ b/sharkey-locales/en-US.yml @@ -156,7 +156,6 @@ allowClickingNotifications: "Allow clicking on pop-up notifications" pinnedOnly: "Pinned" blockingYou: "Blocking you" warnExternalUrl: "Show warning when opening external URLs" -confirm: "Confirm" _delivery: stop: "Suspend delivery" resume: "Resume delivery" |