From 4c7b13d8cd49d49729801a278b5ce768406400cc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 7 Dec 2011 19:08:32 -0600 Subject: Rename KDEHOME and KDEDIR --- klettres/klettres/klettres.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'klettres') diff --git a/klettres/klettres/klettres.cpp b/klettres/klettres/klettres.cpp index d1f96e59..d1d5e550 100644 --- a/klettres/klettres/klettres.cpp +++ b/klettres/klettres/klettres.cpp @@ -103,7 +103,7 @@ void KLettres::findLanguages() if (m_languages.isEmpty()) return; Prefs::setLanguages(m_languages); Prefs::writeConfig(); - //find duplicated entries in KDEDIR and KDEHOME + //find duplicated entries in TDEDIR and TDEHOME TQStringList temp_languages; for (uint i=0; ireadEntry(tmp)) config->writeEntry(tmp, TQString(TQDate::tqcurrentDate().toString())); } - //we look in $KDEDIR/share/locale/all_languages from /tdelibs/tdecore/all_languages + //we look in $TDEDIR/share/locale/all_languages from /tdelibs/tdecore/all_languages //to find the name of the country //corresponding to the code and the language the user set KConfig entry(locate("locale", "all_languages")); @@ -173,9 +173,9 @@ bool KLettres::loadLayout(TQDomDocument &layoutDocument) //if xml file is not found, program exits if (!layoutFile.exists()) { - kdWarning() << "sounds.xml file not found in $KDEDIR/share/apps/klettres/"+Prefs::language() << endl; + kdWarning() << "sounds.xml file not found in $TDEDIR/share/apps/klettres/"+Prefs::language() << endl; TQString mString=i18n("The file sounds.xml was not found in\n" - "$KDEDIR/share/apps/klettres/\n\n" + "$TDEDIR/share/apps/klettres/\n\n" "Please install this file and start KLettres again.\n\n"); KMessageBox::information( this, mString,"KLettres - Error" ); kapp->quit();//exit(1); @@ -458,7 +458,7 @@ void KLettres::loadLangToolBar() if (!myFile.exists()) { - TQString mString=i18n("File $KDEDIR/share/apps/klettres/%1.txt not found;\n" + TQString mString=i18n("File $TDEDIR/share/apps/klettres/%1.txt not found;\n" "please check your installation.").tqarg(m_languages[Prefs::languageNumber()]); KMessageBox::sorry( this, mString, i18n("Error") ); -- cgit v1.2.1