QTfrontend/pages.cpp
changeset 3489 aedf289192f5
parent 3421 7c72f4d556d1
child 3498 1c74e277069c
equal deleted inserted replaced
3488:6c5d74cf4396 3489:aedf289192f5
    92     mainNote = new QLabel(this);
    92     mainNote = new QLabel(this);
    93     mainNote->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
    93     mainNote->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
    94     mainNote->setWordWrap(true);
    94     mainNote->setWordWrap(true);
    95 
    95 
    96     QStringList Tips;
    96     QStringList Tips;
    97     Tips << tr("Tips", "Simply pick the same color as a friend to play together as a team. Each of you will still control his or her own hedgehogs but they'll win together.");
    97     Tips << tr("Tips", "Simply pick the same color as a friend to play together as a team. Each of you will still control his or her own hedgehogs but they'll win or lose together.");
    98     Tips << tr("Tips", "Some weapons might do only low damage but they can be a lot more devastating in the right situation. Try to use the Desert Eagle to knock multiple hedgehogs into the water.");
    98     Tips << tr("Tips", "Some weapons might do only low damage but they can be a lot more devastating in the right situation. Try to use the Desert Eagle to knock multiple hedgehogs into the water.");
    99     Tips << tr("Tips", "If you're unsure what to do and don't want to waste ammo, skip one round. But don't let too much time pass as there will be Sudden Death!");
    99     Tips << tr("Tips", "If you're unsure what to do and don't want to waste ammo, skip one round. But don't let too much time pass as there will be Sudden Death!");
   100     Tips << tr("Tips", "Want to save ropse? Release the rope in mid air and then shoot again. As long as you don't touch the ground you'll reuse your rope without wasting ammo!");
   100     Tips << tr("Tips", "Want to save ropse? Release the rope in mid air and then shoot again. As long as you don't touch the ground you'll reuse your rope without wasting ammo!");
   101     Tips << tr("Tips", "If you'd like to keep others from using your preferred nickname on the official server, register an account at http://www.hedgewars.org/.");
   101     Tips << tr("Tips", "If you'd like to keep others from using your preferred nickname on the official server, register an account at http://www.hedgewars.org/.");
   102     Tips << tr("Tips", "You're bored of default gameplay? Try one of the missions - they'll offer different gameplay depending on the one you picked.");
   102     Tips << tr("Tips", "You're bored of default gameplay? Try one of the missions - they'll offer different gameplay depending on the one you picked.");
       
   103     Tips << tr("Tips", "By default the game will always record the last game played as a demo. Select 'Local Game' and pick the 'Demos' button on the lower right corner to play or manage them.");
       
   104     Tips << tr("Tips", "Hedgewars is Open Source and Freeware we create in our spare time. If you've got problems, ask on our forums but please don't expect 24/7 support!");
       
   105     Tips << tr("Tips", "Hedgewars is Open Source and Freeware we create in our spare time. If you like it, help us with a small donation or contribute your own work!");
       
   106     Tips << tr("Tips", "Hedgewars is Open Source and Freeware we create in our spare time. Share it with your family and friends as you like!");
       
   107     Tips << tr("Tips", "From time to time there will be official tournaments. Upcoming events will be announced at http://www.hedgewars.org/ some days in advance.");
       
   108     Tips << tr("Tips", "Hedgewars is available in many languages. If the translation in your language seems to be missing or outdated, feel free to contact us!");
       
   109     Tips << tr("Tips", "Hedgewars can be run on lots of different operating systems including Microsoft Windows, Mac OS X and Linux.");
       
   110     Tips << tr("Tips", "Always remember you're able to set up your own games in local and network/online play. You're not restricted to the 'Simple Game' option.");
       
   111     Tips << tr("Tips", "Connect a gamepad before launching the game to be able to assign its controls to your team.");
       
   112     Tips << tr("Tips", "Create an account on http://www.hedgewars.org/ to keep others from using your most favourite nickname while playing on the official server.");
       
   113     Tips << tr("Tips", "While playing you should give yourself a short break at least once an hour.");
       
   114     Tips << tr("Tips", "If your graphics card isn't able to provide hardware accelerated OpenGL, try to enable the low quality mode to improve performance.");
       
   115     Tips << tr("Tips", "We're open to suggestions and constructive feedback. If you don't like something or got a great idea, let us know!");
       
   116     Tips << tr("Tips", "Especially while playing online be polite and always remember there might be some minors playing with or against you as well!");
       
   117     Tips << tr("Tips", "Special game modes such as 'Vampirism' or 'Karma' allow you to develop completely new tactics. Try them in a custom game!");
       
   118     Tips << tr("Tips", "The Windows version of Hedgewars supports Xfire. Make sure to add Hedgwars to its game list so your friends can see you playing.");
       
   119     Tips << tr("Tips", "You should never install Hedgewars on computers you don't own (school, university, work, etc.). Please ask the responsible person instead!");
       
   120     Tips << tr("Tips", "Hedgewars can be perfect for short games during breaks. Just ensure you don't add too many hedgehogs or use an huge map. Reducing time and health might help as well.");
       
   121     Tips << tr("Tips", "No hedgehogs were harmed in making this game.");
       
   122     
   103 
   123 
   104     if(isDevBuild)
   124     if(isDevBuild)
   105         mainNote->setText(QLabel::tr("This SVN 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!"));
   125         mainNote->setText(QLabel::tr("This SVN 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!"));
   106     else
   126     else
   107         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
   127         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);