QTfrontend/pages.cpp
changeset 3498 1c74e277069c
parent 3489 aedf289192f5
child 3510 23145a950eae
equal deleted inserted replaced
3497:9327fae93244 3498:1c74e277069c
    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 or lose together.");
    97     Tips << tr("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.", "Tips");
    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("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.", "Tips");
    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("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!", "Tips");
   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("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!", "Tips");
   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("If you'd like to keep others from using your preferred nickname on the official server, register an account at http://www.hedgewars.org/.", "Tips");
   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("You're bored of default gameplay? Try one of the missions - they'll offer different gameplay depending on the one you picked.", "Tips");
   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.");
   103     Tips << tr("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.", "Tips");
   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!");
   104     Tips << tr("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!", "Tips");
   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!");
   105     Tips << tr("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!", "Tips");
   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!");
   106     Tips << tr("Hedgewars is Open Source and Freeware we create in our spare time. Share it with your family and friends as you like!", "Tips");
   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.");
   107     Tips << tr("From time to time there will be official tournaments. Upcoming events will be announced at http://www.hedgewars.org/ some days in advance.", "Tips");
   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!");
   108     Tips << tr("Hedgewars is available in many languages. If the translation in your language seems to be missing or outdated, feel free to contact us!", "Tips");
   109     Tips << tr("Tips", "Hedgewars can be run on lots of different operating systems including Microsoft Windows, Mac OS X and Linux.");
   109     Tips << tr("Hedgewars can be run on lots of different operating systems including Microsoft Windows, Mac OS X and Linux.", "Tips");
   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.");
   110     Tips << tr("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.", "Tips");
   111     Tips << tr("Tips", "Connect a gamepad before launching the game to be able to assign its controls to your team.");
   111     Tips << tr("Connect a gamepad before launching the game to be able to assign its controls to your team.", "Tips");
   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.");
   112     Tips << tr("Create an account on http://www.hedgewars.org/ to keep others from using your most favourite nickname while playing on the official server.", "Tips");
   113     Tips << tr("Tips", "While playing you should give yourself a short break at least once an hour.");
   113     Tips << tr("While playing you should give yourself a short break at least once an hour.", "Tips");
   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.");
   114     Tips << tr("If your graphics card isn't able to provide hardware accelerated OpenGL, try to enable the low quality mode to improve performance.", "Tips");
   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!");
   115     Tips << tr("We're open to suggestions and constructive feedback. If you don't like something or got a great idea, let us know!", "Tips");
   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!");
   116     Tips << tr("Especially while playing online be polite and always remember there might be some minors playing with or against you as well!", "Tips");
   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!");
   117     Tips << tr("Special game modes such as 'Vampirism' or 'Karma' allow you to develop completely new tactics. Try them in a custom game!", "Tips");
   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.");
   118     Tips << tr("The Windows version of Hedgewars supports Xfire. Make sure to add Hedgwars to its game list so your friends can see you playing.", "Tips");
   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!");
   119     Tips << tr("You should never install Hedgewars on computers you don't own (school, university, work, etc.). Please ask the responsible person instead!", "Tips");
   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.");
   120     Tips << tr("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.", "Tips");
   121     Tips << tr("Tips", "No hedgehogs were harmed in making this game.");
   121     Tips << tr("No hedgehogs were harmed in making this game.", "Tips");
   122     
   122     
   123 
   123 
   124     if(isDevBuild)
   124     if(isDevBuild)
   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!"));
   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!"));
   126     else
   126     else