From 25268a9eaec7aa079e9b3dcc25ced0bbddd493b5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 10 Apr 2011 20:46:48 +0200 Subject: [PATCH] Add explanatory text for Sone-specific options while logged in. --- src/main/resources/i18n/sone.en.properties | 1 + src/main/resources/templates/options.html | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index cfdb100..a73432d 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -33,6 +33,7 @@ Page.Options.Page.Title=Options Page.Options.Page.Description=These options influence the runtime behaviour of the Sone plugin. Page.Options.Section.SoneSpecificOptions.Title=Sone-specific Options Page.Options.Section.SoneSpecificOptions.NotLoggedIn=These options are only available if you are {link}logged in{/link}. +Page.Options.Section.SoneSpecificOptions.LoggedIn=These options are only available while you are logged in and they are only valid for the Sone you are logged in as. Page.Options.Option.AutoFollow.Description=If a new Sone is discovered, follow it automatically. 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. diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index 7e71d32..db5eb80 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -31,6 +31,8 @@ <%ifnull currentSone>

<%= Page.Options.Section.SoneSpecificOptions.NotLoggedIn|l10n|html|replace needle="{link}" replacement=''|replace needle="{/link}" replacement=''>

+ <%else> +

<%= Page.Options.Section.SoneSpecificOptions.LoggedIn|l10n|html>

<%/if>

-- 2.7.4