You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Save dialog for closing temporary sketch and unsaved files (#893)
* Use normal `OnWillStop` event
* Align `CLOSE` command to rest of app
* Fixed FS path vs encoded URL comparision when handling stop request.
Ref: eclipse-theia/theia#11226
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
* Fixed the translations.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
* Fixed the translations again.
Removed `electron` from the `nls-extract`. It does not contain app code.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
* Aligned the stop handler code to Theia.
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Co-authored-by: Akos Kitta <a.kitta@arduino.cc>
Copy file name to clipboardExpand all lines: i18n/en.json
+4-3
Original file line number
Diff line number
Diff line change
@@ -93,13 +93,11 @@
93
93
},
94
94
"common": {
95
95
"later": "Later",
96
-
"loseChanges": "If you don't save, your changes will be lost.",
97
96
"noBoardSelected": "No board selected",
98
97
"notConnected": "[not connected]",
99
98
"offlineIndicator": "You appear to be offline. Without an Internet connection, the Arduino CLI might not be able to download the required resources and could cause malfunction. Please connect to the Internet and restart the application.",
100
99
"oldFormat": "The '{0}' still uses the old `.pde` format. Do you want to switch to the new `.ino` extension?",
101
100
"processing": "Processing",
102
-
"saveChangesToSketch": "Do you want to save changes to this sketch before closing?",
103
101
"selectBoard": "Select Board",
104
102
"selectedOn": "on {0}",
105
103
"serialMonitor": "Serial Monitor",
@@ -297,6 +295,7 @@
297
295
"openSketchInNewWindow": "Open Sketch in New Window",
298
296
"saveFolderAs": "Save sketch folder as...",
299
297
"saveSketchAs": "Save sketch folder as...",
298
+
"saveTempSketch": "Save your sketch to open it again later.",
300
299
"showFolder": "Show Sketch Folder",
301
300
"sketch": "Sketch",
302
301
"sketchbook": "Sketchbook",
@@ -325,7 +324,9 @@
325
324
"cannotConnectDaemon": "Cannot connect to the CLI daemon.",
326
325
"couldNotSave": "Could not save the sketch. Please copy your unsaved work into your favorite text editor, and restart the IDE.",
327
326
"daemonOffline": "CLI Daemon Offline",
328
-
"offline": "Offline"
327
+
"offline": "Offline",
328
+
"quitMessage": "Any unsaved changes will not be saved.",
0 commit comments