From 0f261b6580ef3cff5cb6aacdd7882de445501395 Mon Sep 17 00:00:00 2001 From: PPPDUD <107440101+PPPDUD@users.noreply.github.com> Date: Thu, 18 Sep 2025 17:45:01 -0400 Subject: [PATCH 1/2] Update CONTRIBUTING.md --- CONTRIBUTING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1f70025a76..5f1c91187b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -90,6 +90,13 @@ Most extensions shouldn't need external documentation -- it should be obvious wh Static resources such as example resources used by extensions go in the `website` folder. +## Making sure that your extension can be easily translated +### In block text +Make sure to use `Scratch.translate()` on any user-facing text in your extension, unless there is a good reason not to. + +### In your extension's image +You should avoid putting any important text in your extension's image, because TurboWarp does not know how to translate it. As a rule of thumb, try replacing all of your image's text with gibberish and see if the intended meaning comes across either way; if it doesn't, it shouldn't be added to Turbowarp. + ## Banned APIs Don't use these: From f124dad09b98f7facf2152fa100ec7fbea6cd311 Mon Sep 17 00:00:00 2001 From: PPPDUD <107440101+PPPDUD@users.noreply.github.com> Date: Thu, 18 Sep 2025 17:56:41 -0400 Subject: [PATCH 2/2] Remove rule of thumb --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5f1c91187b..fd82338b8c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,7 +95,7 @@ Static resources such as example resources used by extensions go in the `website Make sure to use `Scratch.translate()` on any user-facing text in your extension, unless there is a good reason not to. ### In your extension's image -You should avoid putting any important text in your extension's image, because TurboWarp does not know how to translate it. As a rule of thumb, try replacing all of your image's text with gibberish and see if the intended meaning comes across either way; if it doesn't, it shouldn't be added to Turbowarp. +You should avoid putting any important text in your extension's image, because TurboWarp does not know how to translate it. ## Banned APIs