* Translations:

- New varargs method in Translate
   - New TranslateReader to translate static files on-the-fly using _("") tagging
   - Tag proxy error pages for TranslateReader
   - Drop static translated proxy error pages
   - Add new i2ptunnel bundle for the proxy alone, shipped in the jar
   - Use TranslateReader in HTTP proxy for error pages
   - Move HTTP proxy strings from the web *war) to proxy (jar) bundle so they will be loaded
   - Initial translations created by msgmerge from i2ptunnel and routerconsole po files, un-fuzzied
This commit is contained in:
zzz
2013-07-13 19:58:11 +00:00
parent 70a8ab1d1a
commit 71038c311f
95 changed files with 8419 additions and 1687 deletions

View File

@@ -6,7 +6,7 @@ Proxy-Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>I2P Error: Request Denied</title>
<title>_("Error: Request Denied")</title>
<link rel="shortcut icon" href="http://proxy.i2p/themes/console/images/favicon.ico">
<link href="http://proxy.i2p/themes/console/default/console.css" rel="stylesheet" type="text/css">
</head>
@@ -14,14 +14,14 @@ Proxy-Connection: close
<!-----------------------------
Let's not infinite loop here....
<div class="logo">
<a href="http://127.0.0.1:7657/" title="Router Console"><img src="http://proxy.i2p/themes/console/images/i2plogo.png" alt="I2P Router Console" border="0"></a><hr>
<a href="http://127.0.0.1:7657/config.jsp">Configuration</a> <a href="http://127.0.0.1:7657/help.jsp">Help</a> <a href="http://127.0.0.1:7657/susidns/">Addressbook</a>
<a href="http://127.0.0.1:7657/" title="_("Router Console")"><img src="http://proxy.i2p/themes/console/images/i2plogo.png" alt="_("I2P Router Console")" border="0"></a><hr>
<a href="http://127.0.0.1:7657/config.jsp">_("Configuration")</a> <a href="http://127.0.0.1:7657/help.jsp">_("Help")</a> <a href="http://127.0.0.1:7657/susidns/index">_("Addressbook")</a>
</div>
------------------------------>
<div class="warning" id="warning">
<h3>Error: Local Access</h3>
<h3>_("Error: Local Access")</h3>
<p>
Your browser is misconfigured. Do not use the proxy to access the router console,
localhost, or local LAN destinations.
_("Your browser is misconfigured.")
_("Do not use the proxy to access the router console, localhost, or local LAN destinations.")
</p>
</div>