File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/language.h
Show inline comments
 
@@ -87,25 +87,25 @@ struct LanguagePackHeader {
 
		return MAX_NUM_CASES;
 
	}
 
};
 
/** Make sure the size is right. */
 
assert_compile(sizeof(LanguagePackHeader) % 4 == 0);
 

	
 
/** Metadata about a single language. */
 
struct LanguageMetadata : public LanguagePackHeader {
 
	char file[MAX_PATH]; ///< Name of the file we read this data from.
 
};
 

	
 
/** Type for the list of language meta data. */
 
typedef SmallVector<LanguageMetadata, 4> LanguageList;
 
typedef std::vector<LanguageMetadata> LanguageList;
 

	
 
/** The actual list of language meta data. */
 
extern LanguageList _languages;
 

	
 
/** The currently loaded language. */
 
extern const LanguageMetadata *_current_language;
 

	
 
#ifdef WITH_ICU_I18N
 
extern icu::Collator *_current_collator;
 
#endif /* WITH_ICU_I18N */
 

	
 
bool ReadLanguagePack(const LanguageMetadata *lang);