@@ -198,7 +198,7 @@ private void _fileSystemWatcher_Changed(object sender, FileSystemEventArgs e)
198
198
}
199
199
200
200
Logger . Trace ( "File system watcher detected file changed" ) ;
201
- if ( _messageBox . Show ( "file changed" , RubberduckUI . SourceControlPanel_Caption ,
201
+ if ( _messageBox . Show ( RubberduckUI . SourceControl_ExternalModifications , RubberduckUI . SourceControlPanel_Caption ,
202
202
MessageBoxButtons . OKCancel , MessageBoxIcon . Information , MessageBoxDefaultButton . Button1 ) == DialogResult . OK )
203
203
{
204
204
Provider . ReloadComponent ( e . Name ) ;
@@ -220,7 +220,7 @@ private void _fileSystemWatcher_Renamed(object sender, RenamedEventArgs e)
220
220
}
221
221
222
222
Logger . Trace ( "File system watcher detected file renamed" ) ;
223
- if ( _messageBox . Show ( "file changed" , RubberduckUI . SourceControlPanel_Caption ,
223
+ if ( _messageBox . Show ( RubberduckUI . SourceControl_ExternalModifications , RubberduckUI . SourceControlPanel_Caption ,
224
224
MessageBoxButtons . OKCancel , MessageBoxIcon . Information , MessageBoxDefaultButton . Button1 ) == DialogResult . OK )
225
225
{
226
226
Provider . RemoveFile ( e . OldFullPath , true ) ;
@@ -243,7 +243,7 @@ private void _fileSystemWatcher_Deleted(object sender, FileSystemEventArgs e)
243
243
}
244
244
245
245
Logger . Trace ( "File system watcher detected file deleted" ) ;
246
- if ( _messageBox . Show ( "file changed" , RubberduckUI . SourceControlPanel_Caption ,
246
+ if ( _messageBox . Show ( RubberduckUI . SourceControl_ExternalModifications , RubberduckUI . SourceControlPanel_Caption ,
247
247
MessageBoxButtons . OKCancel , MessageBoxIcon . Information , MessageBoxDefaultButton . Button1 ) == DialogResult . OK )
248
248
{
249
249
Provider . RemoveFile ( e . FullPath , true ) ;
@@ -265,7 +265,7 @@ private void _fileSystemWatcher_Created(object sender, FileSystemEventArgs e)
265
265
}
266
266
267
267
Logger . Trace ( "File system watcher detected file created" ) ;
268
- if ( _messageBox . Show ( "file changed" , RubberduckUI . SourceControlPanel_Caption ,
268
+ if ( _messageBox . Show ( RubberduckUI . SourceControl_ExternalModifications , RubberduckUI . SourceControlPanel_Caption ,
269
269
MessageBoxButtons . OKCancel , MessageBoxIcon . Information , MessageBoxDefaultButton . Button1 ) == DialogResult . OK )
270
270
{
271
271
Provider . AddFile ( e . FullPath ) ;
0 commit comments