Skip to content
This repository was archived by the owner on Oct 2, 2024. It is now read-only.

Commit 26c1865

Browse files
committed
Update DevTools extension
1 parent f4ab541 commit 26c1865

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

addon/DevTools.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,6 @@ export default class DevTools {
13831383
if (blockSvg || isBackground) {
13841384
let dataId = blockSvg && blockSvg.getAttribute("data-id");
13851385
if (dataId || isBackground) {
1386-
let devTools = this;
13871386
setTimeout(() => {
13881387
// Is there a popup menu to hi-jack?
13891388
let widget = document.querySelector("div.blocklyWidgetDiv");
@@ -1397,7 +1396,7 @@ export default class DevTools {
13971396
if (isBackground) {
13981397
let nodes = blocklyContextMenu.children;
13991398
for (const node of nodes) {
1400-
if (node.textContent === "Clean up Blocks") {
1399+
if (node.textContent === this.m("clean-plus")) {
14011400
node.remove();
14021401
}
14031402
}

l10n/th/_general.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"_locale":"th","_locale_name":"ไทย"}

l10n/th/editor-devtools.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"editor-devtools/version":"เวอร์ชั่น {version} - เผยแพร่เมื่อ{date}{ndash} โดย {url} และทุกคนที่ช่วยส่วนขยายสำหรับ scratch"}

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "__MSG_extensionDescription__",
55
"default_locale": "en",
66
"author": "Griffpatch",
7-
"version": "1.10.0",
7+
"version": "1.11.0",
88
"homepage_url": "https://www.griffpatch.co.uk",
99
"icons": {
1010
"32": "images/favicon.png",

0 commit comments

Comments
 (0)