Esempio n. 1
0
 public virtual void Refresh()
 {
     translations = GetTranslations(connectionString);
 }
Esempio n. 2
0
 public string GetTranslation(Model.Translations translations, string languageCode, int translationKeyID)
 {
     return(translations[languageCode, translationKeyID]);
 }
Esempio n. 3
0
 public string GetTranslation(Model.Translations translations, string languageCode, string key)
 {
     return(translations[languageCode, key.ToLower()]);
 }
Esempio n. 4
0
 public string GetTranslation(Model.Translations translations, int languageID, int translationKeyID)
 {
     return(translations[languageID, translationKeyID]);
 }