Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "folders" presend warning #501

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ FeedbackPage:
Punishment:
Heading: We can't punish people. We are not the Scratch Team.
Description: "Scratch Addons is not affiliated with the Scratch website or the organizations that maintain it. We have no control of the content and the moderation on the Scratch website. {{ .Tag1Start }}There are many ways that you can report on the Scratch website.{{ .Tag1End }}"
Folders:
Heading: The Sprite Folders feature will be fixed soon!
Description: We are working on it

# Strings used for /scratch-messaging-transition
SMTPage:
Expand Down
8 changes: 8 additions & 0 deletions static/assets/js/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ const variations = {
/\bst\b/,
]
},
folders: {
strings: {
...i18n.preSendWarning.variations.folders
},
patterns: [
/\bfolder\b/,
]
},
}

let lastFeedbackRequestTime = localStorage.getItem("lastFeedbackRequestTime")
Expand Down