From 1f685f5a0696ffbf258fc00085bb3d354135afd7 Mon Sep 17 00:00:00 2001 From: "scratchaddons-bot[bot]" <73682299+scratchaddons-bot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:50:37 +0000 Subject: [PATCH] Update source files (2024-02-26T14:50:37.391Z) --- en/html-front.yml | 12 ++--- .../develop/userscripts/best-practices.md | 1 + en/markdown/docs/faq.md | 4 +- .../joining-the-localization-team.md | 12 ++--- en/static-front.yml | 50 +++++++++---------- 5 files changed, 39 insertions(+), 40 deletions(-) diff --git a/en/html-front.yml b/en/html-front.yml index fb3e4d0a..547d8ab8 100644 --- a/en/html-front.yml +++ b/en/html-front.yml @@ -6,6 +6,9 @@ addons.html: changelog.html: title: Changelog description: All notable changes to this project will be documented in this page. +credits.html: + title: Credits + description: Many thanks to these amazing people for contributing to the project by working on Scratch Addons, its features, its themes, its website, etc. extension-settings.html: title: Scratch Addons settings description: How to access Scratch Addons settings, step by step. @@ -18,12 +21,9 @@ feedback.html: scratch-messaging-transition.html: title: Extension Update (Transition) description: Scratch Messaging Extension (by griffpatch) has been updated and is now called Scratch Addons. Click the Scratch Addons icon in the extension bar to check out the new redesigned messages summary! -credits.html: - title: Credits - description: Many thanks to these amazing people for contributing to the project by working on Scratch Addons, its features, its themes, its website, etc. -welcome.html: - title: Welcome! - description: Scratch Addons has been installed successfully! Thank you for installing. We hope you enjoy the extension! unsupported-browser.html: title: Unsupported Browser description: Scratch Addons doesn't support the browser you're using. +welcome.html: + title: Welcome! + description: Scratch Addons has been installed successfully! Thank you for installing. We hope you enjoy the extension! diff --git a/en/markdown/docs/develop/userscripts/best-practices.md b/en/markdown/docs/develop/userscripts/best-practices.md index 11602a9c..4d6fb39d 100644 --- a/en/markdown/docs/develop/userscripts/best-practices.md +++ b/en/markdown/docs/develop/userscripts/best-practices.md @@ -111,6 +111,7 @@ reportButton.addEventListener("click", (event) => { - Prefer newer APIs, such as `fetch()` over `XMLHttpRequest`. - Never use `==` for comparisons. Use `===` instead. +- When listening to keyboard events, accessing `event.key` is the preferred way to know which key was pressed. In general, you should avoid `event.code` and `event.keyCode`. - Use optional chaining if an object can sometimes be `null`. For example, `document.querySelector(".remix-button")?.textContent`. - Use `for ... of` loops or `.forEach()`. diff --git a/en/markdown/docs/faq.md b/en/markdown/docs/faq.md index 7cf8b1cf..b229e01f 100644 --- a/en/markdown/docs/faq.md +++ b/en/markdown/docs/faq.md @@ -31,9 +31,9 @@ Scratch Addons is officially supported on the desktop versions of [Google Chrome ### Can I use Scratch Addons on a mobile device? -For Android users: Yes, but it is not recommended. Major browsers do not allow Scratch Addons (or any other extensions) to be installed, so you need to use browsers such as [Kiwi](https://kiwibrowser.com/) to do so. Scratch Addons' UI is not well-tested on touchscreens or environments with small screen size, so some of the features might not work as expected. +**For Android users**: Yes, Scratch Addons can now be installed on [Firefox for Android](https://play.google.com/store/apps/details?id=org.mozilla.firefox), but it is not recommended yet since Scratch Addons' UI is not well-tested on touchscreens or environments with small screen sizes so some features might not work as expected. Alternatively, if you prefer Chrome you could try the [Kiwi Browser](https://kiwibrowser.com/). -For iOS and iPadOS users: Sadly, it is not. App Store policy does not allow browser implementations to be uploaded, which means all browsers available on that platform are just re-skinned Safari. This causes some problems (see below). +**For iOS and iPadOS users**: Sadly, it is not. App Store policy does not allow browser implementations to be uploaded, which means all browsers available on that platform are just re-skinned Safari. This causes some problems (see below). ### Can I use Scratch Addons on Safari? diff --git a/en/markdown/docs/localization/joining-the-localization-team.md b/en/markdown/docs/localization/joining-the-localization-team.md index c509a301..7334eeee 100644 --- a/en/markdown/docs/localization/joining-the-localization-team.md +++ b/en/markdown/docs/localization/joining-the-localization-team.md @@ -65,20 +65,18 @@ Thanks for wanting to help with translating Scratch Addons to other languages! P If you don't own a Scratch account, please send an email to `translation@scratchaddons.com` instead. ### 2. Create a Transifex account -1. Go to [Transifex Sign Up](https://app.transifex.com/signup/). -1. You will be shown Transifex's "Sign Up" screen. **DO NOT sign up with Google.** +1. Go to [Transifex open-source Sign up](https://app.transifex.com/signup/open-source/?join_org=scratch-addons&join_project=scratch-addons-extension). +1. You will be shown Transifex's "Sign up" screen. **DO NOT sign up with Google.** +1. In the "business email" field, enter your email (it can be Gmail, Outlook, or any other). 1. In the "username" field, we highly recommend you enter your Scratch username, or a slight variation of it. For example, if your Scratch username is `john_walker954`, your Transifex username can be exactly the same (`john_walker954`) or `john_walker954_scratch`. -1. In the "business email" field, enter your email (it can be Gmail, Outlook, or any other). 1. In the "password" field, enter a password. -1. Click the "Sign Up" button. -1. Choose **"Join an existing organization"**. -1. Click the "Continue" button. +1. Click the "Sign up" button. 1. You'll be asked for your First name and Last name. \- In the **First name**, we recommend you enter your Scratch username. \- In the **Last name**, we recommend you enter the language you want to translate to (for example, `Greek`). 1. In the "languages you speak" field, select at least one language you're fluent with (for example, English). -1. Click the "Continue" button. +1. Click the "Let's get started" button. 1. Continue with the "requesting a language" steps below. If you already own a Transifex account and don't want to create a new one, please send an email to `translation@scratchaddons.com` indicating your Transifex account's username. Then, continue with the "requesting a language" section below. diff --git a/en/static-front.yml b/en/static-front.yml index 12fc8493..cf810b90 100644 --- a/en/static-front.yml +++ b/en/static-front.yml @@ -1,40 +1,17 @@ credits.html: aliases: - /contributors -unsupported-browser.html: - robots_tag: noindex docs/_index.md: section_root: true cascade: section_site_name: Docs.SectionSiteName -docs/faq.md: - weight: 51 - aliases: - - /faq - - /docs/frequently-asked-questions - embed_js: - - /assets/js/faq.js -docs/develop/adding-an-icon-to-a-setting-name.md: - aliases: - - /docs/developing/how-to-add-an-icon-to-a-setting-name docs/develop/_index.md: weight: 2 aliases: - /docs/developing -docs/getting-started/_index.md: - weight: 1 -docs/getting-started/installing.md: - weight: 2 -docs/getting-started/quick-start.md: - weight: 1 - aliases: - - /docs/developing/installing-scratch-addons -docs/localization/_index.md: - weight: 2 -docs/localization/joining-the-localization-team.md: +docs/develop/adding-an-icon-to-a-setting-name.md: aliases: - - /docs/localization/how-to-join-the-localization-team - - /translate + - /docs/developing/how-to-add-an-icon-to-a-setting-name docs/develop/getting-started/_index.md: weight: 1 docs/develop/getting-started/addon-basics.md: @@ -56,3 +33,26 @@ docs/develop/userstyles/_index.md: - /docs/develop/addon-types/userstyles - /docs/develop/userstyles/ weight: 2 +docs/faq.md: + weight: 51 + aliases: + - /faq + - /docs/frequently-asked-questions + embed_js: + - /assets/js/faq.js +docs/getting-started/_index.md: + weight: 1 +docs/getting-started/installing.md: + weight: 2 +docs/getting-started/quick-start.md: + weight: 1 + aliases: + - /docs/developing/installing-scratch-addons +docs/localization/_index.md: + weight: 2 +docs/localization/joining-the-localization-team.md: + aliases: + - /docs/localization/how-to-join-the-localization-team + - /translate +unsupported-browser.html: + robots_tag: noindex