# HG changeset patch # User nemo # Date 1289604251 18000 # Node ID 7e489fe1b49cafad3af81272a849639ba840fee6 # Parent e31edc523f184705a5556718e584633ef6d7763a bugfix. correct crossplatform tips (transplanted from e59a026758af1ed70833e588075483b01af6c87c) diff -r e31edc523f18 -r 7e489fe1b49c QTfrontend/pages.cpp --- a/QTfrontend/pages.cpp Fri Nov 12 18:32:29 2010 -0500 +++ b/QTfrontend/pages.cpp Fri Nov 12 18:24:11 2010 -0500 @@ -145,11 +145,15 @@ //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg(""); Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips"); //Tips << tr("", "Tips"); +#ifndef __APPLE__ + Tips << tr("You're able to associate Hedgewars related files (savegames and demo recordings) with the game to launch them right from your favorite file or internet browser.", "Tips"); +#endif #ifdef _WIN32 Tips << tr("You can find your Hedgewars configuration files under \"My Documents\\Hedgewars\". Create backups or take the files with you, but don't edit them by hand.", "Tips"); - Tips << tr("You're able to associate Hedgewars related files (savegames and demo recordings) with the game to launch them right from your favorite file or internet browser.", "Tips"); -#else - Tips << tr("You can find your Hedgewars configuration files under \"Hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips"); +#elif defined __APPLE__ + Tips << tr("You can find your Hedgewars configuration files under \"Library/Application Support/Hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips"); +#else + Tips << tr("You can find your Hedgewars configuration files under \".hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips"); #endif mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]); }