diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-07 19:08:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-07 19:08:32 -0600 |
commit | 4c7b13d8cd49d49729801a278b5ce768406400cc (patch) | |
tree | 596f6241b14691b5324e4b775d16bb6894943264 /khangman | |
parent | 5ce07f4f6f046d00fe97a3f544993f1aac169085 (diff) | |
download | tdeedu-4c7b13d8cd49d49729801a278b5ce768406400cc.tar.gz tdeedu-4c7b13d8cd49d49729801a278b5ce768406400cc.zip |
Rename KDEHOME and KDEDIR
Diffstat (limited to 'khangman')
-rwxr-xr-x | khangman/add_language | 2 | ||||
-rw-r--r-- | khangman/khangman/khangman.cpp | 10 | ||||
-rw-r--r-- | khangman/khangman/khangmanview.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/khangman/add_language b/khangman/add_language index 7f9e8da9..19f4954c 100755 --- a/khangman/add_language +++ b/khangman/add_language @@ -11,7 +11,7 @@ echo "Please send your files tarred and zipped to annemarie.mahfouf@free.fr and The script will carry on, please just do not commit the files. Please NEVER commit in a BRANCH." # Check for valid language code -all_langs=$KDEDIR/share/locale/all_languages +all_langs=$TDEDIR/share/locale/all_languages if test -e $all_langs ; then grep -q "^\[$1\]$" $all_langs if test $? != 0 ; then diff --git a/khangman/khangman/khangman.cpp b/khangman/khangman/khangman.cpp index 84273617..116d880b 100644 --- a/khangman/khangman/khangman.cpp +++ b/khangman/khangman/khangman.cpp @@ -205,7 +205,7 @@ void KHangMan::setLanguages() if (m_languages.isEmpty()) return; - //find duplicated entries in KDEDIR and KDEHOME + //find duplicated entries in TDEDIR and TDEHOME TQStringList temp_languages; for (uint i=0; i<m_languages.count(); i++) { @@ -231,7 +231,7 @@ void KHangMan::setLanguages() config->writeEntry(tmp, TQString(TQDate::tqcurrentDate().toString(Qt::ISODate))); } - // We look in $KDEDIR/share/locale/all_languages from + // 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")); @@ -317,7 +317,7 @@ void KHangMan::loadLevels() } } - //find duplicated entries in KDEDIR and KDEHOME + //find duplicated entries in TDEDIR and TDEHOME TQString last; for ( TQStringList::Iterator it = levels.begin(); it != levels.end(); ) { @@ -424,7 +424,7 @@ void KHangMan::loadLangToolBar() TQFile myFile; myFile.setName(locate("data", myString)); - // Let's look in local KDEHOME dir then + // Let's look in local TDEHOME dir then if (!myFile.exists()) { TQString myString=TQString("khangman/data/%1/%1.txt") .tqarg(Prefs::selectedLanguage()) @@ -434,7 +434,7 @@ void KHangMan::loadLangToolBar() } if (!myFile.exists()) { - TQString mString=i18n("File $KDEDIR/share/apps/khangman/%1.txt not found;\n" + TQString mString=i18n("File $TDEDIR/share/apps/khangman/%1.txt not found;\n" "check your installation.").tqarg(Prefs::selectedLanguage()); KMessageBox::sorry( this, mString, i18n("Error") ); diff --git a/khangman/khangman/khangmanview.cpp b/khangman/khangman/khangmanview.cpp index c65a0b97..e3a646cf 100644 --- a/khangman/khangman/khangmanview.cpp +++ b/khangman/khangman/khangmanview.cpp @@ -591,7 +591,7 @@ void KHangManView::game() TQFile myFile; myFile.setName(locate("data", myString)); if (!myFile.exists()) { - TQString mString = i18n("File $KDEDIR/share/apps/khangman/data/%1/%2 not found!\n" + TQString mString = i18n("File $TDEDIR/share/apps/khangman/data/%1/%2 not found!\n" "Check your installation, please!") .tqarg(Prefs::selectedLanguage()) .tqarg(Prefs::levelFile()); |