From a425ea72380482fc6fa6c5f06dbe74b6b8b9febe Mon Sep 17 00:00:00 2001 From: Shanker Wang Date: Tue, 20 Aug 2019 02:20:41 +0000 Subject: [PATCH 1/6] add link to alternative page --- _includes/legacy_notes.html | 18 ++++++++++++++++++ index.html | 2 +- static/js/index.es6 | 4 ++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 _includes/legacy_notes.html diff --git a/_includes/legacy_notes.html b/_includes/legacy_notes.html new file mode 100644 index 0000000..8386b44 --- /dev/null +++ b/_includes/legacy_notes.html @@ -0,0 +1,18 @@ +{% raw %} +
+
+

尊敬的访问者,

+

Dear visitor,

+

Chère cliente,

+

訪問者へ 、

+

 

+

您好!

+

Hello!

+

Bonjour!

+

こんにちは !

+

 

+

我们检测到您当前的浏览器不能正常显示我们的主页,请更新您的浏览器,并启用 Javascript,或者访问我们的代用页面

+

Your browser is not compatible with our website. Please upgrade and enable Javascript, or visit our alternate page

+
+
+{% endraw %} diff --git a/index.html b/index.html index d3b491f..870cfe6 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,8 @@ permalink: / {% include head.html %} + {% include legacy_notes.html %} {% include nav.html %} -
diff --git a/static/js/index.es6 b/static/js/index.es6 index 95ac4cd..c938553 100644 --- a/static/js/index.es6 +++ b/static/js/index.es6 @@ -72,6 +72,10 @@ var mir_tmpl = $("#template").text(), {% for mir in site.data.mirror_desc %} '{{mir.name}}': '{{mir.desc}}' {% if forloop.index < forloop.length %},{% endif %}{% endfor %} } +new Vue({ + el: "#upgrade-mask", +}); + var vmMirList = new Vue({ el: "#mirror-list", data: { From 098bef0b17c7042ca984c7a11f31f6dfa05bee5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=82=88?= Date: Mon, 19 Aug 2019 22:34:14 -0400 Subject: [PATCH 2/6] add more translations. --- _includes/legacy_notes.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_includes/legacy_notes.html b/_includes/legacy_notes.html index 8386b44..2533c8a 100644 --- a/_includes/legacy_notes.html +++ b/_includes/legacy_notes.html @@ -11,8 +11,10 @@

Bonjour!

こんにちは !

 

-

我们检测到您当前的浏览器不能正常显示我们的主页,请更新您的浏览器,并启用 Javascript,或者访问我们的代用页面

-

Your browser is not compatible with our website. Please upgrade and enable Javascript, or visit our alternate page

+

我们检测到您当前的浏览器不能正常显示我们的主页,请更新您的浏览器,并启用 Javascript,或者访问我们的代用页面

+

Your browser is not compatible with our website. Please upgrade and enable Javascript, or visit our alternate page.

+

Votre navigateur n'est pas compatible avec notre site web. Mettez à niveau et activez Javascript, ou visitez notre page alternative.

+

お使いのブラウザは当社のウェブサイトと互換性がありません。 JavaScriptをアップグレードして有効にするか、代替ページにアクセスしてください。

{% endraw %} From 01c93617fe32bec010a9b569ecf2b89078a28cec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=82=88?= Date: Tue, 20 Aug 2019 15:43:01 -0400 Subject: [PATCH 3/6] [WIP] create legacy index page template --- _includes/footer.html | 10 ++- _includes/head.html | 45 +++++++++++ _includes/nav.html | 6 +- _layouts/index.html | 181 ++++++++++++++++++++++++++++++++++++++++++ index.html | 155 +----------------------------------- legacy_index.html | 5 ++ 6 files changed, 242 insertions(+), 160 deletions(-) create mode 100644 _layouts/index.html create mode 100644 legacy_index.html diff --git a/_includes/footer.html b/_includes/footer.html index c9cda8d..c2c6503 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,15 +1,16 @@ {% for footer-i in (1...2) %} - {% endraw %} From c6532d23ecd2424b9b444f32ac9767f76cba3dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B6=BA=E9=BA=97=E3=81=AA=E8=B3=A2=E7=8B=BC=E3=83=9B?= =?UTF-8?q?=E3=83=AD?= Date: Wed, 21 Aug 2019 13:44:00 +0800 Subject: [PATCH 6/6] Improve Japanese translation --- _includes/legacy_notes.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/legacy_notes.html b/_includes/legacy_notes.html index 0f14cd7..e3e19a0 100644 --- a/_includes/legacy_notes.html +++ b/_includes/legacy_notes.html @@ -4,17 +4,17 @@

尊敬的访问者,

Dear visitor,

Chère cliente,

-

訪問者へ 、

+

ご利用者様

 

您好!

Hello!

Bonjour!

-

こんにちは !

+

宜しくお願い致します。

 

我们检测到您当前的浏览器不能正常显示我们的主页,请更新您的浏览器,并启用 Javascript,或者访问我们的代用页面

Your browser is not compatible with our website. Please upgrade and enable Javascript, or visit our alternate page.

Votre navigateur n'est pas compatible avec notre site web. Mettez à niveau et activez Javascript, ou visitez notre page alternative.

-

お使いのブラウザは当社のウェブサイトと互換性がありません。 JavaScriptをアップグレードして有効にするか、代替ページにアクセスしてください。

+

お使いのブラウザは当サイトとの互換性はありません。ブラウザを更新しJavaScriptを有効にするか、或いはこちらの代用ページをご利用ください。

{% endraw %}