mirror of
https://github.com/zero-peak/ZeroOmega.git
synced 2025-01-22 15:08:12 -05:00
Add message for unsupported proxy authentication by browser. Fix #1512.
This commit is contained in:
parent
7963c7429c
commit
88a822204d
@ -554,6 +554,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -559,6 +559,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Ověřování"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Varování: Uživatelské jméno a heslo může být nečekané serverům zaslána "
|
||||
|
@ -559,6 +559,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -445,6 +445,11 @@ msgstr ""
|
||||
msgid "options_proxy_auth"
|
||||
msgstr ""
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
||||
|
@ -548,6 +548,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -581,6 +581,11 @@ msgstr "Puerto"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Autenticación"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Advertencia: El nombre usuario/contraseña pueden enviarse a servidores "
|
||||
|
@ -559,6 +559,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -561,6 +561,11 @@ msgstr "پورت"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "تصدیق"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"اخطار : نام کاربری / رمز عبور ممکن است برای سرور های غیرمنتظره توسط اسکریپت "
|
||||
|
@ -561,6 +561,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -474,6 +474,11 @@ msgstr ""
|
||||
msgid "options_proxy_auth"
|
||||
msgstr ""
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
||||
|
@ -549,6 +549,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -490,6 +490,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Identitetsbekreftelse"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
#, fuzzy
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
@ -464,6 +464,11 @@ msgstr ""
|
||||
msgid "options_proxy_auth"
|
||||
msgstr ""
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
||||
|
@ -556,6 +556,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -564,6 +564,11 @@ msgstr "Порт"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Аутентификация"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -473,6 +473,11 @@ msgstr ""
|
||||
msgid "options_proxy_auth"
|
||||
msgstr ""
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
||||
|
@ -475,6 +475,11 @@ msgstr ""
|
||||
msgid "options_proxy_auth"
|
||||
msgstr ""
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
||||
|
@ -556,6 +556,11 @@ msgstr "Port"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Authentication"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
"Warning: The username/password may be sent to unexpected servers returned by "
|
||||
|
@ -604,6 +604,11 @@ msgstr "Порт"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "Дані для входу"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "Your browser DOES NOT support $PROTOCOLDISP$ proxy authentication! "
|
||||
"Please do not report this issue to SwitchyOmega. Contact the support for "
|
||||
"your browser instead."
|
||||
|
||||
#, fuzzy
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr ""
|
||||
|
@ -499,6 +499,10 @@ msgstr "代理端口"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "代理登录"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "您的浏览器不支持 $PROTOCOLDISP$ 代理认证!如有问题请联系您的浏览器支持,"
|
||||
"请勿反馈此问题给 SwitchyOmega."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr "警告: 用户名密码将会提供给PAC脚本返回的任何服务器,有时目标服务器会出乎您的预料。"
|
||||
|
||||
|
@ -489,6 +489,10 @@ msgstr "連接埠"
|
||||
msgid "options_proxy_auth"
|
||||
msgstr "代理認證"
|
||||
|
||||
msgid "options_proxy_authNotSupported"
|
||||
msgstr "您的瀏覽器不支持 $PROTOCOLDISP$ 代理認證!如有問題請聯繫您的瀏覽器支持,"
|
||||
"請勿反饋此問題給 SwitchyOmega."
|
||||
|
||||
msgid "options_proxy_authAllWarningPac"
|
||||
msgstr "警告: 用戶名密碼將會提供給PAC指令碼返回的任何伺服器,有時目標伺服器會出乎您的預料。"
|
||||
|
||||
|
@ -53,10 +53,12 @@ angular.module('omega').controller 'FixedProfileCtrl', ($scope, $modal,
|
||||
scope.proxy = proxy
|
||||
auth = $scope.profile.auth?[prop]
|
||||
scope.auth = auth && angular.copy(auth)
|
||||
scope.authSupported = $scope.authSupported[proxy.scheme]
|
||||
scope.protocolDisp = proxy.scheme
|
||||
$modal.open(
|
||||
templateUrl: 'partials/fixed_auth_edit.html'
|
||||
scope: scope
|
||||
size: 'sm'
|
||||
size: if scope.authSupported then 'sm' else 'lg'
|
||||
).result.then (auth) ->
|
||||
if not auth?.username
|
||||
if $scope.profile.auth
|
||||
|
@ -5,6 +5,11 @@ form(ng-submit='authForm.$valid && $close(auth)' name='authForm')
|
||||
span.sr-only Close
|
||||
h4.modal-title {{'options_modalHeader_proxyAuth' | tr}}
|
||||
.modal-body(style='padding-bottom: 0;')
|
||||
.form-group(ng-show='!authSupported')
|
||||
.alert.alert-danger
|
||||
span.glyphicon.glyphicon-warning-sign
|
||||
= ' '
|
||||
| {{"options_proxy_authNotSupported" | tr:[protocolDisp]}}
|
||||
.form-group
|
||||
label.sr-only {{'options_proxyAuthUsername' | tr}}
|
||||
div(input-group-clear type='text' model='auth.username' autofocus
|
||||
|
@ -26,7 +26,7 @@ div(ng-controller='FixedProfileCtrl')
|
||||
td(ng-if='!proxyEditors[scheme].scheme')
|
||||
input.form-control(type='number' value='' placeholder='{{proxyEditors[""].port}}' disabled)
|
||||
td.proxy-actions
|
||||
button.btn.btn-xs.proxy-auth-toggle(ng-show='authSupported[proxyEditors[scheme].scheme]'
|
||||
button.btn.btn-xs.proxy-auth-toggle(
|
||||
ng-class='isProxyAuthActive(scheme) ? "btn-success" : "btn-default"'
|
||||
type='button' role='button' ng-click='editProxyAuth(scheme)' title='{{"options_proxy_auth" | tr}}')
|
||||
span.glyphicon.glyphicon-lock
|
||||
|
Loading…
Reference in New Issue
Block a user