- Timestamp:
- Feb 27, 2008, 6:46:20 PM (17 years ago)
- Location:
- code/branches/core/src/orxonox/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/ConfigValueContainer.cc
r838 r839 948 948 { 949 949 this->description_ = std::string("ConfigValueDescription::" + this->classname_ + "::" + this->varname_); 950 Language::getLanguage().addEntry(this->description_, description);950 AddLanguageEntry(this->description_, description); 951 951 this->bAddedDescription_ = true; 952 952 } … … 959 959 std::string ConfigValueContainer::getDescription() const 960 960 { 961 return Language::getLanguage().getLocalisation(this->description_);961 return GetLocalisation(this->description_); 962 962 } 963 963 } -
code/branches/core/src/orxonox/core/Language.h
r838 r839 122 122 } 123 123 124 #define AddLanguageEntry(label, fallbackstring) \ 125 orxonox::Language::getLanguage().addEntry(label, fallbackstring) 126 127 #define GetLocalisation(label) \ 128 orxonox::Language::getLanguage().getLocalisation(label) 129 124 130 #endif /* _Language_H__ */
Note: See TracChangeset
for help on using the changeset viewer.