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/Language.h

    r720 r725  
    7474            std::string fallbackEntry_;                             //!< The default entry: Used, if no translation is available or no language configured
    7575            std::string translatedEntry_;                           //!< The translated entry in the configured language
     76            bool bTranslationSet_;                                  //!< True if the translation was set
    7677    };
    7778
     
    9495            void writeDefaultLanguageFile() const;
    9596            static const std::string getFileName(const std::string& language);
    96             void createEntry(const LanguageEntryName& name, const std::string& entry);
     97            LanguageEntry* createEntry(const LanguageEntryName& name, const std::string& entry);
    9798
    9899            std::string language_;                                  //!< The configured language
Note: See TracChangeset for help on using the changeset viewer.