diff --git a/src/states_screens/dialogs/track_info_dialog.cpp b/src/states_screens/dialogs/track_info_dialog.cpp index 10086925a..719ad15a7 100644 --- a/src/states_screens/dialogs/track_info_dialog.cpp +++ b/src/states_screens/dialogs/track_info_dialog.cpp @@ -71,6 +71,9 @@ TrackInfoDialog::TrackInfoDialog(const std::string& trackIdent, const irr::core: core::rect< s32 > creator_info_area(0, hscores_y_to, m_area.getWidth()/2, y2); + std::cout << "(( Track author : " << stringc(track->getDesigner().c_str()).c_str() + << " - " << track->getDesigner().size() << " chars )))\n"; + //I18N: when showing who is the author of track '%s' (place %s where the name of the author should appear) stringw text = StringUtils::insertValues(_("Track by %s"), track->getDesigner().c_str()); diff --git a/src/tracks/track.cpp b/src/tracks/track.cpp index a093972e5..7180015ab 100644 --- a/src/tracks/track.cpp +++ b/src/tracks/track.cpp @@ -62,7 +62,7 @@ Track::Track(std::string filename) m_root = StringUtils::getPath(StringUtils::removeExtension(m_filename)); m_ident = StringUtils::getBasename(m_root); m_item_style = ""; - m_description = ""; + //m_description = ""; m_designer = ""; m_screenshot = ""; m_version = 0; @@ -202,7 +202,7 @@ void Track::loadTrackInfo() root->get("name", &temp_name); m_name = _(temp_name.c_str()); - root->get("description", &m_description); + //root->get("description", &m_description); root->get("designer", &m_designer); root->get("version", &m_version); std::vector filenames; diff --git a/src/tracks/track.hpp b/src/tracks/track.hpp index 75bb69c04..2d3f5050d 100644 --- a/src/tracks/track.hpp +++ b/src/tracks/track.hpp @@ -213,7 +213,7 @@ public: /** Returns the filename of this track. */ const std::string& getFilename () const {return m_filename; } - const std::string& getDescription () const {return m_description; } + //const std::string& getDescription () const {return m_description; } const std::string& getDesigner () const {return m_designer; } /** Returns an absolute path to the screenshot file of this track */