Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 29, 2007, 11:17:08 PM (16 years ago)
Author:
landauf
Message:

it's now possible to use a translation without already existing translation_default.lang file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/ConfigValueContainer.cc

    r724 r725  
    948948        {
    949949            this->description_ = std::string("ConfigValueDescription::" + this->classname_ + "::" + this->varname_);
    950             Language::getLanguage().addEntry(description_, description);
     950            Language::getLanguage().addEntry(this->description_, description);
    951951            this->bAddedDescription_ = true;
     952            COUT(4) << "Added description " << this->description_ << std::endl;
     953            COUT(4) << "Translation is: " << Language::getLanguage().getTranslation(this->description_) << std::endl;
    952954        }
    953955    }
Note: See TracChangeset for help on using the changeset viewer.