From 062ea263021e1b9d0cab581af87ebb7ac9947910 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 19 Oct 2010 22:01:34 +0200 Subject: [PATCH] =?utf8?q?Show=20keys=20on=20=E2=80=9Cedit=20profile?= =?utf8?q?=E2=80=9D=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/resources/i18n/sone.en.properties | 6 ++++++ src/main/resources/static/css/sone.css | 5 +++++ src/main/resources/templates/editProfile.html | 17 ++++++++++++++++- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index a6d106f..4012134 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -77,6 +77,12 @@ Page.EditProfile.Label.MiddleName=Middle name(s): Page.EditProfile.Label.LastName=Last name: Page.EditProfile.Page.Status.Changed=Your changes have been saved and will be inserted shortly. Page.EditProfile.Button.Save=Save Profile +Page.EditProfile.Keys.Title=Sone Keys +Page.EditProfile.Keys.Description.RequestKey=These keys define your Sone. The request key can be (and even should be) distributed to as many people as possible. When they add this key to their Sone it will enable them to read your posts, too. +Page.EditProfile.Keys.Description.InsertKey=The insert key you have to keep to yourself. Don’t give this out, under no circumstances, to nobody! You need this key to insert your Sone into Freenet. +Page.EditProfile.Keys.Description.Summary=So these two keys are essentially your Sone. Entering these two keys in the “create Sone” form also enables you to re-create your Sone at any later time. +Page.EditProfile.Label.RequestKey=Request key: +Page.EditProfile.Label.InsertKey=Insert key; Page.EditProfile.Backup.Title=Backup Page.EditProfile.Backup.Description=Various unforeseen events can make it necessary to install a clean version of Sone. With a profile backup you can restore your Sone at a later point from any installation of Sone and by downloading all your posts and replies from Freenet again. Page.EditProfile.Backup.Button.DownloadBackup=Download Backup diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index ab45d45..ea2e782 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -254,3 +254,8 @@ #sone input.status-input.default, input.reply-input.default { color: #888; } + +#sone input[type=text].key { + width: 130ex;; + font-size: 75%; +} diff --git a/src/main/resources/templates/editProfile.html b/src/main/resources/templates/editProfile.html index af92665..1408e62 100644 --- a/src/main/resources/templates/editProfile.html +++ b/src/main/resources/templates/editProfile.html @@ -32,7 +32,22 @@ - + +

<%= Page.EditProfile.Keys.Title|l10n|html>

+ +
<%= Page.EditProfile.Keys.Description.RequestKey|l10n|html>
+
<%= Page.EditProfile.Keys.Description.InsertKey|l10n|html>
+
<%= Page.EditProfile.Keys.Description.Summary|l10n|html>
+ +
+ + +
+
+ + +
+

<%= Page.EditProfile.Backup.Title|l10n|html>

<%= Page.EditProfile.Backup.Description|l10n|html>
-- 2.7.4