public void ClearLocalization() { CurrentPoFileLanguage = ""; LocalizationFields.Clear(); PoFilesMap.Clear(); OnLocalizationUpdated(); }
public void SetLocalizationByPoFile(string poFileLanguage) { LocalizationFields.Clear(); CurrentPoFileLanguage = poFileLanguage; PoFile poFile = PoFilesMap[poFileLanguage]; foreach (LocalizationField field in poFile.LocalizationFields) { AddFields(field); } OnLocalizationUpdated(); }