mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-23 18:03:44 +03:00
Pac choosing tab is fully translated to en
This commit is contained in:
parent
426793e700
commit
55b4ba385a
|
@ -17,9 +17,33 @@
|
|||
"update": {
|
||||
"message": "update"
|
||||
},
|
||||
"UpdatingDDD": {
|
||||
"message": "Updating..."
|
||||
},
|
||||
"UpdatedD": {
|
||||
"message": "Updated."
|
||||
},
|
||||
"DisablingDDD": {
|
||||
"message": "Disabling..."
|
||||
},
|
||||
"DisabledD": {
|
||||
"message": "Disabled."
|
||||
},
|
||||
"InstallingDDD": {
|
||||
"message": "Installing..."
|
||||
},
|
||||
"PacScriptWasInstalledD": {
|
||||
"message": "PAC-script was installed."
|
||||
},
|
||||
"Version": {
|
||||
"message": "Version"
|
||||
},
|
||||
"FullVersion": {
|
||||
"message": "Full version"
|
||||
},
|
||||
"VersionForSlowMachines": {
|
||||
"message": "Version for slow machines"
|
||||
},
|
||||
"FailedToDownloadPacScriptFromAddresses": {
|
||||
"message": "Failed to download PAC-script from addresses"
|
||||
},
|
||||
|
|
|
@ -17,9 +17,33 @@
|
|||
"update": {
|
||||
"message": "обновить"
|
||||
},
|
||||
"UpdatingDDD": {
|
||||
"message": "Обновляем..."
|
||||
},
|
||||
"UpdatedD": {
|
||||
"message": "Обновлено."
|
||||
},
|
||||
"DisablingDDD": {
|
||||
"message": "Отключение..."
|
||||
},
|
||||
"DisabledD": {
|
||||
"message": "Отключено."
|
||||
},
|
||||
"InstallingDDD": {
|
||||
"message": "Установка..."
|
||||
},
|
||||
"PacScriptWasInstalledD": {
|
||||
"message": "PAC-скрипт установлен."
|
||||
},
|
||||
"Version": {
|
||||
"message": "Версия"
|
||||
},
|
||||
"FullVersion": {
|
||||
"message": "Полная версия"
|
||||
},
|
||||
"VersionForSlowMachines": {
|
||||
"message": "Версия для слабых машин"
|
||||
},
|
||||
"FailedToDownloadPacScriptFromAddresses": {
|
||||
"message": "Не удалось скачать PAC-скрипт с адресов"
|
||||
},
|
||||
|
|
|
@ -62,9 +62,9 @@ export default function getPacChooser(theState) {
|
|||
|
||||
this.updatePac = function updatePac(onSuccess) {
|
||||
props.funs.conduct(
|
||||
'Обновляем...',
|
||||
chrome.i18n.getMessage('UpdatingDDD'),
|
||||
(cb) => theState.apis.antiCensorRu.syncWithPacProviderAsync(cb),
|
||||
'Обновлено.',
|
||||
chrome.i18n.getMessage('UpdatedD'),
|
||||
onSuccess
|
||||
);
|
||||
};
|
||||
|
@ -101,17 +101,17 @@ export default function getPacChooser(theState) {
|
|||
}
|
||||
if (pacKey === 'none') {
|
||||
this.props.funs.conduct(
|
||||
'Отключение...',
|
||||
chrome.i18n.getMessage('DisablingDDD'),
|
||||
(cb) => theState.apis.antiCensorRu.clearPacAsync(cb),
|
||||
'Отключено.',
|
||||
chrome.i18n.getMessage('DisabledD'),
|
||||
() => this.setState({ chosenPacName: 'none' }),
|
||||
checkChosenProvider
|
||||
);
|
||||
} else {
|
||||
this.props.funs.conduct(
|
||||
'Установка...',
|
||||
chrome.i18n.getMessage('InstallingDDD'),
|
||||
(cb) => theState.apis.antiCensorRu.installPacAsync(pacKey, cb),
|
||||
'PAC-скрипт установлен.',
|
||||
chrome.i18n.getMessage('PacScriptWasInstalledD'),
|
||||
checkChosenProvider
|
||||
);
|
||||
}
|
||||
|
@ -146,9 +146,9 @@ export default function getPacChooser(theState) {
|
|||
{
|
||||
props.flags.ifMini
|
||||
? (<a class={scopedCss.otherVersion + ' emoji'} href="https://rebrand.ly/ac-versions"
|
||||
title="Полная версия">🏋</a>)
|
||||
title={chrome.i18n.getMessage("FullVersion")}>🏋</a>)
|
||||
: (<a class={scopedCss.otherVersion + ' emoji'} href="https://rebrand.ly/ac-versions"
|
||||
title="Версия для слабых машин">🐌</a>)
|
||||
title={chrome.i18n.getMessage("VersionForSlowMachines")}>🐌</a>)
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -32,9 +32,11 @@ export default function append(document, { flags }) {
|
|||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
/*
|
||||
label {
|
||||
user-select: none;
|
||||
}
|
||||
*/
|
||||
div, section, header, ul, ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user