From 85edbf75b2834da7882af78c7e3c4a20a09193cd Mon Sep 17 00:00:00 2001 From: ilyaigpetrov Date: Sat, 7 Sep 2019 16:12:54 +0000 Subject: [PATCH] Translate to en more of exceptions editor tab --- .../_locales/en/messages.tmpl.json | 15 +++++++++++++++ .../_locales/ru/messages.tmpl.json | 15 +++++++++++++++ .../pages/options/src/components/ExcEditor.js | 10 +++++----- 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json index 542ca8e..c2951a1 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/en/messages.tmpl.json @@ -121,5 +121,20 @@ }, "m": { "message": "m" + }, + "ProxyTheDomainNameBelowQ": { + "message": "Proxy the domain name below?" + }, + "auto": { + "message": "auto" + }, + "yes": { + "message": "yes" + }, + "no": { + "message": "no" + }, + "noOwnProxiesError": { + "message": "Proxying of OWN sites is possible only via OWN proxies. No own proxies found that satisfy your requirements." } } diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json index 90363f2..15f8bb3 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/_locales/ru/messages.tmpl.json @@ -121,5 +121,20 @@ }, "m": { "message": " месяцев" + }, + "ProxyTheDomainNameBelowQ": { + "message": "Проксировать указанное доменное имя?" + }, + "auto": { + "message": "авто" + }, + "yes": { + "message": "да" + }, + "no": { + "message": "нет" + }, + "noOwnProxiesError": { + "message": "Проксировать СВОИ сайты можно только при наличии СВОИХ прокси. Нет своих прокси, удовлетворяющих вашим требованиям." } } diff --git a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js index 4bf2dbe..42aa8d4 100644 --- a/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js +++ b/extensions/chromium/runet-censorship-bypass/src/extension-common/pages/options/src/components/ExcEditor.js @@ -137,7 +137,7 @@ export default function getExcEditor(theState) { case 'this-no': if (ifYesClicked && !pacMods.filteredCustomsString) { this.props.funs.showErrors( new TypeError( - 'Проксировать СВОИ сайты можно только при наличии СВОИХ прокси. Нет своих прокси, удовлетворяющих вашим требованиям.' + chrome.i18n.getMessage('noOwnProxiesError'), )); return false; } @@ -293,7 +293,7 @@ export default function getExcEditor(theState) { return (
-
Проксировать указанный сайт?
+
{chrome.i18n.getMessage('ProxyTheDomainNameBelowQ')}
*.{' '} + style="position: relative; top: 0.15em;"> {chrome.i18n.getMessage('auto')}
  • {' '}
  • - {' '}
  • + {' '}
    );