i18n: don't translate welcome message, we don't get a locale anyways

This commit is contained in:
Vincent Breitmoser
2019-11-02 18:51:07 +01:00
parent 58aae5f8f8
commit 9e62a001ab
5 changed files with 18 additions and 60 deletions

View File

@@ -2,25 +2,25 @@
<html lang="{{lang}}">
<head>
<meta charset=utf-8>
<title>{{ text "Your key upload on {{domain}}" rerender }}</title>
<title>Your key upload on {{domain}}</title>
</head>
<body>
<p>
{{ text "Hi," }}
Hi,
<p>
{{ text "this is an automated message from <a href=\"{{base_uri}}\" style=\"text-decoration:none; color: #333\">{{domain}}</a>." rerender }}
{{ text "If you didn't upload your key there, please ignore this message." }}
this is an automated message from <a href="{{base_uri}}" style="text-decoration:none; color: #333">{{domain}}</a>.
If you didn't upload your key there, please ignore this message.
<p>
{{ text "OpenPGP key: <tt>{{primary_fp}}</tt>" rerender }}
OpenPGP key: <tt>{{primary_fp}}</tt>
<p>
{{ text "This key was just uploaded for the first time, and is now published without identity information. If you want to allow others to find this key by e-mail address, please follow this link:" }}
This key was just uploaded for the first time, and is now published without identity information. If you want to allow others to find this key by e-mail address, please follow this link:
<p>
<a rel="nofollow" href="{{uri}}">{{uri}}</a>
<p>
{{ text "You can find more info at <a href=\"{{base_uri}}/about\">{{domain}}/about</a>." rerender }}
You can find more info at <a href="{{base_uri}}/about">{{domain}}/about</a>.
<p>
<a href="{{base_uri}}">{{base_uri}}</a><br />
{{ text "distributing OpenPGP keys since 2019" }}
distributing OpenPGP keys since 2019
</body>
</html>

View File

@@ -1,17 +1,19 @@
{{ text "Hi," }}
Hi,
{{ text "this is an automated message from {{domain}}." rerender }}
{{ text "If you didn't upload your key, please ignore this message." }}
this is an automated message from {{domain}}.
If you didn't upload your key, please ignore this message.
{{ text "OpenPGP key: {{primary_fp}}" rerender }}
OpenPGP key: {{primary_fp}}
{{ text "This key was just uploaded for the first time, and is now published without\nidentity information. If you want to allow others to find this key by e-mail\naddress, please follow this link:" }}
This key was just uploaded for the first time, and is now published without
identity information. If you want to allow others to find this key by e-mail
address, please follow this link:
{{uri}}
{{ text "You can find more info at {{base_uri}}/about" rerender }}
You can find more info at {{base_uri}}/about
--
{{ base_uri }}
{{ text "distributing OpenPGP keys since 2019" }}
distributing OpenPGP keys since 2019