import*as Common from"../common/common.js";import*as i18n from"../i18n/i18n.js";const UIStrings={defaultIndentation:"Default indentation:",setIndentationToSpaces:"Set indentation to 2 spaces",Spaces:"2 spaces",setIndentationToFSpaces:"Set indentation to 4 spaces",fSpaces:"4 spaces",setIndentationToESpaces:"Set indentation to 8 spaces",eSpaces:"8 spaces",setIndentationToTabCharacter:"Set indentation to tab character",tabCharacter:"Tab character"},str_=i18n.i18n.registerUIStrings("source_frame/source_frame-meta.ts",UIStrings),i18nLazyString=i18n.i18n.getLazilyComputedLocalizedString.bind(void 0,str_);Common.Settings.registerSettingExtension({category:"SOURCES",title:i18nLazyString(UIStrings.defaultIndentation),settingName:"textEditorIndent",settingType:"enum",defaultValue:"    ",options:[{title:i18nLazyString(UIStrings.setIndentationToSpaces),text:i18nLazyString(UIStrings.Spaces),value:"  "},{title:i18nLazyString(UIStrings.setIndentationToFSpaces),text:i18nLazyString(UIStrings.fSpaces),value:"    "},{title:i18nLazyString(UIStrings.setIndentationToESpaces),text:i18nLazyString(UIStrings.eSpaces),value:"        "},{title:i18nLazyString(UIStrings.setIndentationToTabCharacter),text:i18nLazyString(UIStrings.tabCharacter),value:"\t"}]});