From 3856007b3bb1dcd891be1940162057eb6a4ca220 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Sun, 26 May 2024 13:11:38 +0300 Subject: Kate: use paths for local files in modified on disk dialog Signed-off-by: Mavridis Philippe (cherry picked from commit 95dfecf29575660a2c652b8e3e7055e199ca635a) --- kate/part/katedocument.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kate/part/katedocument.cpp b/kate/part/katedocument.cpp index 4118cb7ef..a125c2c85 100644 --- a/kate/part/katedocument.cpp +++ b/kate/part/katedocument.cpp @@ -4978,13 +4978,13 @@ TQString KateDocument::reasonedMOHString() const switch( m_modOnHdReason ) { 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; 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; 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; default: return TQString(); -- cgit v1.2.1