public string GetResourceString(string key) { if (CurrentLang.ContainsKey(key)) { return(CurrentLang[key] as string); } try { return(GetResourceString(Lang_Id, key)); } catch { return(key); } }
/// <summary> /// 翻訳された文字列を取得します. /// </summary> /// <param name="key">Key.</param> public string this[string key] => CurrentLang != null ? (CurrentLang.ContainsKey(key) ? CurrentLang[key] : key) : key;