QTfrontend/pages.cpp
branch0.9.14
changeset 4255 e59a026758af
parent 4232 3a7862405c36
child 4295 1f5604cd99be
equal deleted inserted replaced
4253:160f987a5d9f 4255:e59a026758af
   143         Tips << tr("Really want to wear a specific hat? Donate to us and receive an exclusive hat of your choice!", "Tips");
   143         Tips << tr("Really want to wear a specific hat? Donate to us and receive an exclusive hat of your choice!", "Tips");
   144         // The following tip will require links to app store entries first.
   144         // The following tip will require links to app store entries first.
   145         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
   145         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
   146         Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips");
   146         Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips");
   147         //Tips << tr("", "Tips");
   147         //Tips << tr("", "Tips");
       
   148 #ifndef __APPLE__
       
   149         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");
       
   150 #endif
   148 #ifdef _WIN32
   151 #ifdef _WIN32
   149         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");
   152         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");
   150         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");
   153 #elif defined __APPLE__                                                                                                                     
   151 #else
   154         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");
   152         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");
   155 #else  
       
   156         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");
   153 #endif
   157 #endif
   154         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
   158         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
   155     }
   159     }
   156     else
   160     else
   157         mainNote->setText(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!"));
   161         mainNote->setText(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!"));