@@ -476,7 +476,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
476476 osparc . store . Workspaces . getInstance ( ) . trashWorkspace ( workspaceId )
477477 . then ( ( ) => {
478478 this . __reloadWorkspaces ( ) ;
479- const msg = this . tr ( "Successfully moved to Bin " ) ;
479+ const msg = this . tr ( "Successfully deleted " ) ;
480480 osparc . FlashMessenger . getInstance ( ) . logAs ( msg , "INFO" ) ;
481481 this . _resourceFilter . setTrashEmpty ( false ) ;
482482 } )
@@ -614,7 +614,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
614614 osparc . store . Folders . getInstance ( ) . trashFolder ( folderId , this . getCurrentWorkspaceId ( ) )
615615 . then ( ( ) => {
616616 this . __reloadFolders ( ) ;
617- const msg = this . tr ( "Successfully moved to Bin " ) ;
617+ const msg = this . tr ( "Successfully deleted " ) ;
618618 osparc . FlashMessenger . getInstance ( ) . logAs ( msg , "INFO" ) ;
619619 this . _resourceFilter . setTrashEmpty ( false ) ;
620620 } )
@@ -626,11 +626,11 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
626626
627627 _trashFolderRequested : function ( folderId ) {
628628 const trashDays = osparc . store . StaticInfo . getInstance ( ) . getTrashRetentionDays ( ) ;
629- let msg = this . tr ( "Are you sure you want to move the Folder and all its content to the Bin ?" ) ;
629+ let msg = this . tr ( "Are you sure you want to delete the Folder and all its content?" ) ;
630630 msg += "<br><br>" + this . tr ( "It will be permanently deleted after " ) + trashDays + " days." ;
631631 const confirmationWin = new osparc . ui . window . Confirmation ( msg ) . set ( {
632- caption : this . tr ( "Move to Bin " ) ,
633- confirmText : this . tr ( "Move to Bin " ) ,
632+ caption : this . tr ( "Delete " ) ,
633+ confirmText : this . tr ( "Delete " ) ,
634634 confirmAction : "warning" ,
635635 } ) ;
636636 confirmationWin . center ( ) ;
@@ -1124,7 +1124,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
11241124
11251125 studiesTrashButton . set ( {
11261126 visibility : selection . length && currentContext === "studiesAndFolders" ? "visible" : "excluded" ,
1127- label : this . tr ( "Move to Bin " ) + ( selection . length > 1 ? ` (${ selection . length } )` : "" ) ,
1127+ label : this . tr ( "Delete " ) + ( selection . length > 1 ? ` (${ selection . length } )` : "" ) ,
11281128 } ) ;
11291129
11301130 studiesDeleteButton . set ( {
@@ -1388,7 +1388,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
13881388 } ,
13891389
13901390 __createTrashStudiesButton : function ( ) {
1391- const trashButton = new qx . ui . form . Button ( this . tr ( "Move to Bin " ) , "@FontAwesome5Solid/trash/14" ) . set ( {
1391+ const trashButton = new qx . ui . form . Button ( this . tr ( "Delete " ) , "@FontAwesome5Solid/trash/14" ) . set ( {
13921392 appearance : "warning-button" ,
13931393 visibility : "excluded"
13941394 } ) ;
@@ -1938,7 +1938,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
19381938 } ,
19391939
19401940 __getTrashStudyMenuButton : function ( studyData ) {
1941- const trashButton = new qx . ui . menu . Button ( this . tr ( "Move to Bin " ) , "@FontAwesome5Solid/trash/12" ) ;
1941+ const trashButton = new qx . ui . menu . Button ( this . tr ( "Delete " ) , "@FontAwesome5Solid/trash/12" ) ;
19421942 trashButton [ "trashButton" ] = true ;
19431943 trashButton . set ( {
19441944 appearance : "menu-button"
@@ -2139,7 +2139,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
21392139 osparc . store . Store . getInstance ( ) . trashStudy ( studyData . uuid )
21402140 . then ( ( ) => {
21412141 this . __removeFromStudyList ( studyData . uuid ) ;
2142- const msg = this . tr ( "Successfully moved to Bin " ) ;
2142+ const msg = this . tr ( "Successfully deleted " ) ;
21432143 osparc . FlashMessenger . getInstance ( ) . logAs ( msg , "INFO" ) ;
21442144 this . _resourceFilter . setTrashEmpty ( false ) ;
21452145 } )
@@ -2192,19 +2192,18 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
21922192 } ,
21932193
21942194 __createConfirmTrashWindow : function ( studyNames ) {
2195- let msg = this . tr ( "Are you sure you want to move " ) ;
2195+ let msg = this . tr ( "Are you sure you want to delete " ) ;
21962196 if ( studyNames . length > 1 ) {
21972197 const studiesText = osparc . product . Utils . getStudyAlias ( { plural : true } ) ;
21982198 msg += ` ${ studyNames . length } ${ studiesText } `
21992199 } else {
22002200 msg += ` '${ studyNames [ 0 ] } ' ` ;
22012201 }
2202- msg += this . tr ( "to the Bin?" ) ;
22032202 const trashDays = osparc . store . StaticInfo . getInstance ( ) . getTrashRetentionDays ( ) ;
22042203 msg += "<br><br>" + ( studyNames . length > 1 ? "They" : "It" ) + this . tr ( ` will be permanently deleted after ${ trashDays } days.` ) ;
22052204 const confirmationWin = new osparc . ui . window . Confirmation ( msg ) . set ( {
2206- caption : this . tr ( "Move to Bin " ) ,
2207- confirmText : this . tr ( "Move to Bin " ) ,
2205+ caption : this . tr ( "Delete " ) ,
2206+ confirmText : this . tr ( "Delete " ) ,
22082207 confirmAction : "warning" ,
22092208 } ) ;
22102209 osparc . utils . Utils . setIdToWidget ( confirmationWin . getConfirmButton ( ) , "confirmDeleteStudyBtn" ) ;
@@ -2236,7 +2235,7 @@ qx.Class.define("osparc.dashboard.StudyBrowser", {
22362235 } ,
22372236
22382237 __createConfirmEmptyTrashWindow : function ( ) {
2239- const msg = this . tr ( "Items in the bin will be permanently deleted" ) ;
2238+ const msg = this . tr ( "All items will be permanently deleted" ) ;
22402239 const confirmationWin = new osparc . ui . window . Confirmation ( msg ) . set ( {
22412240 caption : this . tr ( "Delete" ) ,
22422241 confirmText : this . tr ( "Delete permanently" ) ,
0 commit comments