Ejemplo n.º 1
0
 /// <summary>
 /// Checks if a given key exists in all language dictionaries and is not null, whitespace, or TODO
 /// </summary>
 /// <param name="key">The translation ID (sometimes called component)</param>
 /// <returns>True if the translation entry exists and is an actual translation, false otherwise</returns>
 private bool ValidEntryExistsInAll(string key)
 {
     foreach (Languages lang in Translations.SupportedLanguages)
     {
         if (!Translations.ExistsAndValid(key, lang))
         {
             return(false);
         }
     }
     return(true);
 }