Kate: use paths for local files in modified on disk dialog

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/284/head
Mavridis Philippe 6 months ago
parent dd5ee318c3
commit 95dfecf295
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -4978,13 +4978,13 @@ TQString KateDocument::reasonedMOHString() const
switch( m_modOnHdReason ) switch( m_modOnHdReason )
{ {
case 1: case 1:
return i18n("The file '%1' was modified by another program.").arg( url().prettyURL() ); return i18n("The file '%1' was modified by another program.").arg( url().pathOrURL() );
break; break;
case 2: case 2:
return i18n("The file '%1' was created by another program.").arg( url().prettyURL() ); return i18n("The file '%1' was created by another program.").arg( url().pathOrURL() );
break; break;
case 3: case 3:
return i18n("The file '%1' was deleted by another program.").arg( url().prettyURL() ); return i18n("The file '%1' was deleted by another program.").arg( url().pathOrURL() );
break; break;
default: default:
return TQString(); return TQString();

Loading…
Cancel
Save