From 0d74ff146a07d0fe8502a3b8572f588d9242056d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 4 Nov 2010 10:09:42 +0100 Subject: [PATCH] Add section headers to options page. --- src/main/resources/i18n/sone.en.properties | 2 ++ src/main/resources/templates/options.html | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 6bfe3e1..f0072c2 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -35,7 +35,9 @@ Page.About.Page.Title=About Page.Options.Title=Options - Sone Page.Options.Page.Title=Options Page.Options.Page.Description=These options influence the runtime behaviour of the Sone plugin. +Page.Options.Section.RuntimeOptions.Title=Runtime Behaviour Page.Options.Option.InsertionDelay.Description=The number of seconds the Sone inserter waits after a modification of a Sone before it is being inserted. +Page.Options.Section.Cleaning.Title=Clean Up Page.Options.Option.ClearOnNextRestart.Description=Resets the configuration of the Sone plugin at the next restart. Warning! {strong}This will destroy all of your Sones{/strong} so make sure you have backed up everyhing you still need! Also, you need to set the next option to true to actually do it. Page.Options.Option.ReallyClearOnNextRestart.Description=This option needs to be set to “yes” if you really, {strong}really{/strong} want to clear the plugin configuration on the next restart. Page.Options.Button.Save=Save diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index e0872bb..45a540c 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -13,9 +13,13 @@
+

<%= Page.Options.Section.RuntimeOptions.Title|l10n|html>

+

<%= Page.Options.Option.InsertionDelay.Description|l10n|html>

+

<%= Page.Options.Section.Cleaning.Title|l10n|html>

+

<%= Page.Options.Option.ClearOnNextRestart.Description|l10n|html|replace needle="{strong}" replacement=""|replace needle="{/strong}" replacement="">

-- 2.7.4