Skip to content

Commit aa3da96

Browse files
committed
index.jsx fix 20240106a
1 parent d9f096b commit aa3da96

File tree

1 file changed

+0
-21
lines changed
  • scratch-vm/src/extensions/scratch3_pasorich

1 file changed

+0
-21
lines changed

scratch-vm/src/extensions/scratch3_pasorich/index.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -91,27 +91,6 @@ const menuIconURI = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZ
9191

9292
const EXTENSION_ID = 'pasorich';
9393

94-
/**
95-
* Formatter which is used for translation.
96-
* This will be replaced which is used in the runtime.
97-
* @param {object} messageData - format-message object
98-
* @returns {string} - message for the locale
99-
*/
100-
let formatMessage = messageData => messageData.defaultMessage;
101-
102-
/**
103-
* Setup format-message for this extension.
104-
*/
105-
const setupTranslations = () => {
106-
const localeSetup = formatMessage.setup();
107-
if (localeSetup && localeSetup.translations[localeSetup.locale]) {
108-
Object.assign(
109-
localeSetup.translations[localeSetup.locale],
110-
translations[localeSetup.locale]
111-
);
112-
}
113-
};
114-
11594

11695
/**
11796
* Class for the PaSoRich - PaSoRi with Scratch 3.0

0 commit comments

Comments
 (0)