From 887fee65ad70b9eecb2cc71476b9e7a97c5f7155 Mon Sep 17 00:00:00 2001 From: Ivan Blinkov Date: Fri, 8 May 2020 18:50:21 +0300 Subject: [PATCH] Minor improvements for ru docs (#10752) * update po * re-write feedback email generation --- website/js/base.js | 16 +++++++--------- website/locale/en/LC_MESSAGES/messages.po | 2 +- website/locale/es/LC_MESSAGES/messages.mo | Bin 6274 -> 6274 bytes website/locale/es/LC_MESSAGES/messages.po | 2 +- website/locale/fa/LC_MESSAGES/messages.mo | Bin 7059 -> 7059 bytes website/locale/fa/LC_MESSAGES/messages.po | 2 +- website/locale/fr/LC_MESSAGES/messages.mo | Bin 6135 -> 6135 bytes website/locale/fr/LC_MESSAGES/messages.po | 2 +- website/locale/ja/LC_MESSAGES/messages.mo | Bin 6258 -> 6258 bytes website/locale/ja/LC_MESSAGES/messages.po | 2 +- website/locale/messages.pot | 2 +- website/locale/ru/LC_MESSAGES/messages.mo | Bin 8128 -> 8110 bytes website/locale/ru/LC_MESSAGES/messages.po | 2 +- website/locale/tr/LC_MESSAGES/messages.mo | Bin 6029 -> 6029 bytes website/locale/tr/LC_MESSAGES/messages.po | 2 +- website/locale/zh/LC_MESSAGES/messages.mo | Bin 5582 -> 5582 bytes website/locale/zh/LC_MESSAGES/messages.po | 2 +- 17 files changed, 16 insertions(+), 18 deletions(-) diff --git a/website/js/base.js b/website/js/base.js index 59f3e719476..92d34cf2661 100644 --- a/website/js/base.js +++ b/website/js/base.js @@ -1,13 +1,4 @@ (function () { - var logo_text = $('#logo-text'); - if (logo_text.length) { - var name = logo_text.attr('alt').trim().toLowerCase(); - var feedback_address = name + '-feedback' + '@yandex-team.com'; - var feedback_email = $('#feedback_email'); - feedback_email.attr('href', 'mailto:' + feedback_address); - feedback_email.html(feedback_address); - } - $(document).click(function (event) { var target = $(event.target); var target_id = target.attr('id'); @@ -83,6 +74,13 @@ }); } + $('#feedback_email, .feedback-email').each(function() { + var name = window.location.host.substring(0, 10) + var feedback_address = name + '-feedback' + '@yandex-team.com'; + $(this).attr('href', 'mailto:' + feedback_address); + $(this).html(feedback_address); + }); + (function (d, w, c) { (w[c] = w[c] || []).push(function() { var is_single_page = $('html').attr('data-single-page') === 'true'; diff --git a/website/locale/en/LC_MESSAGES/messages.po b/website/locale/en/LC_MESSAGES/messages.po index da7b0b4843a..0caf8970259 100644 --- a/website/locale/en/LC_MESSAGES/messages.po +++ b/website/locale/en/LC_MESSAGES/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: en\n" diff --git a/website/locale/es/LC_MESSAGES/messages.mo b/website/locale/es/LC_MESSAGES/messages.mo index d7b85ca434e4d91f9ca687de198807afe970da6e..8a44b54eaf5620e43d05a83c70d2ed75ae6a4679 100644 GIT binary patch delta 17 YcmZoNY%<(%iigF}+{$$GIi4-t05`S<6aWAK delta 17 YcmZoNY%<(%iigF(z{+^@Ii4-t05@p{3IG5A diff --git a/website/locale/es/LC_MESSAGES/messages.po b/website/locale/es/LC_MESSAGES/messages.po index 649dd677821..1a1aa85fb44 100644 --- a/website/locale/es/LC_MESSAGES/messages.po +++ b/website/locale/es/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-26 10:19+0300\n" "Last-Translator: FULL NAME \n" "Language: es\n" diff --git a/website/locale/fa/LC_MESSAGES/messages.mo b/website/locale/fa/LC_MESSAGES/messages.mo index f7419f3ecffbfc42eab586de4aeab1db7c1e4b4b..1b3bd3ff610465730796f4be0adc4236c39e153a 100644 GIT binary patch delta 17 ZcmbPiKG}T3DIOL>b1T!$=Xj3t0RTF$237z7 delta 17 ZcmbPiKG}T3DIOLB11sar=Xj3t0RTE;2220| diff --git a/website/locale/fa/LC_MESSAGES/messages.po b/website/locale/fa/LC_MESSAGES/messages.po index 2653fa85945..4290aba44b2 100644 --- a/website/locale/fa/LC_MESSAGES/messages.po +++ b/website/locale/fa/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-26 10:19+0300\n" "Last-Translator: FULL NAME \n" "Language: fa\n" diff --git a/website/locale/fr/LC_MESSAGES/messages.mo b/website/locale/fr/LC_MESSAGES/messages.mo index 2bad66edaecec6e5dd3a25df4bc77169ba16ca52..1b56afa453381e7931d5d2f40a4e7172484f8c90 100644 GIT binary patch delta 17 Ycmeya|6PB>DIOL>b1T!$=Xf-^0YwA`ZvX%Q delta 17 Ycmeya|6PB>DIOLB11sar=Xf-^0YtY3WdHyG diff --git a/website/locale/fr/LC_MESSAGES/messages.po b/website/locale/fr/LC_MESSAGES/messages.po index 889cab1455c..aa332939179 100644 --- a/website/locale/fr/LC_MESSAGES/messages.po +++ b/website/locale/fr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-30 15:12+0300\n" "Last-Translator: FULL NAME \n" "Language: fr\n" diff --git a/website/locale/ja/LC_MESSAGES/messages.mo b/website/locale/ja/LC_MESSAGES/messages.mo index aae8f6423408cfaf435af2cd7c17a833a52a719a..879e68bd8ebc18b93fd68c6b6aaede784e3dc979 100644 GIT binary patch delta 17 Zcmexl@X27qDIOL>b1T!$=XjQI0{}&M2I2q! delta 17 Zcmexl@X27qDIOLB11sar=XjQI0{}%U2G{@q diff --git a/website/locale/ja/LC_MESSAGES/messages.po b/website/locale/ja/LC_MESSAGES/messages.po index 107279ea70b..ba40c41edf1 100644 --- a/website/locale/ja/LC_MESSAGES/messages.po +++ b/website/locale/ja/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-26 10:19+0300\n" "Last-Translator: FULL NAME \n" "Language: ja\n" diff --git a/website/locale/messages.pot b/website/locale/messages.pot index 23c1200842b..b209f40175b 100644 --- a/website/locale/messages.pot +++ b/website/locale/messages.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/website/locale/ru/LC_MESSAGES/messages.mo b/website/locale/ru/LC_MESSAGES/messages.mo index 5c00eb529f84a0a64513df420befafeab34d100e..6d0187452dddfec6d8305eaa480f493d9eb6f01d 100644 GIT binary patch delta 86 zcmX?Lzs`Qc7G_fc1_p*batsU_K>93@<^9q8<^<9|pnN8I1_m)8UmHj#18FB9EeWKTZGOr8 wkb}j*z{+^@IiA0Q%sVdjPd+2(BcO0$?}ZHt7aK2ZxUlnL(}k^*CFG|80Ik~|od5s; diff --git a/website/locale/ru/LC_MESSAGES/messages.po b/website/locale/ru/LC_MESSAGES/messages.po index 2ec9c43ab60..5bb1fa8cef2 100644 --- a/website/locale/ru/LC_MESSAGES/messages.po +++ b/website/locale/ru/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-26 10:19+0300\n" "Last-Translator: FULL NAME \n" "Language: ru\n" diff --git a/website/locale/tr/LC_MESSAGES/messages.mo b/website/locale/tr/LC_MESSAGES/messages.mo index 0dd842eec9d9b99774f251feeea873795472cb97..938a800f4305d14cabcdb6fa8593fb8ea76dc593 100644 GIT binary patch delta 17 YcmeCx@73RMiigF}+{$$GIiCGo066akFaQ7m delta 17 YcmeCx@73RMiigF(z{+^@IiCGo063xsCIA2c diff --git a/website/locale/tr/LC_MESSAGES/messages.po b/website/locale/tr/LC_MESSAGES/messages.po index e5f81c1371a..99fa010afd7 100644 --- a/website/locale/tr/LC_MESSAGES/messages.po +++ b/website/locale/tr/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-04-15 13:17+0000\n" "Last-Translator: FULL NAME \n" "Language: tr\n" diff --git a/website/locale/zh/LC_MESSAGES/messages.mo b/website/locale/zh/LC_MESSAGES/messages.mo index 03027fd7add6d0c106f8dc29d49e244626cb42a8..9c36aa66bc42e54c3ca4e623256ce2fcd19aceb3 100644 GIT binary patch delta 16 XcmX@7eNKDBDIOL>b1T!u=Xf{)IQIqG delta 16 XcmX@7eNKDBDIOLB11saj=Xf{)IJ5=O diff --git a/website/locale/zh/LC_MESSAGES/messages.po b/website/locale/zh/LC_MESSAGES/messages.po index e94730d94fe..f509557fed1 100644 --- a/website/locale/zh/LC_MESSAGES/messages.po +++ b/website/locale/zh/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2020-05-08 00:37+0300\n" +"POT-Creation-Date: 2020-05-08 17:57+0300\n" "PO-Revision-Date: 2020-03-26 10:19+0300\n" "Last-Translator: FULL NAME \n" "Language: zh\n"