Package com.unciv.models.translations
Types
TranslationEntry
Link copied to clipboard
One 'translatable' string
TranslationFileReader
Link copied to clipboard
object TranslationFileReader
Content copied to clipboard
TranslationFileWriter
Link copied to clipboard
object TranslationFileWriter
Content copied to clipboard
Translations
Link copied to clipboard
This collection holds all translations for the game.
Functions
equalsPlaceholderText
Link copied to clipboard
fillPlaceholders
Link copied to clipboard
Substitutes placeholders with strings, respecting order of appearance.
getConditionals
Link copied to clipboard
getPlaceholderParameters
Link copied to clipboard
getPlaceholderText
Link copied to clipboard
hasPlaceholderParameters
Link copied to clipboard
removeConditionals
Link copied to clipboard
tr
Link copied to clipboard
This function does the actual translation work, using an instance of Translations stored in UncivGame.Current
Properties
curlyBraceRegex
Link copied to clipboard
eitherSquareBraceRegex
Link copied to clipboard
pointyBraceRegex
Link copied to clipboard
squareBraceRegex
Link copied to clipboard