title: $:/plugins/linonetwo/tw-calendar/config
tags: $:/tags/ControlPanel/SettingsTab
caption: <<lingo "Name" "$:/plugins/linonetwo/tw-calendar/language/">>

\define tag-tree-button-action(tagName)
<$action-navigate $to="$tagName$" />
\end
\define lingo-base() $:/plugins/linonetwo/tw-calendar/language/

<<lingo ConfigDescription>>

---

! <<lingo PluginConfigs>>

!! <<lingo AddEventTiddlerModal>>

<<lingo AddEventTiddlerModal/Description>>

!!! <<lingo "FrequentlyUsedTags/Caption">>

<<lingo "FrequentlyUsedTags/Description">>

<$vars currentTiddler="$:/plugins/linonetwo/tw-calendar/settings/frequently-used-tags" tagField="text">
	{{||$:/core/ui/EditTemplate/tags}}
</$vars>

<$transclude
	$variable="tag-tree-picker"
	tags={{$:/plugins/linonetwo/tw-calendar/settings/frequently-used-tags}}
/>

!!! <<lingo "Prefix/Caption">>

<<lingo "Prefix/Description">>

<$edit-text
	tiddler="$:/plugins/linonetwo/tw-calendar/settings/prefix"
	field="text"
	default=""
	tabindex=-1
	focus=false
	cancelPopups="yes"
	fileDrop=no
	tag="input"
/>

!! <<lingo "Appearance/Caption">>

;<<lingo "Appearance/24HourFormat">>:
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/24hour" field="text" checked="yes" unchecked=""> <<lingo "Appearance/24HourFormatDescription">></$checkbox>
;<<lingo "Appearance/WideScreenDefaultView">>: <<lingo "Appearance/WideScreenDefaultViewDescription">>
:<$select tiddler='$:/plugins/linonetwo/tw-calendar/settings/wideScreenDefaultView'>
	<option value='timeGridThreeDay'><<lingo "Appearance/WideScreenDefaultView/ThreeDay">></option>
	<option value='timeGridWeek'><<lingo "Appearance/WideScreenDefaultView/Week">></option>
</$select>
;<<lingo "Appearance/MobileEnabledButtons">>: <<lingo "Appearance/MobileEnabledButtonsDescription">>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/mobileEnabledButtons" listField="list" checked="dayGridMonth"> <<lingo "Appearance/MobileEnabledButtons/Month">></$checkbox>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/mobileEnabledButtons" listField="list" checked="timeGridWeek"> <<lingo "Appearance/MobileEnabledButtons/Week">></$checkbox>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/mobileEnabledButtons" listField="list" checked="timeGridThreeDay"> <<lingo "Appearance/MobileEnabledButtons/ThreeDay">></$checkbox>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/mobileEnabledButtons" listField="list" checked="timeGridDay"> <<lingo "Appearance/MobileEnabledButtons/Day">></$checkbox>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/mobileEnabledButtons" listField="list" checked="listWeek"> <<lingo "Appearance/MobileEnabledButtons/List">></$checkbox>
;<<lingo "Appearance/Timeline">>: <<lingo "Appearance/TimelineDescription">>
:<$checkbox tiddler="$:/plugins/linonetwo/tw-calendar/settings/agenda-timeline" field="text" checked="yes" unchecked="no" default="yes"> <<lingo "Appearance/TimelineCheckbox">></$checkbox>
;<<lingo "Appearance/FirstDay">>: <<lingo "Appearance/FirstDayDescription">>
:<$select tiddler='$:/plugins/linonetwo/tw-calendar/settings/firstDay'>
	<option value='0'><<lingo "DaysOfWeek/Sunday">></option>
	<option value='1'><<lingo "DaysOfWeek/Monday">></option>
	<option value='2'><<lingo "DaysOfWeek/Tuesday">></option>
	<option value='3'><<lingo "DaysOfWeek/Wednesday">></option>
	<option value='4'><<lingo "DaysOfWeek/Thursday">></option>
	<option value='5'><<lingo "DaysOfWeek/Friday">></option>
	<option value='6'><<lingo "DaysOfWeek/Saturday">></option>
</$select>
;<<lingo "Appearance/SlotDuration">>: <<lingo "Appearance/SlotDurationDescription">>
:<$edit-text tiddler="$:/plugins/linonetwo/tw-calendar/settings/slotDuration" tabindex=-1 focus=false cancelPopups="yes" fileDrop=no tag="input" />
;<<lingo "Appearance/SearchPageLimit">>: <<lingo "Appearance/SearchPageLimitDescription">>
:<$edit-text tiddler="$:/plugins/linonetwo/tw-calendar/settings/searchPageLimit" type="number" min="0" step="1" tabindex=-1 focus=false cancelPopups="yes" fileDrop=no tag="input" />