Esempio n. 1
0
 /// <summary>
 /// Search in current dictionary the text translated to the current language
 /// </summary>
 /// <returns>the text in the current language</returns>
 public string Translate()
 {
     if (this.isKey() && !preventLookup)
     {
         return(LocalizationRead.DictLookup(this));
     }
     else
     {
         //non heys can have newline characters
         return(key.Replace("\\n", System.Environment.NewLine));
     }
 }