Update the category info name when the extension is refreshed.
Fixes an issue where changing languages did not update the name in the category menu.
This commit is contained in:
1 parent
c428e2ec02
commit
7aa45ddb38
1 file changed
+1
@@ -565,6 +565,7 @@ class Runtime extends EventEmitter {
|
||||
let extensionBlocks = [];
|
||||
for (const categoryInfo of this._blockInfo) {
|
||||
if (extensionInfo.id === categoryInfo.id) {
|
||||
categoryInfo.name = maybeFormatMessage(extensionInfo.name);
|
||||
categoryInfo.blocks = [];
|
||||
categoryInfo.menus = [];
|
||||
this._fillExtensionCategory(categoryInfo, extensionInfo);
|
||||
|
||||
Reference in new issue
Block a user