Class ValidationCodes
- Namespace
- Tlumach.Validation
- Assembly
- Tlumach.dll
The codes of the checks made by TranslationValidator. The codes are stable: the documentation and users' notes refer to them.
public static class ValidationCodes
- Inheritance
-
ValidationCodes
- Inherited Members
Fields
ConfigurationUnreadable
The configuration file cannot be read or parsed.
public const string ConfigurationUnreadable = "TLUMACHVAL001"
Field Value
DefaultFileUnusable
The default translation file is missing, empty, or cannot be parsed.
public const string DefaultFileUnusable = "TLUMACHVAL002"
Field Value
FileShadowed
A translation file is never loaded because another file takes precedence for its locale.
public const string FileShadowed = "TLUMACHVAL010"
Field Value
GeneratorSettingMissing
A configuration processed by the generator does not name the namespace or the class to generate.
public const string GeneratorSettingMissing = "TLUMACHVAL003"
Field Value
KeyMissingFromTranslation
A translation lacks keys of the default file; the translation manager shows the texts of the basic culture or of the default file for them.
public const string KeyMissingFromTranslation = "TLUMACHVAL012"
Field Value
KeyNotInDefault
A translation file contains a key that the default file does not contain.
public const string KeyNotInDefault = "TLUMACHVAL007"
Field Value
NoParser
No parser is available for the extension of a file named in the configuration.
public const string NoParser = "TLUMACHVAL011"
Field Value
ReferencedFileMissing
A file named in the translations section of the configuration does not exist.
public const string ReferencedFileMissing = "TLUMACHVAL004"
Field Value
ResxNotEmbeddedAsText
A ResX translation file is embedded in a way that makes it unreadable for the translation manager (compiled into binary resources, moved into a satellite assembly, or embedded without its extension).
public const string ResxNotEmbeddedAsText = "TLUMACHVAL013"
Field Value
TemplateInvalid
The placeholder template of an entry cannot be processed.
public const string TemplateInvalid = "TLUMACHVAL006"
Field Value
TranslationEmpty
A translation file is empty or yields no translation for its locale.
public const string TranslationEmpty = "TLUMACHVAL008"
Field Value
TranslationUnparsable
A translation file cannot be parsed.
public const string TranslationUnparsable = "TLUMACHVAL005"
Field Value
UnknownLocale
A locale name in the translations section of the configuration is not a known culture.
public const string UnknownLocale = "TLUMACHVAL009"