From 15c7e3e24de47ade817565a752866cef86b82c1a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sun, 19 Apr 2020 00:11:25 +0200 Subject: [PATCH] =?utf8?q?=E2=9C=A8=20Add=20option=20for=20=E2=80=9Cstrict?= =?utf8?q?=20filtering=E2=80=9D=20to=20options=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/i18n/sone.de.properties | 2 ++ src/main/resources/i18n/sone.en.properties | 2 ++ src/main/resources/templates/options.html | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/src/main/resources/i18n/sone.de.properties b/src/main/resources/i18n/sone.de.properties index e17e995..293d5ec 100644 --- a/src/main/resources/i18n/sone.de.properties +++ b/src/main/resources/i18n/sone.de.properties @@ -74,6 +74,8 @@ Page.Options.Option.FcpFullAccessRequired.Description=FCP-Verbindungen nur von Page.Options.Option.FcpFullAccessRequired.Value.No=Nein Page.Options.Option.FcpFullAccessRequired.Value.Writing=Für Schreibzugriffe Page.Options.Option.FcpFullAccessRequired.Value.Always=Immer +Page.Options.Section.WebOfTrustOptions.Title=„Web of Trust“ Optionen +Page.Options.Option.StrictFiltering.Description=Identitäten strenger filtern. Wenn diese Option gewählt ist, werden Identitäten, die von mindestens einer Ihrer lokalen Identitäten einen negativen Vertrauenswert zugewiesen bekommen haben, komplett ignoriert; ansonsten werden Identitäten gezeigt, wenn sie von mindestens einer Ihrer Identitäten einen positiven Vertrauenswert zugewiesen bekommen. Page.Options.Section.Cleaning.Title=Aufräumen Page.Options.Option.ClearOnNextRestart.Description=Setzt die Konfiguration des Sone-Plugins beim nächsten Start zurück. Vorsicht: {strong}Alle Informationen Ihrer Sones werden gelöscht{/strong}, also stellen Sie bitte sicher, dass Sie die notwendigen Sicherungen angefertigt haben! Damit diese Option aktiv wird, muss auch die folgende Option aktiviert werden. Page.Options.Option.ReallyClearOnNextRestart.Description=Diese Option muss auf „ja“ gestellt werden, wenn Sie wirklich {strong}wirklich{/strong} sämtliche Informationen des Sone-Plugins beim nächsten Start entfernen möchten. diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 4376025..07b268b 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -74,6 +74,8 @@ Page.Options.Option.FcpFullAccessRequired.Description=Require FCP connection fro Page.Options.Option.FcpFullAccessRequired.Value.No=No Page.Options.Option.FcpFullAccessRequired.Value.Writing=For Write Access Page.Options.Option.FcpFullAccessRequired.Value.Always=Always +Page.Options.Section.WebOfTrustOptions.Title=Web of Trust Settings +Page.Options.Option.StrictFiltering.Description=Apply stricter filtering of identities. When this is selected, Sone will completely ignore identities that have a negative trust value for any of your local identities, otherwise they will be shown as long as at least one of your local identities has a positive trust value for them. 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. diff --git a/src/main/resources/templates/options.html b/src/main/resources/templates/options.html index c4baf2a..db8e520 100644 --- a/src/main/resources/templates/options.html +++ b/src/main/resources/templates/options.html @@ -166,6 +166,10 @@

+

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

+ +

checked="checked"<%/if> /> <%= Page.Options.Option.StrictFiltering.Description|l10n|html>

+ <%include include/tail.html> -- 2.7.4