Skip to content

Commit ce86dbc

Browse files
authored
Add Discord Rich Presence Support (#1000)
1 parent b1075e8 commit ce86dbc

File tree

8 files changed

+544
-1
lines changed

8 files changed

+544
-1
lines changed

art/rich-presence-icon.png

16.8 KB
Loading

src-main/l10n/en.json

+8
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@
263263
"string": "Exit F11 fullscreen mode (not the fullscreen button in the editor) when pressing escape",
264264
"developer_comment": "Refering to when an entire window is in fullscreen by pressing F11 or the maximize button on macOS, not the fullscreen mode you get by pressing the fullscreen button in the editor."
265265
},
266+
"desktop-settings.rich-presence": {
267+
"string": "Enable Rich Presence",
268+
"developer_comment": "Option to enable Discord rich presence support, which shows the name of the project someone is editing on their Discord profile. For compliance with Scratch policies don't use the word \"Discord\" in the translation."
269+
},
266270
"desktop-settings.open-user-data": {
267271
"string": "Open User Data",
268272
"developer_comment": "Button in desktop settings to open the user data folder"
@@ -450,5 +454,9 @@
450454
"unsafe-path.details": {
451455
"string": "The file you selected ({file}) is in a folder used internally by {APP_NAME}. It is not safe to save projects here as they can be deleted when the app updates. You must choose a different folder.",
452456
"developer_comment": "Message of alert that appears when someone tries to save project in a folder used internally by the app. {file} is replaced with the path and {APP_NAME} with the name of the app."
457+
},
458+
"rich-presence.untitled": {
459+
"string": "Untitled Project",
460+
"developer_comment": "Appears in Discord rich presence when the current project doesn't have a name."
453461
}
454462
}

0 commit comments

Comments
 (0)