src/util/gettext.hpp File Reference

#include <tinygettext/tinygettext.hpp>
#include <assert.h>
#include "supertux/globals.hpp"

Go to the source code of this file.

Functions

static std::string _ (const std::string &message)


Function Documentation

static std::string _ ( const std::string &  message  )  [inline, static]

Definition at line 44 of file gettext.hpp.

References dictionary_manager.

Referenced by ContribMenu::ContribMenu(), ContribWorldMenu::ContribWorldMenu(), Climbable::draw(), TitleScreen::draw(), LevelIntro::draw(), Statistics::draw_endseq_panel(), Statistics::draw_worldmap_info(), GameMenu::GameMenu(), JoystickMenu::get_button_name(), KeyboardMenu::get_key_name(), KeyboardMenu::KeyboardMenu(), LanguageMenu::LanguageMenu(), MainMenu::MainMenu(), OptionsMenu::menu_action(), KeyboardMenu::menu_action(), JoystickMenu::menu_action(), OptionsMenu::OptionsMenu(), Main::print_usage(), ProfileMenu::ProfileMenu(), JoystickMenu::recreateMenu(), AddonMenu::refresh(), SecretAreaTrigger::SecretAreaTrigger(), and WorldmapMenu::WorldmapMenu().

00045 {
00046   if (dictionary_manager)
00047   {
00048     return dictionary_manager->get_dictionary().translate(message);
00049   }
00050   else
00051   {
00052     return message;
00053   }
00054 }


Generated on Mon Jun 9 03:38:27 2014 for SuperTux by  doxygen 1.5.1