mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 09:23:21 +01:00
parent
6546aad334
commit
0129ea913f
9
app/_locales/en/messages.json
generated
9
app/_locales/en/messages.json
generated
@ -2737,6 +2737,15 @@
|
||||
"notifications21Title": {
|
||||
"message": "Introducing new and refreshed Swaps!"
|
||||
},
|
||||
"notifications22ActionText": {
|
||||
"message": "Got it"
|
||||
},
|
||||
"notifications22Description": {
|
||||
"message": "💡 Just click the global menu or account menu to find them!"
|
||||
},
|
||||
"notifications22Title": {
|
||||
"message": "Looking for your account details or the block explorer URL?"
|
||||
},
|
||||
"notifications3ActionText": {
|
||||
"message": "Read more",
|
||||
"description": "The 'call to action' on the button, or link, of the 'Stay secure' notification. Upon clicking, users will be taken to a page about security on the metamask support website."
|
||||
|
827
app/images/global-menu-block-explorer.svg
Normal file
827
app/images/global-menu-block-explorer.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 400 KiB |
@ -114,6 +114,14 @@ export const UI_NOTIFICATIONS = {
|
||||
width: '100%',
|
||||
},
|
||||
},
|
||||
22: {
|
||||
id: 22,
|
||||
date: null,
|
||||
image: {
|
||||
src: 'images/global-menu-block-explorer.svg',
|
||||
width: '100%',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const getTranslatedUINotifications = (t, locale) => {
|
||||
@ -313,5 +321,16 @@ export const getTranslatedUINotifications = (t, locale) => {
|
||||
)
|
||||
: '',
|
||||
},
|
||||
22: {
|
||||
...UI_NOTIFICATIONS[22],
|
||||
title: t('notifications22Title'),
|
||||
description: t('notifications22Description'),
|
||||
actionText: t('notifications22ActionText'),
|
||||
date: UI_NOTIFICATIONS[22].date
|
||||
? new Intl.DateTimeFormat(formattedLocale).format(
|
||||
new Date(UI_NOTIFICATIONS[22].date),
|
||||
)
|
||||
: '',
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -141,6 +141,11 @@ function defaultFixture() {
|
||||
id: 21,
|
||||
isShown: true,
|
||||
},
|
||||
22: {
|
||||
date: null,
|
||||
id: 22,
|
||||
isShown: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
AppStateController: {
|
||||
|
Loading…
Reference in New Issue
Block a user