Skip to content

Commit

Permalink
Make translation thing better
Browse files Browse the repository at this point in the history
  • Loading branch information
CubesterYT committed Feb 14, 2025
1 parent e5abd04 commit f890499
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions extensions/Lily/Assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@

class Assets {
getInfo() {
const dataURIOption = Scratch.translate({
default: "dataURI",
description: "Menu option called dataURI",
});
return {
id: "lmsAssets",
color1: "#5779ca",
Expand Down Expand Up @@ -343,7 +347,7 @@
value: "index",
},
{
text: Scratch.translate("dataURI"),
text: dataURIOption,
value: "dataURI",
},
{
Expand All @@ -368,7 +372,7 @@
value: "JSON",
},
{
text: Scratch.translate("dataURI"),
text: dataURIOption,
value: "dataURI",
},
],
Expand All @@ -381,7 +385,7 @@
value: "name",
},
{
text: Scratch.translate("dataURI"),
text: dataURIOption,
value: "dataURI",
},
],
Expand Down

0 comments on commit f890499

Please sign in to comment.