summaryrefslogtreecommitdiffstats
path: root/kstars/kstars
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-04 01:33:53 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-12-22 20:50:38 +0100
commit84df5ac119bfe11204ea3d3f95c324e41b59fd1c (patch)
treeb4fc5fcd716c792e47b3a3591104cb1721a4f548 /kstars/kstars
parent7892c30d68adf89267b7fbaa5f4ab782c79017da (diff)
downloadtdeedu-84df5ac119bfe11204ea3d3f95c324e41b59fd1c.tar.gz
tdeedu-84df5ac119bfe11204ea3d3f95c324e41b59fd1c.zip
Fix references to user profile directory.
(cherry picked from commit a11c2ebfed5a31ec11eced6464eee54fa3d49034)
Diffstat (limited to 'kstars/kstars')
-rw-r--r--kstars/kstars/indidriver.cpp2
-rw-r--r--kstars/kstars/kstarsdata.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kstars/kstars/indidriver.cpp b/kstars/kstars/indidriver.cpp
index 3715c763..9feb205d 100644
--- a/kstars/kstars/indidriver.cpp
+++ b/kstars/kstars/indidriver.cpp
@@ -570,7 +570,7 @@ bool INDIDriver::readXMLDriver()
if ( !KSUtils::openDataFile( file, indiFile ) )
{
- KMessageBox::error(0, i18n("Unable to find device driver file 'drivers.xml'. Please locate the file and place it in one of the following locations:\n\n \t$(KDEDIR)/share/apps/kstars/%1 \n\t~/.kde/share/apps/kstars/%1"));
+ KMessageBox::error(0, i18n("Unable to find device driver file 'drivers.xml'. Please locate the file and place it in one of the following locations:\n\n \t$(KDEDIR)/share/apps/kstars/%1 \n\t~/.trinity/share/apps/kstars/%1"));
return false;
}
diff --git a/kstars/kstars/kstarsdata.cpp b/kstars/kstars/kstarsdata.cpp
index df8f1196..7b0f21a3 100644
--- a/kstars/kstars/kstarsdata.cpp
+++ b/kstars/kstars/kstarsdata.cpp
@@ -1776,7 +1776,7 @@ void KStarsData::initError(TQString s, bool required = false) {
"To continue loading, place the file in one of the "
"following locations, then press Retry:\n\n" ).arg( s )
+ TQString( "\t$(KDEDIR)/share/apps/kstars/%1\n" ).arg( s )
- + TQString( "\t~/.kde/share/apps/kstars/%1\n\n" ).arg( s )
+ + TQString( "\t~/.trinity/share/apps/kstars/%1\n\n" ).arg( s )
+ i18n( "Otherwise, press Cancel to shutdown." );
caption = i18n( "Critical File Not Found: %1" ).arg( s );
} else {
@@ -1785,7 +1785,7 @@ void KStarsData::initError(TQString s, bool required = false) {
"However, to avoid seeing this message in the future, you can "
"place the file in one of the following locations, then press Retry:\n\n" ).arg( s )
+ TQString( "\t$(KDEDIR)/share/apps/kstars/%1\n" ).arg( s )
- + TQString( "\t~/.kde/share/apps/kstars/%1\n\n" ).arg( s )
+ + TQString( "\t~/.trinity/share/apps/kstars/%1\n\n" ).arg( s )
+ i18n( "Otherwise, press Cancel to continue loading without this file." ).arg( s );
caption = i18n( "Non-Critical File Not Found: %1" ).arg( s );
}