Uses of Class
VASSAL.i18n.Translation
-
Uses of Translation in VASSAL.i18n
Modifier and TypeClassDescriptionclass
Utility class to allow translation of VASSAL using the Component Translation mechanism.Modifier and TypeFieldDescriptionprotected List
<Translation> Localization.countryTranslations
protected List
<Translation> Localization.languageTranslations
protected List
<Translation> Localization.moduleTranslations
protected List
<Translation> Localization.translations
Modifier and TypeMethodDescriptionLocalization.getTranslation
(String description) Return a specified translationModifier and TypeMethodDescriptionvoid
Localization.addTranslation
(Translation t) Called whenever a Translation is added to a module or extension.int
Translation.compareTo
(Translation o) boolean
Language.contains
(Translation newTranslation) ComponentI18nData.getTranslatedValue
(String attr, Translation translation) boolean
ComponentI18nData.hasUntranslatedAttributes
(Translation t) Return true if this component or any of its children have at least one translatable attribute with a non-null value that does not have a translation in the supplied translation.void
Localization.removeTranslation
(Translation t)