Add a testing badge and warning text on options page.

This commit is contained in:
FelisCatus 2017-04-13 23:10:06 -04:00
parent f421810959
commit 2f5c0cb0b1
21 changed files with 121 additions and 3 deletions

View File

@ -217,6 +217,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1212,6 +1215,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -219,6 +219,9 @@ msgstr "Obnovit"
msgid "options_title"
msgstr "SwitchyOmega Nastavení"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Nastavení"
@ -1208,6 +1211,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -222,6 +222,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1217,6 +1220,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -4,7 +4,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-13 10:29+0000\n"
"PO-Revision-Date: 2015-02-17 07:02+0200\n"
"Last-Translator: FelisCatus <shyc2010@gmail.com>\n"
"Last-Translator: FelisCatus <catux@gmail.com>\n"
"Language-Team: English (United States) "
"<https://hosted.weblate.org/projects/switchyomega/main/en_US/>\n"
"Language: en_US\n"
@ -218,6 +218,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1194,6 +1197,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -222,6 +222,9 @@ msgstr "Restaurar"
msgid "options_title"
msgstr "Opciones SwitchyOmega"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Configuraciones"
@ -1217,6 +1220,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -225,6 +225,9 @@ msgstr "بازگرداندن"
msgid "options_title"
msgstr "تنظیمات SwitchyOmega"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "تنظیمات"
@ -1221,6 +1224,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -219,6 +219,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1214,6 +1217,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -173,6 +173,9 @@ msgstr ""
msgid "options_title"
msgstr ""
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr ""
@ -1017,6 +1020,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -214,6 +214,9 @@ msgstr "復元"
msgid "options_title"
msgstr "SwitchyOmega オプション"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "設定"
@ -1202,6 +1205,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -181,6 +181,9 @@ msgstr "Gjenopprett"
msgid "options_title"
msgstr "SwitchyOmega-valg"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Innstillinger"
@ -1055,6 +1058,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -163,6 +163,9 @@ msgstr ""
msgid "options_title"
msgstr ""
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr ""
@ -1006,6 +1009,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -218,6 +218,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1213,6 +1216,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -222,6 +222,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1217,6 +1220,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -172,6 +172,9 @@ msgstr ""
msgid "options_title"
msgstr ""
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr ""
@ -1016,6 +1019,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -174,6 +174,9 @@ msgstr ""
msgid "options_title"
msgstr ""
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr ""
@ -1018,6 +1021,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -221,6 +221,9 @@ msgstr "Restore"
msgid "options_title"
msgstr "SwitchyOmega Options"
msgid "options_experimental_badge"
msgstr "α"
msgid "options_navHeader_setting"
msgstr "Settings"
@ -1209,6 +1212,9 @@ msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox support is highly experimental! If you encounter issues, please report using the buttons below."
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."

View File

@ -4,7 +4,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-13 11:05+0000\n"
"PO-Revision-Date: 2015-02-15 14:52+0200\n"
"Last-Translator: FelisCatus <shyc2010@gmail.com>\n"
"Last-Translator: FelisCatus <catusx@gmail.com>\n"
"Language-Team: Chinese (China) "
"<https://hosted.weblate.org/projects/switchyomega/main/zh_CN/>\n"
"Language: zh_CN\n"
@ -200,6 +200,9 @@ msgstr "还原"
msgid "options_title"
msgstr "SwitchyOmega 选项"
msgid "options_experimental_badge"
msgstr "测试版"
msgid "options_navHeader_setting"
msgstr "设定"
@ -1070,6 +1073,9 @@ msgstr "一个代理设置工具"
msgid "about_version"
msgstr "版本 $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox 浏览器支持目前仍处于早期实验阶段!如果您遇到任何问题,请使用下方的按钮进行反馈。"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega 不提供代理服务器、VPN等网络服务。"

View File

@ -4,7 +4,7 @@ msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-13 11:15+0000\n"
"PO-Revision-Date: 2015-02-28 07:52+0200\n"
"Last-Translator: FelisCatus <shyc2010@gmail.com>\n"
"Last-Translator: FelisCatus <catusx@gmail.com>\n"
"Language-Team: Chinese (Taiwan) "
"<https://hosted.weblate.org/projects/switchyomega/main/zh_TW/>\n"
"Language: zh_TW\n"
@ -200,6 +200,9 @@ msgstr "還原"
msgid "options_title"
msgstr "SwitchyOmega 選項"
msgid "options_experimental_badge"
msgstr "測試版"
msgid "options_navHeader_setting"
msgstr "設定"
@ -1070,6 +1073,9 @@ msgstr "一個代理設置工具"
msgid "about_version"
msgstr "版本 $VERSION$"
msgid "about_experimental_warning_moz"
msgstr "Mozilla Firefox 瀏覽器支持目前仍處於早期實驗階段!如果您遇到任何問題,請使用下方的按鈕進行反饋。"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega 不提供代理伺服器、VPN等網絡服務。"

View File

@ -3,6 +3,9 @@ angular.module('omega').controller 'MasterCtrl', ($scope, $rootScope, $window,
$timeout, $location, $filter, getAttachedName, isProfileNameReserved,
isProfileNameHidden, dispNameFilter, downloadFile) ->
if not chrome?.proxy?.settings?
$scope.isExperimental = true
tr = $filter('tr')
$rootScope.options = null

View File

@ -14,6 +14,8 @@ html(lang='en' ng-controller='MasterCtrl' ng-csp)
header.col-lg-2.col-sm-3.side-nav
h1
a(ui-sref='about' title='{{"about_title" | tr}}') {{'appNameShort' | tr}}
sup.om-experimental.text-danger(ng-show='isExperimental')
| {{'options_experimental_badge' | tr}}
nav.nav.nav-pills.nav-stacked
li.nav-header {{'options_navHeader_setting' | tr}}
li(ui-sref-active='active'): a(ui-sref='ui')

View File

@ -1,5 +1,10 @@
.page-header
h2 {{'about_title' | tr}}
section.omega-experimental(ng-show='isExperimental')
p.alert.alert-danger
span.glyphicon.glyphicon-warning-sign
= ' '
span {{'about_experimental_warning_moz' | tr}}
section
.media(style='margin: 1em 0')
.media-left