From: David ‘Bombe’ Roden Date: Thu, 4 Nov 2010 09:09:42 +0000 (+0100) Subject: Add section headers to options page. X-Git-Tag: 0.2-RC1~53 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0d74ff146a07d0fe8502a3b8572f588d9242056d;p=Sone.git Add section headers to options page. --- 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="">