@@ -155,19 +155,19 @@ export function saveProject(selectedFile = null, autosave = false) {
155
155
if ( ! autosave ) {
156
156
if ( state . ide . justOpenedProject && state . preferences . autosave ) {
157
157
dispatch ( showToast ( 5500 ) ) ;
158
- dispatch ( setToastText ( 'Project saved.' ) ) ;
158
+ dispatch ( setToastText ( 'Sketch saved.' ) ) ;
159
159
setTimeout ( ( ) => dispatch ( setToastText ( 'Autosave enabled.' ) ) , 1500 ) ;
160
160
dispatch ( resetJustOpenedProject ( ) ) ;
161
161
} else {
162
162
dispatch ( showToast ( 1500 ) ) ;
163
- dispatch ( setToastText ( 'Project saved.' ) ) ;
163
+ dispatch ( setToastText ( 'Sketch saved.' ) ) ;
164
164
}
165
165
}
166
166
} )
167
167
. catch ( ( error ) => {
168
168
const { response } = error ;
169
169
dispatch ( endSavingProject ( ) ) ;
170
- dispatch ( setToastText ( 'Failed to save project .' ) ) ;
170
+ dispatch ( setToastText ( 'Failed to save sketch .' ) ) ;
171
171
dispatch ( showToast ( 1500 ) ) ;
172
172
if ( response . status === 403 ) {
173
173
dispatch ( showErrorModal ( 'staleSession' ) ) ;
@@ -197,19 +197,19 @@ export function saveProject(selectedFile = null, autosave = false) {
197
197
if ( ! autosave ) {
198
198
if ( state . preferences . autosave ) {
199
199
dispatch ( showToast ( 5500 ) ) ;
200
- dispatch ( setToastText ( 'Project saved.' ) ) ;
200
+ dispatch ( setToastText ( 'Sketch saved.' ) ) ;
201
201
setTimeout ( ( ) => dispatch ( setToastText ( 'Autosave enabled.' ) ) , 1500 ) ;
202
202
dispatch ( resetJustOpenedProject ( ) ) ;
203
203
} else {
204
204
dispatch ( showToast ( 1500 ) ) ;
205
- dispatch ( setToastText ( 'Project saved.' ) ) ;
205
+ dispatch ( setToastText ( 'Sketch saved.' ) ) ;
206
206
}
207
207
}
208
208
} )
209
209
. catch ( ( error ) => {
210
210
const { response } = error ;
211
211
dispatch ( endSavingProject ( ) ) ;
212
- dispatch ( setToastText ( 'Failed to save project .' ) ) ;
212
+ dispatch ( setToastText ( 'Failed to save sketch .' ) ) ;
213
213
dispatch ( showToast ( 1500 ) ) ;
214
214
if ( response . status === 403 ) {
215
215
dispatch ( showErrorModal ( 'staleSession' ) ) ;
0 commit comments