mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Fix manifest i18n substitutions for Beta and Flask (#12717)
This commit is contained in:
parent
568289f29e
commit
0e4005b1e7
@ -173,6 +173,14 @@
|
||||
"message": "MetaMask",
|
||||
"description": "The name of the application"
|
||||
},
|
||||
"appNameBeta": {
|
||||
"message": "MetaMask Beta",
|
||||
"description": "The name of the application (Beta)"
|
||||
},
|
||||
"appNameFlask": {
|
||||
"message": "MetaMask Flask",
|
||||
"description": "The name of the application (Flask)"
|
||||
},
|
||||
"approvalAndAggregatorTxFeeCost": {
|
||||
"message": "Approval and aggregator network fee"
|
||||
},
|
||||
|
@ -21,6 +21,6 @@
|
||||
"128": "images/icon-128.png",
|
||||
"512": "images/icon-512.png"
|
||||
},
|
||||
"name": "__MSG_appName__ Beta",
|
||||
"short_name": "__MSG_appName__ Beta"
|
||||
"name": "__MSG_appNameBeta__",
|
||||
"short_name": "__MSG_appNameBeta__"
|
||||
}
|
||||
|
@ -21,6 +21,6 @@
|
||||
"128": "images/icon-128.png",
|
||||
"512": "images/icon-512.png"
|
||||
},
|
||||
"name": "__MSG_appName__ Flask",
|
||||
"short_name": "__MSG_appName__ Flask"
|
||||
"name": "__MSG_appNameFlask__",
|
||||
"short_name": "__MSG_appNameFlask__"
|
||||
}
|
||||
|
@ -216,7 +216,12 @@ async function verifyEnglishLocale() {
|
||||
}
|
||||
|
||||
// never consider these messages as unused
|
||||
const messageExceptions = ['appName', 'appDescription'];
|
||||
const messageExceptions = [
|
||||
'appName',
|
||||
'appNameBeta',
|
||||
'appNameFlask',
|
||||
'appDescription',
|
||||
];
|
||||
|
||||
const englishMessages = Object.keys(englishLocale);
|
||||
const unusedMessages = englishMessages.filter(
|
||||
|
Loading…
Reference in New Issue
Block a user