127 Bool TY_(tidyGetLanguageSetByUser)(void);
135 void TY_(tidySetLanguageSetByUser)( void );
tidyLanguage
These enumerations are used within instances of languageDefinition structures to provide additional m...
Definition: language.h:28
languageDictionaryEntry const languageDictionary[600]
For now we'll just use an array to hold all of the dictionary entries.
Definition: language.h:59
Bool TIDY_CALL tidySetLanguage(ctmbstr languageCode)
Tells Tidy to use a different language for output.
const tidyLocaleMapItem *TIDY_CALL getNextWindowsLanguage(TidyIterator *iter)
Given a valid TidyIterator initiated with getWindowsLanguageList(), returns a pointer to a tidyLocale...
TidyIterator TIDY_CALL getWindowsLanguageList(void)
Initiates an iterator for a list of Tidy's Windows<->POSIX locale mappings.
Describes a record for a localization string.
Definition: language.h:47
The function getNextWindowsLanguage() returns pointers to this type; it gives LibTidy implementors th...
Definition: language.h:79
Finally, a complete language definition.
Definition: language.h:68
Definition: language.h:34
const ctmbstr TIDY_CALL TidyLangPosixName(const tidyLocaleMapItem *item)
Given a tidyLocalMapItem, return the POSIX name.
const ctmbstr TIDY_CALL TidyLangWindowsName(const tidyLocaleMapItem *item)
Given a tidyLocalMapItem, return the Windows name.
ctmbstr value
Definition: language.h:50
TidyIterator TIDY_CALL getInstalledLanguageList(void)
Initiates an iterator for a list of Tidy's installed languages.
ctmbstr TIDY_CALL tidyGetLanguage(void)
Gets the current language used by Tidy.
uint pluralForm
Definition: language.h:49
ctmbstr POSIXName
Definition: language.h:81
ctmbstr TIDY_CALL tidyLocalizedStringN(uint messageType, uint quantity)
Provides a string given messageType in the current localization for quantity.
ctmbstr winName
Definition: language.h:80
uint TIDY_CALL getNextStringKey(TidyIterator *iter)
Given a valid TidyIterator initiated with getStringKeyList(), returns an unsigned integer representin...
Definition: language.h:31
ctmbstr TIDY_CALL tidyLocalizedString(uint messageType)
Provides a string given messageType in the current localization for the single case.
uint key
Definition: language.h:48
#define TY_(str)
Definition: forward.h:23
languageDictionary messages
Definition: language.h:70
ctmbstr TIDY_CALL tidyDefaultString(uint messageType)
Provides a string given messageType in the default localization (which is en).
TidyIterator TIDY_CALL getStringKeyList(void)
Initiates an iterator for a list of string key codes available in Tidy.
ctmbstr TIDY_CALL getNextInstalledLanguage(TidyIterator *iter)
Given a valid TidyIterator initiated with getInstalledLanguageList(), returns a string representing a...