From 6446bc0fbfcd49f8f092e8a9a91475588340bcf9 Mon Sep 17 00:00:00 2001
From: Darrell Anderson <humanreadable@yahoo.com>
Date: Thu, 18 Apr 2013 18:30:54 -0500
Subject: Rename kderc -> tderc in support of bug report 1447.

---
 INSTALL                           | 2 +-
 lib/kofficecore/KoApplication.cpp | 2 +-
 lib/kofficecore/KoQueryTrader.cpp | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/INSTALL b/INSTALL
index b97518dd..bdc5d307 100644
--- a/INSTALL
+++ b/INSTALL
@@ -105,7 +105,7 @@ KDE Specific
 If you use ./configure --prefix to install KOffice in a different
 location than the rest of KDE, you need to tell KDE about it.
 For this, either set $TDEDIRS so that it contains both prefixes,
-or add this to /etc/kderc :
+or add this to /etc/tderc :
 [Directories]
 prefixes=/the/prefix/I/used/to/install/koffice/
 
diff --git a/lib/kofficecore/KoApplication.cpp b/lib/kofficecore/KoApplication.cpp
index a2107452..75a0d5e1 100644
--- a/lib/kofficecore/KoApplication.cpp
+++ b/lib/kofficecore/KoApplication.cpp
@@ -97,7 +97,7 @@ bool KoApplication::start()
     {
         kdError( 30003 ) << instanceName() << "part.desktop not found." << endl;
         kdError( 30003 ) << "Run 'tde-config --path services' to see which directories were searched, assuming kde startup had the same environment as your current shell." << endl;
-        kdError( 30003 ) << "Check your installation (did you install KOffice in a different prefix than KDE, without adding the prefix to /etc/kderc ?)" << endl;
+        kdError( 30003 ) << "Check your installation (did you install KOffice in a different prefix than TDE, without adding the prefix to /etc/tderc ?)" << endl;
         return false;
     }
 
diff --git a/lib/kofficecore/KoQueryTrader.cpp b/lib/kofficecore/KoQueryTrader.cpp
index 9c4620d1..662c275e 100644
--- a/lib/kofficecore/KoQueryTrader.cpp
+++ b/lib/kofficecore/KoQueryTrader.cpp
@@ -96,7 +96,7 @@ KoDocumentEntry KoDocumentEntry::queryByMimeType( const TQString & mimetype )
       } else
       {
         kdError(30003) << "Found no KOffice part able to handle " << mimetype << "!" << endl;
-        kdError(30003) << "Check your installation (does the desktop file have X-TDE-NativeMimeType and KOfficePart, did you install KOffice in a different prefix than KDE, without adding the prefix to /etc/kderc ?)" << endl;
+        kdError(30003) << "Check your installation (does the desktop file have X-TDE-NativeMimeType and KOfficePart, did you install KOffice in a different prefix than TDE, without adding the prefix to /etc/tderc ?)" << endl;
       }
       return KoDocumentEntry();
     }
-- 
cgit v1.2.3

