From: David ‘Bombe’ Roden Date: Wed, 13 Oct 2010 11:20:52 +0000 (+0200) Subject: Make the user specify both insert and request URI when loading or creating Sones. X-Git-Tag: 0.1-RC1~496 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=6c64007caedc08defdc18a276f441d47c829c391 Make the user specify both insert and request URI when loading or creating Sones. --- diff --git a/src/main/resources/i18n/sone.en.properties b/src/main/resources/i18n/sone.en.properties index 826f277..55100d4 100644 --- a/src/main/resources/i18n/sone.en.properties +++ b/src/main/resources/i18n/sone.en.properties @@ -9,12 +9,14 @@ Page.Login.Label.SelectSone=Select Sone: Page.Login.Option.NoSone=Select Sone… Page.Login.LoadSone.Title=Load Sone -Page.Login.LoadSone.Description=This function can be used to load an existing Sone. You need to specify the {mark}insert key{/mark} of the Sone to load it! +Page.Login.LoadSone.Description=This function can be used to load an existing Sone. You need to specify both keys of the Sone to load it! +Page.Login.LoadSone.Label.RequestURI=Sone Request URI: Page.Login.LoadSone.Label.InsertURI=Sone Insert URI: Page.Login.LoadSone.Button.LoadSone=Load Sone Page.Login.CreateSone.Title=Create Sone Page.Login.CreateSone.Description=Use this function if you want to create a completely new Sone, either at a location of your choosing or a new, random location. +Page.Login.CreateSone.Label.RequestURI=Sone Request URI: Page.Login.CreateSone.Label.InsertURI=Sone Insert URI: Page.Login.CreateSone.Label.Name=Sone name: Page.Login.CreateSone.Button.CreateFromURI=Create at given URI diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index aad1525..a939bb2 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -14,12 +14,18 @@ <%/if>

<%= Page.Login.LoadSone.Title|l10n|html>

-
<%= Page.Login.LoadSone.Description|l10n|html|replace needle="{mark}" replacement=""|replace needle="{/mark}" replacement="">
+
<%= Page.Login.LoadSone.Description|l10n|html>
+ + +
+
+
+
@@ -32,8 +38,14 @@
+ + +
+
+
+