コード例 #1
0
        public static AbstractTranslationSet GetTranslationSet(string translationLanguage)
        {
            AbstractTranslationSet translations = null;

            if (translationLanguage != null)
            {
                translations = DictionaryUtils.GetValue(langToTranslationMap, translationLanguage);

                if (translations == null)
                {
                    translations = new ModifiableTranslationSet(translationLanguage);
                }
            }

            return(translations);
        }
コード例 #2
0
 public void SetParentTranslations(ModifiableTranslationSet parentTranslations)
 {
     parentTranslationSet = parentTranslations;
 }