Exemplo n.º 1
0
 /// <summary>
 /// Overrides the translation with the specified text.
 /// </summary>
 /// <param name="translation"></param>
 public void OverrideTranslatedText(string translation)
 {
     Behaviour = ComponentTranslationBehaviour.OverrideTranslatedText;
     OverriddenTranslatedText = translation;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Ignores the component.
 /// </summary>
 public void IgnoreComponent()
 {
     Behaviour = ComponentTranslationBehaviour.IgnoreComponent;
     OverriddenTranslatedText = null;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Resets to default behaviour, such that no overriding or ignoring happens.
 /// </summary>
 public void ResetBehaviour()
 {
     Behaviour = ComponentTranslationBehaviour.Default;
     OverriddenTranslatedText = null;
 }