diff --git a/omega-locales/ach/LC_MESSAGES/omega-web.po b/omega-locales/ach/LC_MESSAGES/omega-web.po index af878fe..0afca9d 100644 --- a/omega-locales/ach/LC_MESSAGES/omega-web.po +++ b/omega-locales/ach/LC_MESSAGES/omega-web.po @@ -157,6 +157,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/cs/LC_MESSAGES/omega-web.po b/omega-locales/cs/LC_MESSAGES/omega-web.po index 7fee27c..31fbc5f 100644 --- a/omega-locales/cs/LC_MESSAGES/omega-web.po +++ b/omega-locales/cs/LC_MESSAGES/omega-web.po @@ -159,6 +159,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/de/LC_MESSAGES/omega-web.po b/omega-locales/de/LC_MESSAGES/omega-web.po index 77cae71..cc0c942 100644 --- a/omega-locales/de/LC_MESSAGES/omega-web.po +++ b/omega-locales/de/LC_MESSAGES/omega-web.po @@ -162,6 +162,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/en_US/LC_MESSAGES/omega-web.po b/omega-locales/en_US/LC_MESSAGES/omega-web.po index 18a4267..4a9af4b 100644 --- a/omega-locales/en_US/LC_MESSAGES/omega-web.po +++ b/omega-locales/en_US/LC_MESSAGES/omega-web.po @@ -158,6 +158,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/es_AR/LC_MESSAGES/omega-web.po b/omega-locales/es_AR/LC_MESSAGES/omega-web.po index bd519d2..5b5d8fd 100644 --- a/omega-locales/es_AR/LC_MESSAGES/omega-web.po +++ b/omega-locales/es_AR/LC_MESSAGES/omega-web.po @@ -161,6 +161,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/fa/LC_MESSAGES/omega-web.po b/omega-locales/fa/LC_MESSAGES/omega-web.po index 45eefe1..77c7933 100644 --- a/omega-locales/fa/LC_MESSAGES/omega-web.po +++ b/omega-locales/fa/LC_MESSAGES/omega-web.po @@ -165,6 +165,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/fr/LC_MESSAGES/omega-web.po b/omega-locales/fr/LC_MESSAGES/omega-web.po index 5067e39..a355c1d 100644 --- a/omega-locales/fr/LC_MESSAGES/omega-web.po +++ b/omega-locales/fr/LC_MESSAGES/omega-web.po @@ -159,6 +159,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/is/LC_MESSAGES/omega-web.po b/omega-locales/is/LC_MESSAGES/omega-web.po index cbd5de5..9358bf2 100644 --- a/omega-locales/is/LC_MESSAGES/omega-web.po +++ b/omega-locales/is/LC_MESSAGES/omega-web.po @@ -113,6 +113,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/ja/LC_MESSAGES/omega-web.po b/omega-locales/ja/LC_MESSAGES/omega-web.po index ccb9e3c..b5e63db 100644 --- a/omega-locales/ja/LC_MESSAGES/omega-web.po +++ b/omega-locales/ja/LC_MESSAGES/omega-web.po @@ -154,6 +154,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/nb_NO/LC_MESSAGES/omega-web.po b/omega-locales/nb_NO/LC_MESSAGES/omega-web.po index b8bc705..8240b38 100644 --- a/omega-locales/nb_NO/LC_MESSAGES/omega-web.po +++ b/omega-locales/nb_NO/LC_MESSAGES/omega-web.po @@ -121,6 +121,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/nl/LC_MESSAGES/omega-web.po b/omega-locales/nl/LC_MESSAGES/omega-web.po index a06c26c..21cba85 100644 --- a/omega-locales/nl/LC_MESSAGES/omega-web.po +++ b/omega-locales/nl/LC_MESSAGES/omega-web.po @@ -103,6 +103,9 @@ msgstr "" msgid "condition_alert_fullUrlLimitation" msgstr "" +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/pt_BR/LC_MESSAGES/omega-web.po b/omega-locales/pt_BR/LC_MESSAGES/omega-web.po index 59e7237..af79a6c 100644 --- a/omega-locales/pt_BR/LC_MESSAGES/omega-web.po +++ b/omega-locales/pt_BR/LC_MESSAGES/omega-web.po @@ -158,6 +158,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/ru/LC_MESSAGES/omega-web.po b/omega-locales/ru/LC_MESSAGES/omega-web.po index 73c057e..e7f376c 100644 --- a/omega-locales/ru/LC_MESSAGES/omega-web.po +++ b/omega-locales/ru/LC_MESSAGES/omega-web.po @@ -162,6 +162,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/sk/LC_MESSAGES/omega-web.po b/omega-locales/sk/LC_MESSAGES/omega-web.po index bfa1c92..67ffd0b 100644 --- a/omega-locales/sk/LC_MESSAGES/omega-web.po +++ b/omega-locales/sk/LC_MESSAGES/omega-web.po @@ -112,6 +112,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/sl/LC_MESSAGES/omega-web.po b/omega-locales/sl/LC_MESSAGES/omega-web.po index 6821887..ad9141f 100644 --- a/omega-locales/sl/LC_MESSAGES/omega-web.po +++ b/omega-locales/sl/LC_MESSAGES/omega-web.po @@ -114,6 +114,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/tr/LC_MESSAGES/omega-web.po b/omega-locales/tr/LC_MESSAGES/omega-web.po index 6953582..4510ece 100644 --- a/omega-locales/tr/LC_MESSAGES/omega-web.po +++ b/omega-locales/tr/LC_MESSAGES/omega-web.po @@ -161,6 +161,9 @@ msgstr "" "" "Learn more..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation" + msgid "condition_group_default" msgstr "" diff --git a/omega-locales/zh_CN/LC_MESSAGES/omega-web.po b/omega-locales/zh_CN/LC_MESSAGES/omega-web.po index 705e69c..0713239 100644 --- a/omega-locales/zh_CN/LC_MESSAGES/omega-web.po +++ b/omega-locales/zh_CN/LC_MESSAGES/omega-web.po @@ -140,6 +140,9 @@ msgstr "" "" "更多信息..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-%E5%AE%8C%E6%95%B4%E7%BD%91%E5%9D%80%E9%99%90%E5%88%B6" + msgid "condition_group_default" msgstr " " diff --git a/omega-locales/zh_TW/LC_MESSAGES/omega-web.po b/omega-locales/zh_TW/LC_MESSAGES/omega-web.po index eaad25d..1075f8b 100644 --- a/omega-locales/zh_TW/LC_MESSAGES/omega-web.po +++ b/omega-locales/zh_TW/LC_MESSAGES/omega-web.po @@ -140,6 +140,9 @@ msgstr "" "" "更多信息..." +msgid "condition_alert_fullUrlLimitationLink" +msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-%E5%AE%8C%E6%95%B4%E7%BD%91%E5%9D%80%E9%99%90%E5%88%B6" + msgid "condition_group_default" msgstr " " diff --git a/omega-web/src/less/options.less b/omega-web/src/less/options.less index be6eb0d..fbbc4cd 100644 --- a/omega-web/src/less/options.less +++ b/omega-web/src/less/options.less @@ -469,7 +469,7 @@ main { width: ~"calc(100% - 1.5em)"; } - > .glyphicon { + > .icon-wrapper { display: block; float: right; line-height: 34px; diff --git a/omega-web/src/partials/profile_switch.jade b/omega-web/src/partials/profile_switch.jade index dd3dbea..99f9a25 100644 --- a/omega-web/src/partials/profile_switch.jade +++ b/omega-web/src/partials/profile_switch.jade @@ -65,7 +65,8 @@ div(ng-controller='SwitchProfileCtrl') td(ng-class='{"has-icon": isUrlConditionType[rule.condition.conditionType]}') select.form-control(ng-model='rule.condition.conditionType' ng-options='type.type as ("condition_" + type.type | tr) group by (type.group | tr) for type in conditionTypes') - span.glyphicon.glyphicon-alert.text-danger(ng-if='isUrlConditionType[rule.condition.conditionType]') + a.icon-wrapper(ng-href='{{"condition_alert_fullUrlLimitationLink" | tr}}' target='_blank' ng-if='isUrlConditionType[rule.condition.conditionType]') + span.glyphicon.glyphicon-alert.text-danger td(ng-switch='rule.condition.conditionType' ng-class='{"has-warning": conditionHasWarning(rule.condition)}') span(ng-switch-when='FalseCondition') span(ng-show='!!rule.condition.pattern')