From 47c53f924fac1499481db928d3b66c65a8971bf5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 4 Sep 2014 09:58:50 +0100 Subject: [PATCH] Move control panel autosave settings --- core/language/en-GB/ControlPanel.multids | 9 ++++----- core/ui/ControlPanel/Saving.tid | 4 ---- core/ui/ControlPanel/Settings/AutoSave.tid | 11 +++++++++++ core/wiki/autosavestatus.tid | 12 ------------ 4 files changed, 15 insertions(+), 21 deletions(-) create mode 100644 core/ui/ControlPanel/Settings/AutoSave.tid delete mode 100644 core/wiki/autosavestatus.tid diff --git a/core/language/en-GB/ControlPanel.multids b/core/language/en-GB/ControlPanel.multids index 8330c7101..e7fcd3e24 100644 --- a/core/language/en-GB/ControlPanel.multids +++ b/core/language/en-GB/ControlPanel.multids @@ -75,11 +75,10 @@ Plugins/Enable/Hint: Enable this plugin when reloading page Plugins/Language/Prompt: Languages Plugins/Plugin/Prompt: Plugins Plugins/Theme/Prompt: Themes -Saving/AutoSave/Disabled/Button: enable -Saving/AutoSave/Disabled/Prompt: Autosave is currently disabled -Saving/AutoSave/Enabled/Button: disable -Saving/AutoSave/Enabled/Prompt: Autosave is currently enabled -Saving/AutoSave: Autosave +Settings/AutoSave/Disabled/Description: Do not save automatically +Settings/AutoSave/Enabled/Description: Save changes automatically +Settings/AutoSave/Caption: Autosave +Settings/AutoSave/Hint: Automatically save changes during editing Saving/Caption: Saving Saving/Heading: Saving Saving/TiddlySpot/Advanced/Heading: Advanced Settings diff --git a/core/ui/ControlPanel/Saving.tid b/core/ui/ControlPanel/Saving.tid index 6c8aab42c..ed3a7932a 100644 --- a/core/ui/ControlPanel/Saving.tid +++ b/core/ui/ControlPanel/Saving.tid @@ -13,10 +13,6 @@ http://$(userName)$.tiddlyspot.com/backup/ \end -! <> - -|<> |{{$:/snippets/autosavestatus}} | - ! <> |<> |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> | diff --git a/core/ui/ControlPanel/Settings/AutoSave.tid b/core/ui/ControlPanel/Settings/AutoSave.tid new file mode 100644 index 000000000..70d00b8e1 --- /dev/null +++ b/core/ui/ControlPanel/Settings/AutoSave.tid @@ -0,0 +1,11 @@ +title: $:/core/ui/ControlPanel/Settings/AutoSave +tags: $:/tags/ControlPanel/Settings +caption: {{$:/language/ControlPanel/Settings/AutoSave/Caption}} + +\define lingo-base() $:/language/ControlPanel/Settings/AutoSave/ + +<$link to="$:/config/AutoSave"><> + +<$radio tiddler="$:/config/AutoSave" value="yes"> <> + +<$radio tiddler="$:/config/AutoSave" value="no"> <> diff --git a/core/wiki/autosavestatus.tid b/core/wiki/autosavestatus.tid deleted file mode 100644 index edbc68ed7..000000000 --- a/core/wiki/autosavestatus.tid +++ /dev/null @@ -1,12 +0,0 @@ -title: $:/snippets/autosavestatus - -\define lingo-base() $:/language/ControlPanel/Saving/ -<$reveal type="match" state="$:/config/AutoSave" text="yes"> -<> -<$linkcatcher to="$:/config/AutoSave"><$button to="no"><> - - -<$reveal type="nomatch" state="$:/config/AutoSave" text="yes"> -<> -<$linkcatcher to="$:/config/AutoSave"><$button to="yes"><> - \ No newline at end of file