Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Sealed class: RT.Lingo.TrStringNum

Summary

Represents a translatable string into which numbers are interpolated, requiring grammatical morphology according to a language's NumberSystem.

Constructors

Default constructor (required for Classify).
TrStringNum(string[] translations, bool[] isNumber)
Constructs a new translatable string with the specified translations.
TrStringNum(params string[] translations)
Constructs a new translatable string with one interpolated integer and no other interpolated arguments, and the specified translations.

Instance methods

string
Fmt(TranslationBase tr, params object[] args)
Selects the correct string and interpolates the specified arguments.
string
Fmt(Language lang, params object[] args)
string
Fmt(NumberSystem ns, params object[] args)

Instance fields

bool[]Specifies which of the interpolated objects are integers.
string[]Contains the original text this string was last translated from. Null for the original language.
string[]Contains the current translation of this string, or for the original language, the current original text.