Add a link to the warning for full URL limitation. See #845.

This commit is contained in:
FelisCatus 2017-06-01 01:04:15 -04:00
parent 5efdf3f8e1
commit 7333d43064
20 changed files with 57 additions and 2 deletions

View File

@ -157,6 +157,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -159,6 +159,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -162,6 +162,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -158,6 +158,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -161,6 +161,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -165,6 +165,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -159,6 +159,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -113,6 +113,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr ""

View File

@ -154,6 +154,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -121,6 +121,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr ""

View File

@ -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 ""

View File

@ -158,6 +158,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -162,6 +162,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr " "

View File

@ -112,6 +112,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr ""

View File

@ -114,6 +114,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr ""

View File

@ -161,6 +161,9 @@ msgstr ""
"<a href='https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation'>"
"Learn more...</a>"
msgid "condition_alert_fullUrlLimitationLink"
msgstr "https://github.com/FelisCatus/SwitchyOmega/wiki/Chromium-Full-URL-Limitation"
msgid "condition_group_default"
msgstr ""

View File

@ -140,6 +140,9 @@ msgstr ""
"<a href='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'>"
"更多信息...</a>"
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 " "

View File

@ -140,6 +140,9 @@ msgstr ""
"<a href='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'>"
"更多信息...</a>"
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 " "

View File

@ -469,7 +469,7 @@ main {
width: ~"calc(100% - 1.5em)";
}
> .glyphicon {
> .icon-wrapper {
display: block;
float: right;
line-height: 34px;

View File

@ -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')