protected override string GetCurrentTranslation() { if (!(TranslationHolder is null) && TranslationHolder.TryGetTranslation(OriginalKey, out var text)) { return(text); } return(OriginalText); }
protected override string GetCurrentTranslation() { if (!(TranslationHolder is null) && TranslationHolder.TryGetTranslation(OriginalKey, out var text)) { return(string.Format(text, _parameters)); } return("??" + OriginalKey); }