public void ClearListItemSettings(ISettingsGroup settingsGroup, string listItemSetting)
 {
     settingsGroup.RemoveSetting(listItemSetting + SourcePathPatternSetting);
     settingsGroup.RemoveSetting(listItemSetting + TargetPathPatternSetting);
     settingsGroup.RemoveSetting(listItemSetting + IgnoreCaseSetting);
     settingsGroup.RemoveSetting(listItemSetting + IsBilingualSetting);
     settingsGroup.RemoveSetting(listItemSetting + IsTargetValueNeededSetting);
 }
Exemplo n.º 2
0
        public void ClearListItemSettings(ISettingsGroup settingsGroup, string listItemSetting)
        {
            settingsGroup.RemoveSetting(listItemSetting + SettingSegmentionHint);
            settingsGroup.RemoveSetting(listItemSetting + SettingTagType);
            settingsGroup.RemoveSetting(listItemSetting + SettingStartTagRegex);
            settingsGroup.RemoveSetting(listItemSetting + SettingEndTagRegex);
            settingsGroup.RemoveSetting(listItemSetting + SettingIgnoreCase);
            settingsGroup.RemoveSetting(listItemSetting + SettingContentTranslatable);
            settingsGroup.RemoveSetting(listItemSetting + SettingWordStop);
            settingsGroup.RemoveSetting(listItemSetting + SettingSoftBreak);
            settingsGroup.RemoveSetting(listItemSetting + SettingCanHide);
            settingsGroup.RemoveSetting(listItemSetting + SettingTextEquivalent);
            var formattingSettings = new FormattingGroupSettings();

            formattingSettings.ClearListItemSettings(settingsGroup, listItemSetting + SettingFormatting);
        }