File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ async function importFile(file: CurrentFile, ignoreConflict?: boolean): Promise<
7474 if ( error . statusCode == 409 ) {
7575 return vscode . window
7676 . showErrorMessage (
77- `Failed to import '${ file . name } ': The content of the file on the server is newer.
78- Please compare your version with the file contents or overwrite the content of the file with your changes. `,
77+ `Failed to import '${ file . name } ': The version of the file on the server is newer.
78+ What do you want to do? `,
7979 "Compare" ,
80- "Overwrite" ,
80+ "Overwrite on Server " ,
8181 "Pull Server Changes" ,
8282 "Cancel"
8383 )
@@ -92,18 +92,18 @@ Please compare your version with the file contents or overwrite the content of t
9292 scheme : OBJECTSCRIPT_FILE_SCHEMA ,
9393 authority : file . workspaceFolder ,
9494 } ) ,
95- `Local • ${ file . fileName } ↔ Remote • ${ file . name } `
95+ `Local • ${ file . fileName } ↔ Server • ${ file . name } `
9696 )
9797 . then ( ( ) => Promise . reject ( ) ) ;
98- case "Overwrite" :
98+ case "Overwrite on Server " :
9999 return importFile ( file , true ) ;
100100 case "Pull Server Changes" :
101101 outputChannel . appendLine ( `${ file . name } : Loading changes from server` ) ;
102102 outputChannel . show ( true ) ;
103103 loadChanges ( [ file ] ) ;
104104 return Promise . reject ( ) ;
105105 case "Cancel" :
106- outputChannel . appendLine ( `${ file . name } : Import and Compile canceled by user` ) ;
106+ outputChannel . appendLine ( `${ file . name } : Import and Compile canceled by user` ) ;
107107 outputChannel . show ( true ) ;
108108 return Promise . reject ( ) ;
109109 }
You can’t perform that action at this time.
0 commit comments