add a wiki link, shorten the USO link, use https everywhere

This commit is contained in:
tophf 2017-12-13 06:53:25 +03:00
parent 9fbe97bfd6
commit fd4300f841
4 changed files with 27 additions and 6 deletions

View File

@ -493,6 +493,18 @@
"message": "License", "message": "License",
"description": "Label for the license" "description": "Label for the license"
}, },
"linkGetStyles": {
"message": "Get styles",
"description": "Help link text on the manage page e.g. https://userstyles.org"
},
"linkGetHelp": {
"message": "Get help",
"description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info"
},
"linkStylusWiki": {
"message": "Wiki",
"description": "Wiki link text on the manage page e.g. https://github.com/openstyles/stylus/wiki"
},
"linterConfigPopupTitle": { "linterConfigPopupTitle": {
"message": "Set $linter$ rules configuration", "message": "Set $linter$ rules configuration",
"description": "Stylelint or CSSLint popup header", "description": "Stylelint or CSSLint popup header",
@ -620,10 +632,6 @@
"message": "Number of applies-to items", "message": "Number of applies-to items",
"description": "Label for the numeric input box to limit max number of applies-to targets in the new UI on manage page" "description": "Label for the numeric input box to limit max number of applies-to targets in the new UI on manage page"
}, },
"manageText": {
"message": "<a href='https://userstyles.org'>Get styles on userstyles.org</a> | <a href='http://add0n.com/stylus.html'>Get help</a>",
"description": "Help text on the manage page"
},
"manageTitle": { "manageTitle": {
"message": "Stylus", "message": "Stylus",
"description": "Title for the manage page" "description": "Title for the manage page"

View File

@ -337,7 +337,11 @@
</p> </p>
</details> </details>
<p id="manage-text" i18n-html="manageText"></p> <p id="manage-text">
<span><a href="https://userstyles.org" target="_blank" i18n-text="linkGetStyles"></a></span>
<span><a href="https://add0n.com/stylus.html#features" target="_blank" i18n-text="linkGetHelp"></a></span>
<span><a href="https://github.com/openstyles/stylus/wiki" target="_blank" i18n-text="linkStylusWiki"></a></span>
</p>
</div> </div>

View File

@ -411,6 +411,15 @@ select {
margin: -2px 1ex 0 0; margin: -2px 1ex 0 0;
} }
#manage-text {
display: flex;
}
#manage-text > :not(:last-child):after {
content: "|";
margin: 0 .5em;
}
.newUI .entry .svg-icon.checked, .newUI .entry .svg-icon.checked,
.newUI .entry:hover .svg-icon.checked { .newUI .entry:hover .svg-icon.checked {
fill: #000; fill: #000;

View File

@ -3,7 +3,7 @@
"version": "1.1.8", "version": "1.1.8",
"minimum_chrome_version": "49", "minimum_chrome_version": "49",
"description": "__MSG_description__", "description": "__MSG_description__",
"homepage_url": "http://add0n.com/stylus.html", "homepage_url": "https://add0n.com/stylus.html",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {
"16": "/images/icon/16.png", "16": "/images/icon/16.png",