Added _() around strings that need to be translated.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
d18fadb682
commit
e462550218
@ -17,15 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/city_time.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
|
||||
CityTime::CityTime() : Challenge("citytime", "Finish the City track in 5:00")
|
||||
CityTime::CityTime() : Challenge("citytime", _("Finish the City track in 5:00"))
|
||||
{
|
||||
setChallengeDescription("Finish 3 laps on the City track\nwith 3 AI karts\nin under 5:00 minutes.");
|
||||
setFeatureDescription("New track: SnowTux Peak\nnow available");
|
||||
setChallengeDescription(_("Finish 3 laps on the City track\nwith 3 AI karts\nin under 5:00 minutes."));
|
||||
setFeatureDescription(_("New track: SnowTux Peak\nnow available"));
|
||||
setFeature("snowtuxpeak");
|
||||
addDependency("junglefollow");
|
||||
} // CityTime
|
||||
|
@ -18,14 +18,15 @@
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include <algorithm>
|
||||
#include "translation.hpp"
|
||||
#include "challenges/energy_math_class.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
EnergyMathClass::EnergyMathClass() : Challenge("energymathclass", "Collect Coins in Math Class")
|
||||
EnergyMathClass::EnergyMathClass() : Challenge("energymathclass", _("Collect Coins in Math Class"))
|
||||
{
|
||||
setChallengeDescription("Collect at least 6 coins\non three laps of\nOliver's Math Class\nin under 1 minute.");
|
||||
setFeatureDescription("New game mode\n'Grand Prix'\nnow available");
|
||||
setChallengeDescription(_("Collect at least 6 coins\non three laps of\nOliver's Math Class\nin under 1 minute."));
|
||||
setFeatureDescription(_("New game mode\n'Grand Prix'\nnow available"));
|
||||
setFeature("grandprix");
|
||||
} // EnergyMathClass
|
||||
|
||||
|
@ -17,14 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/energy_shifting_sands.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
EnergyShiftingSands::EnergyShiftingSands() : Challenge("energyshiftingsands","Collect the Pharaohs Treasure")
|
||||
EnergyShiftingSands::EnergyShiftingSands() : Challenge("energyshiftingsands", _("Collect the Pharaohs Treasure"))
|
||||
{
|
||||
setChallengeDescription("Collect at least 9 coins\non 3 laps of Shifting Sands\nin under 2:20 minutes.");
|
||||
setFeatureDescription("New Grand Prix: To the Moon and Back\nnow available");
|
||||
setChallengeDescription(_("Collect at least 9 coins\non 3 laps of Shifting Sands\nin under 2:20 minutes."));
|
||||
setFeatureDescription(_("New Grand Prix: To the Moon and Back\nnow available"));
|
||||
setFeature("To the Moon and Back");
|
||||
// The energymathclass challenge must be done, otherwise GP can't be selected
|
||||
addDependency("energymathclass");
|
||||
|
@ -17,15 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/island_follow.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
|
||||
IslandFollow::IslandFollow() : Challenge("islandfollow", "Win Follow the Leader on a Desert Island")
|
||||
IslandFollow::IslandFollow() : Challenge("islandfollow", _("Win Follow the Leader on a Desert Island"))
|
||||
{
|
||||
setChallengeDescription("Win a Follow the Leader race\nwith 3 AI karts\non a Desert Island.");
|
||||
setFeatureDescription("New Grand Prix: At World's End\nnow available");
|
||||
setChallengeDescription(_("Win a Follow the Leader race\nwith 3 AI karts\non a Desert Island."));
|
||||
setFeatureDescription(_("New Grand Prix: At World's End\nnow available"));
|
||||
setFeature("At world's end");
|
||||
addDependency("moonandbackgp");
|
||||
addDependency("tollwaytime");
|
||||
|
@ -17,15 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/jungle_follow.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
|
||||
JungleFollow::JungleFollow() : Challenge("junglefollow", "Win Follow the Leader in the Jungle")
|
||||
JungleFollow::JungleFollow() : Challenge("junglefollow", _("Win Follow the Leader in the Jungle"))
|
||||
{
|
||||
setChallengeDescription("Win a Follow the Leader race\nwith 3 AI karts\nin the Amazonian Jungle.");
|
||||
setFeatureDescription("New track: City\nnow available");
|
||||
setChallengeDescription(_("Win a Follow the Leader race\nwith 3 AI karts\nin the Amazonian Jungle."));
|
||||
setFeatureDescription(_("New track: City\nnow available"));
|
||||
setFeature("city");
|
||||
addDependency("penguinplaygroundgp");
|
||||
addDependency("racetracktime");
|
||||
|
@ -17,14 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/moon_and_back_gp.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
MoonAndBackGP::MoonAndBackGP() : Challenge("moonandbackgp","Finish To the Moon and Back Grand Prix")
|
||||
MoonAndBackGP::MoonAndBackGP() : Challenge("moonandbackgp",_("Finish To the Moon and Back Grand Prix"))
|
||||
{
|
||||
setChallengeDescription("Finish the To the Moon and Back\nGrand Prix with 3 'Racer' Level AI karts\nin the top 3.");
|
||||
setFeatureDescription("New Grand Prix: Snag Drive\nnow available");
|
||||
setChallengeDescription(_("Finish the To the Moon and Back\nGrand Prix with 3 'Racer' Level AI karts\nin the top 3."));
|
||||
setFeatureDescription(_("New Grand Prix: Snag Drive\nnow available"));
|
||||
setFeature("Snag Drive"); //gp3
|
||||
// The energyshiftingsands challenge must be done, otherwise gp2 can't be selected
|
||||
// Thejunglefollow challenge must be done, to get city for gp3
|
||||
|
@ -17,14 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/penguin_playground_gp.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
PenguinPlaygroundGP::PenguinPlaygroundGP() : Challenge("penguinplaygroundgp","Finish Penguin Playground Grand Prix")
|
||||
PenguinPlaygroundGP::PenguinPlaygroundGP() : Challenge("penguinplaygroundgp", _("Finish Penguin Playground Grand Prix"))
|
||||
{
|
||||
setChallengeDescription("Finish the Penguin Playground Grand\nPrix with 3 'Racer' Level AI karts\nin the top 3.");
|
||||
setFeatureDescription("New game mode\n'Follow Leader'\nnow available");
|
||||
setChallengeDescription(_("Finish the Penguin Playground Grand\nPrix with 3 'Racer' Level AI karts\nin the top 3."));
|
||||
setFeatureDescription(_("New game mode\n'Follow Leader'\nnow available"));
|
||||
setFeature("followleader");
|
||||
// The energymathclass challenge must be done, otherwise GP can't be selected
|
||||
addDependency("energymathclass");
|
||||
|
@ -18,14 +18,15 @@
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include <algorithm>
|
||||
#include "translation.hpp"
|
||||
#include "challenges/race_track_time.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
|
||||
RaceTrackTime::RaceTrackTime() : Challenge("racetracktime", "Finish Race track in 1:15")
|
||||
RaceTrackTime::RaceTrackTime() : Challenge("racetracktime", _("Finish Race track in 1:15"))
|
||||
{
|
||||
setChallengeDescription("Finish 3 laps in the Race track\nwith 3 AI karts\nin under 1:15 minutes.");
|
||||
setFeatureDescription("New track: Amazonian Journey\nnow available");
|
||||
setChallengeDescription(_("Finish 3 laps in the Race track\nwith 3 AI karts\nin under 1:15 minutes."));
|
||||
setFeatureDescription(_("New track: Amazonian Journey\nnow available"));
|
||||
setFeature("jungle");
|
||||
} // RaceTrackTime
|
||||
|
||||
|
@ -17,15 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "challenges/tollway_time.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
|
||||
TollwayTime::TollwayTime() : Challenge("tollwaytime", "Finish Tux Tollway track in 3:00")
|
||||
TollwayTime::TollwayTime() : Challenge("tollwaytime", _("Finish Tux Tollway track in 3:00"))
|
||||
{
|
||||
setChallengeDescription("Finish 3 laps on the Tux Tollway track\nwith 3 AI karts\nin under 3:00 minutes.");
|
||||
setFeatureDescription("New track: Canyon\nnow available");
|
||||
setChallengeDescription(_("Finish 3 laps on the Tux Tollway track\nwith 3 AI karts\nin under 3:00 minutes."));
|
||||
setFeatureDescription(_("New track: Canyon\nnow available"));
|
||||
setFeature("canyon");
|
||||
} // TollwayTime
|
||||
|
||||
|
@ -18,15 +18,16 @@
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include <algorithm>
|
||||
#include "translation.hpp"
|
||||
#include "challenges/win_gotm_cup.hpp"
|
||||
#include "world.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "cup_data.hpp"
|
||||
|
||||
WinGOTMCup::WinGOTMCup() : Challenge("wingotmcup", "Win GOTM Cup")
|
||||
WinGOTMCup::WinGOTMCup() : Challenge("wingotmcup", _("Win GOTM Cup"))
|
||||
{
|
||||
setChallengeDescription("Win the GOTM Cup\non level 'racer'\nwith at least\nthree computer opponents.");
|
||||
setFeatureDescription("New track\n'Amazonian Journey'\navailable");
|
||||
setChallengeDescription(_("Win the GOTM Cup\non level 'racer'\nwith at least\nthree computer opponents."));
|
||||
setFeatureDescription(_("New track\n'Amazonian Journey'\navailable"));
|
||||
// The energymathclass challenge must be done, otherwise GP can't be selected
|
||||
addDependency("energymathclass");
|
||||
setFeature("jungle");
|
||||
|
@ -17,14 +17,15 @@
|
||||
// along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
#include "translation.hpp"
|
||||
#include "worlds_end_gp.hpp"
|
||||
#include "race_manager.hpp"
|
||||
#include "world.hpp"
|
||||
|
||||
WorldsEndGP::WorldsEndGP() : Challenge("worldsendgp","Win the At World's End Grand Prix")
|
||||
WorldsEndGP::WorldsEndGP() : Challenge("worldsendgp",_("Win the At World's End Grand Prix"))
|
||||
{
|
||||
setChallengeDescription("Come first in the At World's End\nGrand Prix with 3 'Racer' Level AI karts.");
|
||||
setFeatureDescription("New Grand Prix: All Tracks GP\nand Bonus Preview: Skidding\nnow available.\nSelect 'skidding' as difficulty.");
|
||||
setChallengeDescription(_("Come first in the At World's End\nGrand Prix with 3 'Racer' Level AI karts."));
|
||||
setFeatureDescription(_("New Grand Prix: All Tracks GP\nand Bonus Preview: Skidding\nnow available.\nSelect 'skidding' as difficulty."));
|
||||
setFeature("All tracks");
|
||||
setFeature("skidding"); // Add Skidding Preview
|
||||
addDependency("islandfollow");
|
||||
|
Loading…
x
Reference in New Issue
Block a user