Migrate more strings to translation keys (#11665)
This commit is contained in:
parent
de250df520
commit
54c88c57ed
127 changed files with 6797 additions and 5825 deletions
|
@ -39,9 +39,11 @@ const TOAST_KEY = "desktopnotifications";
|
|||
export const showToast = (fromMessageSend: boolean): void => {
|
||||
ToastStore.sharedInstance().addOrReplaceToast({
|
||||
key: TOAST_KEY,
|
||||
title: fromMessageSend ? _t("Don't miss a reply") : _t("Notifications"),
|
||||
title: fromMessageSend
|
||||
? _t("notifications|enable_prompt_toast_title_from_message_send")
|
||||
: _t("notifications|enable_prompt_toast_title"),
|
||||
props: {
|
||||
description: _t("Enable desktop notifications"),
|
||||
description: _t("notifications|enable_prompt_toast_description"),
|
||||
acceptLabel: _t("action|enable"),
|
||||
onAccept,
|
||||
rejectLabel: _t("action|dismiss"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue