/// <summary> /// Return text with this key /// </summary> /// <returns>The text.</returns> /// <param name="key">Key.</param> public static string GetText(string key) { //try { // return languageObject.GetText(key); //} catch try { return(languageObject.GetText(key).Replace("<\\n>", "\n")); } catch (System.Exception) { return(key); throw; } }
/// <summary> /// Return text with this key /// </summary> /// <returns>The text.</returns> /// <param name="key">Key.</param> public static string GetText(string key) { return(languageObject.GetText(key)); }