mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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",
|
"message": "MetaMask",
|
||||||
"description": "The name of the application"
|
"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": {
|
"approvalAndAggregatorTxFeeCost": {
|
||||||
"message": "Approval and aggregator network fee"
|
"message": "Approval and aggregator network fee"
|
||||||
},
|
},
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
"128": "images/icon-128.png",
|
"128": "images/icon-128.png",
|
||||||
"512": "images/icon-512.png"
|
"512": "images/icon-512.png"
|
||||||
},
|
},
|
||||||
"name": "__MSG_appName__ Beta",
|
"name": "__MSG_appNameBeta__",
|
||||||
"short_name": "__MSG_appName__ Beta"
|
"short_name": "__MSG_appNameBeta__"
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,6 @@
|
|||||||
"128": "images/icon-128.png",
|
"128": "images/icon-128.png",
|
||||||
"512": "images/icon-512.png"
|
"512": "images/icon-512.png"
|
||||||
},
|
},
|
||||||
"name": "__MSG_appName__ Flask",
|
"name": "__MSG_appNameFlask__",
|
||||||
"short_name": "__MSG_appName__ Flask"
|
"short_name": "__MSG_appNameFlask__"
|
||||||
}
|
}
|
||||||
|
@ -216,7 +216,12 @@ async function verifyEnglishLocale() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// never consider these messages as unused
|
// never consider these messages as unused
|
||||||
const messageExceptions = ['appName', 'appDescription'];
|
const messageExceptions = [
|
||||||
|
'appName',
|
||||||
|
'appNameBeta',
|
||||||
|
'appNameFlask',
|
||||||
|
'appDescription',
|
||||||
|
];
|
||||||
|
|
||||||
const englishMessages = Object.keys(englishLocale);
|
const englishMessages = Object.keys(englishLocale);
|
||||||
const unusedMessages = englishMessages.filter(
|
const unusedMessages = englishMessages.filter(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user