Add about page. Fix #1008. Fix #298.

This commit is contained in:
FelisCatus 2017-03-11 21:35:35 -05:00
parent 80b668a47e
commit d5bce8153e
28 changed files with 679 additions and 43 deletions

View File

@ -1199,3 +1199,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1195,3 +1195,32 @@ msgstr "Zkontrolujte, zda server proxy používaná tento prvek"
msgid "contextMenu_enableQuickSwitch"
msgstr "Povolit rychlé přepínání"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1204,3 +1204,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1181,3 +1181,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1204,3 +1204,32 @@ msgstr "Inspeccionar proxy utilizado para este Elemento."
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1208,3 +1208,32 @@ msgstr "بررسی پروکسی مورد استفاده برای این الما
msgid "contextMenu_enableQuickSwitch"
msgstr "فعال سازی تغییر سرعتی"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1201,3 +1201,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1004,3 +1004,32 @@ msgstr ""
msgid "contextMenu_enableQuickSwitch"
msgstr ""
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1190,3 +1190,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1042,3 +1042,32 @@ msgstr ""
msgid "contextMenu_enableQuickSwitch"
msgstr "Skru på raskt bytte"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -993,3 +993,32 @@ msgstr ""
msgid "contextMenu_enableQuickSwitch"
msgstr ""
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1200,3 +1200,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1204,3 +1204,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1003,3 +1003,32 @@ msgstr ""
msgid "contextMenu_enableQuickSwitch"
msgstr ""
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1005,3 +1005,32 @@ msgstr ""
msgid "contextMenu_enableQuickSwitch"
msgstr ""
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1196,3 +1196,32 @@ msgstr "Inspect proxy used for this Element"
msgid "contextMenu_enableQuickSwitch"
msgstr "Enable Quick Switch"
msgid "about_title"
msgstr "About"
msgid "about_app_description"
msgstr "A proxy configuration tool"
msgid "about_version"
msgstr "Version $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega does not provide proxies, VPNs, or other network services."
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega does not track you or insert ads into webpages. Please see"
" our <a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#english'>privacy policy</a>."
msgid "about_help"
msgstr "Other questions? Need help with using SwitchyOmega? Please see our "
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/FAQ'>FAQ</a>."
msgid "about_copyright"
msgstr "Copyright 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. All rights reserved."
msgid "about_credits"
msgstr "SwitchyOmega is made possible by the <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> open source project and other <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>open source software</a>."
msgid "about_license"
msgstr "SwitchyOmega is <a href='https://www.gnu.org/philosophy/free-sw.en.html'>free software</a> licensed under <a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> Version 3 or later."

View File

@ -1057,3 +1057,32 @@ msgstr "检查此[元素]使用的代理"
msgid "contextMenu_enableQuickSwitch"
msgstr "启用快速切换"
msgid "about_title"
msgstr "关于"
msgid "about_app_description"
msgstr "一个代理设置工具"
msgid "about_version"
msgstr "版本 $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega 不提供代理服务器、VPN等网络服务。"
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega 不会跟踪您的上网记录,不在页面中插入广告。请参见我们的"
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#%E4%B8%AD%E6%96%87'>隐私政策</a>。"
msgid "about_help"
msgstr "如有其他问题或者需要帮助,请参考"
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98'>常见问题</a>。"
msgid "about_copyright"
msgstr "版权所有 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. 保留所有权利。"
msgid "about_credits"
msgstr "SwitchyOmega 的诞生离不开 <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> 开源项目和其他<a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>开源软件</a>。"
msgid "about_license"
msgstr "SwitchyOmega 是<a href='https://www.gnu.org/philosophy/free-sw.zh-cn.html'>自由软件</a>,使用<a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> 版本 3 及以上授权。"

View File

@ -1057,3 +1057,32 @@ msgstr "檢查此[元素]使用的代理"
msgid "contextMenu_enableQuickSwitch"
msgstr "啟用快速切換"
msgid "about_title"
msgstr "關於"
msgid "about_app_description"
msgstr "一個代理設置工具"
msgid "about_version"
msgstr "版本 $VERSION$"
msgid "about_disclaimer_networkService"
msgstr "SwitchyOmega 不提供代理伺服器、VPN等網絡服務。"
msgid "about_disclaimer_privacy"
msgstr "SwitchyOmega 不會跟蹤您的上網記錄,不在頁面中插入廣告。請參見我們的"
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Privacy#%E4%B8%AD%E6%96%87'>隱私政策</a>。"
msgid "about_help"
msgstr "如有其他問題或者需要幫助,請參考"
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98'>常見問題</a>。"
msgid "about_copyright"
msgstr "版權所有 2012-2017 <a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>The SwitchyOmega Authors</a>. 保留所有權利。"
msgid "about_credits"
msgstr "SwitchyOmega 的誕生離不開 <a href='https://github.com/FelisCatus/SwitchyOmega'>SwitchyOmega</a> 開源項目和其他<a href='https://github.com/FelisCatus/SwitchyOmega/blob/master/AUTHORS'>開源軟體</a>。"
msgid "about_license"
msgstr "SwitchyOmega 是<a href='https://www.gnu.org/philosophy/free-sw.zh-tw.html'>自由軟體</a>,使用<a href='https://www.gnu.org/licenses/gpl.html'>GNU General Public License</a> 版本 3 及以上授權。"

View File

@ -20,37 +20,11 @@ if chrome.i18n.getUILanguage?
chrome.contextMenus.create({
title: chrome.i18n.getMessage('popup_reportIssues')
contexts: ["browser_action"]
onclick: ->
url = 'https://github.com/FelisCatus/SwitchyOmega/issues/new?title=&body='
finalUrl = url
try
extensionVersion = chrome.runtime.getManifest().version
env =
extensionVersion: extensionVersion
projectVersion: extensionVersion
userAgent: navigator.userAgent
body = chrome.i18n.getMessage('popup_issueTemplate', [
env.projectVersion, env.userAgent
])
body ||= """
\n\n
<!-- Please write your comment ABOVE this line. -->
SwitchyOmega #{env.projectVersion}
#{env.userAgent}
"""
finalUrl = url + encodeURIComponent(body)
err = localStorage['logLastError']
if err
body += "\n```\n#{err}\n```"
finalUrl = (url + encodeURIComponent(body)).substr(0, 2000)
chrome.tabs.create(url: finalUrl)
onclick: OmegaDebug.reportIssue
})
chrome.contextMenus.create({
title: chrome.i18n.getMessage('popup_errorLog')
contexts: ["browser_action"]
onclick: ->
blob = new Blob [localStorage['log']], {type: "text/plain;charset=utf-8"}
saveAs(blob, "OmegaLog_#{Date.now()}.txt")
onclick: OmegaDebug.downloadLog
})

View File

@ -8,3 +8,6 @@ module.exports =
background_preload:
files:
'build/js/background_preload.js': 'background_preload.coffee'
omega_debug:
files:
'build/js/omega_debug.js': 'omega_debug.coffee'

View File

@ -0,0 +1,40 @@
window.OmegaDebug =
getProjectVersion: ->
chrome.runtime.getManifest().version
getExtensionVersion: ->
chrome.runtime.getManifest().version
downloadLog: ->
blob = new Blob [localStorage['log']], {type: "text/plain;charset=utf-8"}
saveAs(blob, "OmegaLog_#{Date.now()}.txt")
resetOptions: ->
localStorage.clear()
# Prevent options loading from sync storage after reload.
localStorage['omega.local.syncOptions'] = '"conflict"'
chrome.storage.local.clear()
chrome.runtime.reload()
reportIssue: ->
url = 'https://github.com/FelisCatus/SwitchyOmega/issues/new?title=&body='
finalUrl = url
try
projectVersion = OmegaDebug.getProjectVersion()
extensionVersion = OmegaDebug.getExtensionVersion()
env =
extensionVersion: extensionVersion
projectVersion: extensionVersion
userAgent: navigator.userAgent
body = chrome.i18n.getMessage('popup_issueTemplate', [
env.projectVersion, env.userAgent
])
body ||= """
\n\n
<!-- Please write your comment ABOVE this line. -->
SwitchyOmega #{env.projectVersion}
#{env.userAgent}
"""
finalUrl = url + encodeURIComponent(body)
err = localStorage['logLastError']
if err
body += "\n```\n#{err}\n```"
finalUrl = (url + encodeURIComponent(body)).substr(0, 2000)
chrome.tabs.create(url: finalUrl)

View File

@ -8,6 +8,7 @@
<canvas id="canvas-icon"></canvas>
<script src="js/log_error.js"></script>
<script src="lib/FileSaver/FileSaver.js"></script>
<script src="js/omega_debug.js"></script>
<script src="js/background_preload.js"></script>
<script src="js/omega_pac.min.js"></script>
<script src="js/omega_target.min.js"></script>

View File

@ -123,16 +123,18 @@ class Options
'web.switchGuide': 'showOnFirstUse'
}).then (items) => @_state.set(items)
return null unless @sync?
# Try to fetch options from sync storage.
return @sync.storage.get(null).then (options) =>
if not options['schemaVersion']
@_state.set({'syncOptions': 'pristine'})
return null
else
@_state.set({'syncOptions': 'sync'})
@sync.enabled = true
@log.log('Options#loadOptions::fromSync', options)
options
@_state.get({'syncOptions': ''}).then ({syncOptions}) =>
return if syncOptions == 'conflict'
# Try to fetch options from sync storage.
return @sync.storage.get(null).then (options) =>
if not options['schemaVersion']
@_state.set({'syncOptions': 'pristine'})
return null
else
@_state.set({'syncOptions': 'sync'})
@sync.enabled = true
@log.log('Options#loadOptions::fromSync', options)
options
else
@log.error(e.stack)
# Some serious error happened when loading options. Disable syncing
@ -260,7 +262,7 @@ class Options
###
reset: (options) ->
@log.method('Options#reset', this, arguments)
options ?= getDefaultOptions()
options ?= @getDefaultOptions()
@upgrade(@parseOptions(options)).then ([opt]) =>
# Disable syncing when resetting to avoid affecting sync storage.
@sync.enabled = false if @sync?

View File

@ -35,13 +35,13 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
/^\s*(https?|ftp|mailto|chrome-extension):/)
$animateProvider.classNameFilter(/angular-animate/)
$urlRouterProvider.otherwise '/ui'
$urlRouterProvider.otherwise '/about'
$urlRouterProvider.otherwise ($injector, $location) ->
if $location.path() == ''
$injector.get('omegaTarget').lastUrl() || '/ui'
$injector.get('omegaTarget').lastUrl() || '/about'
else
'/ui'
'/about'
$stateProvider
.state('ui',
@ -63,4 +63,22 @@ angular.module('omega').config ($stateProvider, $urlRouterProvider,
).state('about',
url: '/about'
templateUrl: 'partials/about.html'
controller: 'AboutCtrl'
)
angular.module('omega').factory 'omegaDebug', ($window, $rootScope) ->
omegaDebug = $window.OmegaDebug ? {}
omegaDebug.downloadLog ?= ->
blob = new Blob [localStorage['log']], {type: "text/plain;charset=utf-8"}
saveAs(blob, "OmegaLog_#{Date.now()}.txt")
omegaDebug.reportIssue ?= ->
$window.open(
'https://github.com/FelisCatus/SwitchyOmega/issues/new?title=&body=')
return
omegaDebug.resetOptions ?= ->
$rootScope.resetOptions()
omegaDebug

View File

@ -0,0 +1,14 @@
angular.module('omega').controller 'AboutCtrl', ($scope, $rootScope,
$modal, omegaDebug) ->
$scope.downloadLog = omegaDebug.downloadLog
$scope.reportIssue = omegaDebug.reportIssue
$scope.showResetOptionsModal = ->
$modal.open(templateUrl: 'partials/reset_options_confirm.html').result
.then -> omegaDebug.resetOptions()
try
$scope.version = omegaDebug.getProjectVersion()
catch
$scope.version = '?.?.?'

View File

@ -12,7 +12,8 @@ html(lang='en' ng-controller='MasterCtrl' ng-csp)
body(style='display: none;' ng-style='{display: options ? "block" : "none"}')
.container-fluid
header.col-lg-2.col-sm-3.side-nav
h1 {{'appNameShort' | tr}}
h1
a(ui-sref='about' title='{{"about_title" | tr}}') {{'appNameShort' | tr}}
nav.nav.nav-pills.nav-stacked
li.nav-header {{'options_navHeader_setting' | tr}}
li(ui-sref-active='active'): a(ui-sref='ui')
@ -63,6 +64,7 @@ html(lang='en' ng-controller='MasterCtrl' ng-csp)
span.glyphicon(class="{{alertIcons[alert.type]}}")
= ' '
| {{alert.i18n ? (alert.i18n | tr) : alert.message}}
script(src='js/omega_debug.js')
script(src='js/log_error.js')
script(src='lib/script.js/script.min.js')
script(src='js/options.js')

View File

@ -0,0 +1,50 @@
.page-header
h2 {{'about_title' | tr}}
section
.media(style='margin: 1em 0')
.media-left
img.media-object(src='img/icons/omega-action-32.png')
.media-body
h4.media-heading {{'appNameShort' | tr}}
p {{'about_app_description' | tr}}
section
p
button.btn.btn-info(ng-click='reportIssue()')
span.glyphicon.glyphicon-comment
= ' '
| {{'popup_reportIssues' | tr}}
= ' '
button.btn.btn-default(ng-click='downloadLog()')
span.glyphicon.glyphicon-download
= ' '
| {{'popup_errorLog' | tr}}
= ' '
button.btn.btn-danger(ng-click='showResetOptionsModal()')
span.glyphicon.glyphicon-alert
= ' '
| {{'options_reset' | tr}}
section
p
| {{'about_version' | tr:[version]}}
p.text-warning
span.glyphicon.glyphicon-info-sign
= ' '
span(ng-bind-html='"about_disclaimer_networkService" | tr')
p.text-success
span.glyphicon.glyphicon-eye-close
= ' '
span(ng-bind-html='"about_disclaimer_privacy" | tr')
p.text-info
span.glyphicon.glyphicon-question-sign
= ' '
span(ng-bind-html='"about_help" | tr')
section(style='margin-top: 7em')
p
| {{'appNameShort' | tr}}
br
span(ng-bind-html='"about_copyright" | tr')
br
span(ng-bind-html='"about_license" | tr')
br
span(ng-bind-html='"about_credits" | tr')

View File

@ -0,0 +1,10 @@
.modal-header
button.close(type='button' ng-click='$dismiss()')
span(aria-hidden='true') ×
span.sr-only {{'dialog_close' | tr}}
h4.modal-title {{'options_modalHeader_resetOptions' | tr}}
.modal-body
p.text-danger {{'options_resetOptionsConfirm' | tr}}
.modal-footer
button.btn.btn-default(ng-click='$dismiss()') {{'dialog_cancel' | tr}}
button.btn.btn-danger(type='button' ng-click='$close("ok")') {{'options_reset' | tr}}