internal string GetResourceString(string resourceName, string defaultValue) { string resourceValue = null; if (isEnglish) { resourceValue = defaultValue; } else if (isGerman) { resourceValue = GetGermanResource(resourceName); } if (resourceValue != null) { return(resourceValue); } if (m_ResourceProvider == null) { // Backwards compatibility with older versions of OW return(defaultValue); } else { return(m_ResourceProvider.GetResourceString(resourceName, defaultValue)); } }
internal string GetResourceString(string resourceName, string defaultValue) { if (m_ResourceProvider == null) { // Backwards compatibility with older versions of OW return(defaultValue); } else { return(m_ResourceProvider.GetResourceString(resourceName, defaultValue)); } }