From 632f34e1145beb1477a3bcbc23d5d371c4fd9da3 Mon Sep 17 00:00:00 2001
From: hamada <hamada@mail.i2p>
Date: Tue, 22 Feb 2011 01:24:04 +0000
Subject: [PATCH] Fixed my translation bug in proxy files

---
 .../proxy/ahelper-conflict-header.ht          |  4 +--
 .../proxy/ahelper-conflict-header_ar.ht       | 28 +++++++++++++++++++
 installer/resources/proxy/dnfp-header.ht      |  2 +-
 3 files changed, 31 insertions(+), 3 deletions(-)
 create mode 100644 installer/resources/proxy/ahelper-conflict-header_ar.ht

diff --git a/installer/resources/proxy/ahelper-conflict-header.ht b/installer/resources/proxy/ahelper-conflict-header.ht
index d3a4d8380d..670a64693c 100644
--- a/installer/resources/proxy/ahelper-conflict-header.ht
+++ b/installer/resources/proxy/ahelper-conflict-header.ht
@@ -4,7 +4,7 @@ Cache-control: no-cache
 Connection: close
 Proxy-Connection: close
 
-<html lang="ar" dir="rtl"><head>
+<html><head>
 <title>I2P Warning: Destination key conflict</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" >
@@ -12,7 +12,7 @@ Proxy-Connection: close
 <body>
 <div class=logo>
  <a href="http://127.0.0.1:7657/index.jsp" 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">اعدادات</a> <a href="http://127.0.0.1:7657/help.jsp">مساعدة</a> <a href="http://127.0.0.1:7657/susidns/">دفتر العناوين</a>
+ <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>
 </div>
 <div class=warning id=warning>
 <h3>Warning: Destination Key Conflict</h3>
diff --git a/installer/resources/proxy/ahelper-conflict-header_ar.ht b/installer/resources/proxy/ahelper-conflict-header_ar.ht
new file mode 100644
index 0000000000..d3a4d8380d
--- /dev/null
+++ b/installer/resources/proxy/ahelper-conflict-header_ar.ht
@@ -0,0 +1,28 @@
+HTTP/1.1 409 Conflict
+Content-Type: text/html; charset=UTF-8
+Cache-control: no-cache
+Connection: close
+Proxy-Connection: close
+
+<html lang="ar" dir="rtl"><head>
+<title>I2P Warning: Destination key conflict</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>
+<body>
+<div class=logo>
+ <a href="http://127.0.0.1:7657/index.jsp" 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">اعدادات</a> <a href="http://127.0.0.1:7657/help.jsp">مساعدة</a> <a href="http://127.0.0.1:7657/susidns/">دفتر العناوين</a>
+</div>
+<div class=warning id=warning>
+<h3>Warning: Destination Key Conflict</h3>
+The addresshelper link you followed specifies a different destination key
+than a host entry in your host database.
+Someone could be trying to impersonate another eepsite,
+or people have given two eepsites identical names.
+<p>
+You can resolve the conflict by considering which key you trust,
+and either discarding the addresshelper link,
+discarding the host entry from your host database,
+or naming one of them differently.
+<p>
diff --git a/installer/resources/proxy/dnfp-header.ht b/installer/resources/proxy/dnfp-header.ht
index f6e781e30a..9f627bb8d2 100644
--- a/installer/resources/proxy/dnfp-header.ht
+++ b/installer/resources/proxy/dnfp-header.ht
@@ -4,7 +4,7 @@ Cache-control: no-cache
 Connection: close
 Proxy-Connection: close
 
-<html lang="ar" dir="rtl"><head>
+<html><head>
 <title>I2P Warning: Outproxy Not Found</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" >
-- 
GitLab