From: David ‘Bombe’ Roden Date: Sun, 10 Apr 2011 18:46:48 +0000 (+0200) Subject: Add explanatory text for Sone-specific options while logged in. X-Git-Tag: 0.6.1^2~2 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=25268a9eaec7aa079e9b3dcc25ced0bbddd493b5 Add explanatory text for Sone-specific options while logged in. --- 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>