diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 0fb81935..31e504d0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -1,33 +1,37 @@ # Contributing to Stylus -1. [Getting Involved](#getting-involved) -2. [How to Report Issues](#how-to-report-issues) -3. [Adding Tranlations](#adding-translations) -4. [Core Style Guide](#core-style-guide) -5. [Getting Started](#getting-started) +1. [Getting involved](#getting-involved) +2. [How to report issues](#how-to-report-issues) +3. [Adding translations](#adding-translations) +4. [Pull requests](#pull-requests) +5. [Contact us](#contact-us) -## Getting Involved +## Getting involved There are a number of ways to get involved with the development of Stylus. Even if you've never contributed to an Open Source project before, we're always looking for help by identifying issues and suggesting improvements. -## How to Report issues +## How to report issues -When an issue is opened, a template is provided. Please answer these questions as thoroughly as possible. If we were psychic, we'd be hanging out in casinos playing poker until they kicked us out. We can't read your mind! Please provide step-by-step direction on how to reproduce the issue as well as the browser, operating system and versions of each. +When an [**issue**](https://github.com/openstyles/stylus/issues) is opened, a template is provided. Please answer these questions as thoroughly as possible. If we were psychic, we'd be hanging out in casinos playing poker until they kicked us out. We can't read your mind! Please provide step-by-step directions on how to reproduce the issue as well as the versions of your operating system, browser and Stylus. -When adding a feature request, please include +When adding a **feature request**, please search through the existing issues to see if it the feature has already been requested, added or rejected. -## Adding Translations +If not, then provide details describing which page the feature will effect, e.g. popup, manager or editor. Then describe the request and explain how you think it would benefit the user experience. + + +## Adding translations You can help us translate the extension on [Transifex](https://www.transifex.com/github-7/Stylus). When `messages.json` file is ready to be merged, please open a new bug report in [stylus/issues](https://github.com/openstyles/stylus/issues). -## Core Style Guide - -* Use the provided `.editorconfig` file with your code editor. Don't know what that is? Then check out http://editorconfig.org/. - -## Getting Started +## Pull requests * First open an issue to discuss your changes. * Then download, fork or clone this repository. - + +* Use the provided `.editorconfig` file with your code editor. Don't know what that is? Then check out https://editorconfig.org/. * Make any changes within a branch of this repository (not the `master` branch). * Submit a pull request and include a reference to the initial issue with the discussion. + +## Contact us + +If you prefer a more informal method of getting in touch or starting a conversation, please [join us on Discord](https://discordapp.com/widget?id=379521691774353408) or leave a comment in the [discussion section](https://add0n.com/stylus.html#reviews). We will monitor any discussions there and join in, and it may be a more appropriate venue for opinions and less urgent suggestions. diff --git a/COPYING b/LICENSE similarity index 100% rename from COPYING rename to LICENSE diff --git a/README.md b/README.md index ac9ea877..9ba1d7f3 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ Stylus is a fork of Stylish for Chrome, also compatible with Firefox as a WebExt ## Releases 1. [Chrome Web Store](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) (or [beta](https://chrome.google.com/webstore/detail/stylus-beta/apmmpaebfobifelkijhaljbmpcgbjbdo)) -2. [Firefox add-ons](https://addons.mozilla.org/firefox/addon/styl-us/) (or [beta](https://addons.mozilla.org/en-US/firefox/addon/styl-us/versions/beta)) -3. [Opera add-ons](https://addons.opera.com/extensions/details/stylus/) +2. [Firefox add-ons](https://addons.mozilla.org/firefox/addon/styl-us/) +3. [Opera add-ons](https://addons.opera.com/extensions/details/stylus/) (see [wiki](https://github.com/openstyles/stylus/wiki/Opera,-Outdated-Stylus) for more recent version) ## Screenshots @@ -28,9 +28,9 @@ Stylus is a fork of Stylish for Chrome, also compatible with Firefox as a WebExt ## Help -[![Discord][chat-image]][chat-link] - -See the [help docs](http://userstyles.org/help/stylish_chrome) or [ask in userstyles.org forum](https://forum.userstyles.org). For Stylus specific questions and suggestions please use [review section](http://add0n.com/stylus.html#reviews) of the FAQs page. +- [Stylus help and FAQ in our Wiki](https://github.com/openstyles/stylus/wiki) +- [Discussion section](https://add0n.com/stylus.html#reviews) of our representation on add0n.com +- Discord: [![Discord][chat-image]][chat-link] [chat-image]: https://img.shields.io/discord/379521691774353408.svg [chat-link]: https://discordapp.com/widget?id=379521691774353408 @@ -45,12 +45,13 @@ See our [contributing](./.github/CONTRIBUTING.md) page for more details. ## License -For copyright status of the "codemirror" directory, see [codemirror/LICENSE](https://github.com/openstyles/stylus/blob/master/src/vendor/codemirror/LICENSE). Everything else is: +Inherited code from the original [Stylish](https://github.com/stylish-userstyles/stylish/): +Copyright © 2005-2014 [Jason Barnabe](jason.barnabe@gmail.com) -Copyright (C) 2005-2014 Jason Barnabe - -Copyright (C) 2017 Stylus Team +Current Stylus: +Copyright © 2017-2018 [Stylus Team](https://github.com/openstyles/stylus/graphs/contributors) +**[GNU GPLv3](./LICENSE)** This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or @@ -62,4 +63,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program. If not, see . +along with this program. If not, see . + +### External libraries + +The licenses of [external libraries](./vendor) used in this project or [modified versions of external libraries](./vendor-overwrites) can be found in their respective directory. diff --git a/_locales/de/messages.json b/_locales/de/messages.json index bc052a61..848a022c 100644 --- a/_locales/de/messages.json +++ b/_locales/de/messages.json @@ -187,6 +187,10 @@ "message": "Installierte Styles", "description": "Heading for the manage page" }, + "styleBeautify": { + "message": "Code formatieren", + "description": "Label for the CSS-beautifier button on the edit style page" + }, "styleRegexpProblemTooltip": { "message": "Anzahl der Bereiche, welche aufgrund nicht korrekt verwendeter Regulärer Ausdrücke nicht angewendet wurden.", "description": "Tooltip in the popup for styles that were applied only partially" @@ -375,7 +379,7 @@ "description": "Label (must be very short) for the checkbox in the toolbar button context menu controlling toolbar badge text." }, "popupHotkeysInfo": { - "message": "<1>-<9>, <0>, auch auf NumPad - schaltet n-ten Style um (0 ist 10)\n- schaltet ersten Style, dessen Name mit diesem Buchstaben beginnt\n öffnet Editor statt umzuschalten\n aktiviert die aufgeführten Styles\n deaktiviert die aufgeführten Styles\n und <`> (backtick) - schaltet anfänglich aktivierte Styles; trifft nicht auf Styles zu, die erst aktiviert werden, wenn das Popup noch geöffnet ist. Dadurch kann die Anfangseinstellung nach einem Test wiederhergestellt werden: Einfach alle deaktivieren, dann schalte z.B. \nMehr dazu im Wiki", + "message": "<0>-<9> (auch auf NumPad) schaltet den n-ten Style um (0 ist 10)\n- schaltet ersten Style, dessen Name mit diesem Buchstaben beginnt, um\n öffnet Editor statt umzuschalten\n aktiviert die aufgeführten Styles\n deaktiviert die aufgeführten Styles\n schaltet anfänglich aktivierte Styles um. Trifft nicht auf Styles zu, die erst aktiviert werden, wenn das Popup noch geöffnet ist. Dadurch kann z.B. die Anfangseinstellung nach einem Test wiederhergestellt werden: \nMehr dazu im Wiki", "description": "NOTE1: preserve < and > symbols so that is styled as a key.\nNOTE2: the last line is displayed as a text of the link to the wiki page.\nNOTE3: this is the list of hotkeys displayed after clicking the right edge of the extension popup." }, "cm_lineWrapping": { @@ -778,7 +782,7 @@ "description": "Text that displays when an update check skipped updating the style to avoid losing local modifications" }, "linterRulesLink": { - "message": "Vollständige Liste der Regeln anzeigen für", + "message": "Vollständige Liste der Regeln anzeigen", "description": "Stylelint or CSSLint rules label added immediately before a link" }, "styleUpdateDiscardChanges": { @@ -823,7 +827,7 @@ "description": "Text after the number of styles updated entirely in the report shown after importing styles" }, "cm_smartIndent": { - "message": "Intelligenten Einzug verwenden", + "message": "Intelligenter Einzug", "description": "Label for the checkbox controlling smart indentation option for the style editor." }, "styleRegexpTestButton": { @@ -839,7 +843,7 @@ "description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info" }, "searchStylesHelp": { - "message": "Die -Taste fokussiert das Suchfeld.\nEinfacher Text: Sucht im Namen, Quelltext, Homepage und anvisierten URLs. Wörter mit weniger als 3 Buchstaben werden ignoriert.\nURL suchen: Stelle voran, z.B. \nReguläre Ausdrücke: Nutze Slash und Flags, z.B. \nSuche nach genauem Ausdruck: Anführungszeichen verwenden, z.B. <\".header ~ div\">", + "message": "Die -Taste (Numpad) fokussiert das Suchfeld.\nEinfacher Text: Sucht im Namen, Quelltext, Homepage und anvisierten URLs. Wörter mit weniger als 3 Buchstaben werden ignoriert.\nURL suchen: Stelle voran, z.B. \nReguläre Ausdrücke: Nutze Slash und Flags, z.B. \nSuche nach genauem Ausdruck: Anführungszeichen verwenden, z.B. <\".header ~ div\">", "description": "Text in the minihelp displayed when clicking (i) icon to the right of the search input field on the Manage styles page" }, "findStyles": { @@ -1123,7 +1127,7 @@ "description": "'Save' button in a confirm dialog" }, "manageNewUI": { - "message": "Neues Verwaltungs Design-Layout.", + "message": "Neues Verwaltungs-Layout", "description": "Label for the checkbox that toggles the new UI on manage page" }, "unreachableAMOHintOldFF": { @@ -1139,7 +1143,7 @@ "description": "Used in various lists/options to indicate that something is disabled" }, "cm_indentWithTabs": { - "message": "Tabs mit intelligentem Einzug verwenden", + "message": "Tabs mit intelligentem Einzug", "description": "Label for the checkbox controlling tabs with smart indentation option for the style editor." }, "replaceWith": { @@ -1232,7 +1236,7 @@ "description": "Reset button tooltip to inform user on how to undo an accidental reset" }, "description": { - "message": "Gestalte das Web neu mit Stylus, dem Style Manager. Stylus ermöglicht dir ganz einfach Themes und Designs für viele populäre Webseiten zu installieren.", + "message": "Gestalte das Web neu mit Stylus, dem Style Manager. Stylus ermöglicht dir ganz einfach Themes und Designs für viele beliebte Webseiten zu installieren.", "description": "Extension description" }, "confirmClose": { diff --git a/_locales/et/messages.json b/_locales/et/messages.json index 7de0a26d..b240c08c 100644 --- a/_locales/et/messages.json +++ b/_locales/et/messages.json @@ -27,6 +27,10 @@ "message": "Ainult Usercss stiilid", "description": "Checkbox to show only Usercss styles" }, + "sortStylesHelp": { + "message": "Vali paigaldatud üksustele rakendatav sorteerimismeetod sorteerimise rippmenüüst. Vaikimisi seadistus rakendab kasvava sorteerimise (A-st Z-ni) üksuste pealkirjades. Sorteerimised grupis \"Kahanev pealkiri\" rakendavad pealkirjale kahaneva sorteerimise (Z-st A-ni).\nOn olemas ka teisi eelseadistusi, mis võimaldavad üksuste sorteerimist mitme kriteeriumi järgi. Mõtle sellest, nagu sorteeriksid mitme veeruga tabelit ja iga kategooria valikus (plussmärkide vahel) tähistab veergu või gruppi.\nNäiteks, kui valik on \"Lubatud (esimene) + pealkiri\", sorteeritakse üksused nii, et kõik lubatud üksused on nimekirja tipus ning nimekirja pealkirja kasvav sorteerimine (A-st Z-ni) rakendatakse nii lubatud kui keelatud üksustele eraldi.", + "description": "Text in the minihelp displayed when clicking (i) icon to the right of the sort input field on the Manage styles page" + }, "sortLabelTitleAsc": { "message": "Pealkiri tõusvas järjestuses", "description": "Text added to option group to indicate a block of options that apply a title ascending (A to Z) sort" @@ -48,7 +52,7 @@ "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" }, "installButton": { - "message": "Installi stiil", + "message": "Paigalda stiil", "description": "Label for install button" }, "styleMetaErrorCheckbox": { @@ -143,6 +147,10 @@ "message": "Lohista importimiseks oma varundusfail kuskile siia lehele.", "description": "Drag'n'drop message" }, + "styleRegexpTestNote": { + "message": "Märkus: kasuta üksikut \\, et keelata märgi töötlemine regulaaravaldise sisendväljas, mis konverteeritakse automaatselt \\\\-ks stiili koodis, nagu CSSi tsiteeritud sõnede spetsifikatsioon ette näeb.", + "description": "RegExp test report: a note displayed at the bottom of the dialog" + }, "helpAlt": { "message": "Abi", "description": "Alternate text for help buttons" @@ -164,7 +172,7 @@ "description": "Label for the checkbox that toggles grayed out mode of applies-to favicons in the new UI on manage page" }, "versionInvalidOlder": { - "message": "Versioon on installitud stiilist vanem.", + "message": "Versioon on paigaldatud stiilist vanem.", "description": "Displayed when the version of style is older than the installed one" }, "confirmYes": { @@ -176,7 +184,7 @@ "description": "Text for a link that gets a list of styles for the current site" }, "manageHeading": { - "message": "Installitud stiilid", + "message": "Paigaldatud stiilid", "description": "Heading for the manage page" }, "styleBeautify": { @@ -239,6 +247,10 @@ "message": "Impordi stiilid", "description": "" }, + "cm_selectByTokens": { + "message": "Topeltklõps valib sõnesid", + "description": "Label for the checkbox in the editor." + }, "confirmStop": { "message": "Peata", "description": "'Stop' button in a confirm dialog" @@ -268,7 +280,7 @@ "description": "Text after the number of styles with updated code (meta info is unchanged) in the report shown after importing styles" }, "styleInstall": { - "message": "Installida \"$stylename$\" Stylus'isse?", + "message": "Paigaldad \"$stylename$\" Stylus'isse?", "description": "Confirmation when installing a style", "placeholders": { "stylename": { @@ -343,7 +355,7 @@ "description": "Note in the toolbar popup for file:// URLs" }, "sortLabel": { - "message": "Vali, milline järjestus installitud stiilidele rakendada", + "message": "Vali, milline järjestus paigaldatud stiilidele rakendada", "description": "Title on the sort select to indicate it is used for sorting entries" }, "disableStyleLabel": { @@ -366,6 +378,10 @@ "message": "Kuva aktiivsete stiilide hulka", "description": "Label (must be very short) for the checkbox in the toolbar button context menu controlling toolbar badge text." }, + "popupHotkeysInfo": { + "message": "<1>-<9>, <0>, ka numbriklahvidel - lülitab N. stiili (0 on 10)\n- lülitab esimest stiili, mille nimi algab selle tähega\n avab redaktori lülitamise asemel\n lubab nimekirjas olevad stiilid\n keelab nimekirjas olevad stiilid\n ja <`> (graavis) - lülitab esialgu lubatud stiilid; ei rakendu järgnevalt lubatud stiilidele hüpiku avatud olekus, seega saad taastada esialgse valiku peale asjade testimist: lihtsalt keela kõik ning lülita, seega \nRohkem teavet vikis", + "description": "NOTE1: preserve < and > symbols so that is styled as a key.\nNOTE2: the last line is displayed as a text of the link to the wiki page.\nNOTE3: this is the list of hotkeys displayed after clicking the right edge of the extension popup." + }, "cm_lineWrapping": { "message": "Reamurdmine", "description": "Label for the checkbox controlling word wrap option for the style editor." @@ -490,7 +506,7 @@ "description": "Option to make the style apply to the entered string as a URL prefix" }, "cm_matchHighlightToken": { - "message": "Kursori all olev sõna", + "message": "Kursori all olev sõne", "description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of the word/token under cursor even if nothing is selected" }, "searchRegexp": { @@ -534,7 +550,7 @@ "description": "Help text for sections" }, "noStylesForSite": { - "message": "Sellele saidile pole stiile installitud.", + "message": "Sellele saidile pole stiile paigaldatud.", "description": "Text displayed when no styles are installed for the current site" }, "appliesDisplayTruncatedSuffix": { @@ -546,7 +562,7 @@ "description": "Label for the button to remove an 'applies' entry" }, "updatesCurrentlyInstalled": { - "message": "Uuendused installitud:", + "message": "Uuendused paigaldatud:", "description": "Text that displays when an update is installed on options page. Followed by the number of currently installed updates." }, "styleToMozillaFormatTitle": { @@ -611,7 +627,7 @@ "description": "Label for the button to make a style apply only to specific sites" }, "installUpdate": { - "message": "Installi uuendus", + "message": "Paigalda uuendus", "description": "Label for the button to install an update for a single style" }, "syncStorageErrorSaving": { @@ -623,7 +639,7 @@ "description": "Text for a checkbox that opens search results 'inline' (within the Stylus popup window)" }, "optionsCheckUpdate": { - "message": "Kontrolli ja installi kõik saadaolevad uuendused", + "message": "Kontrolli ja paigalda kõik saadaolevad uuendused", "description": "" }, "clickToUninstall": { @@ -722,6 +738,10 @@ "message": "Lehti kokku", "description": "" }, + "cm_selectByTokensTooltip": { + "message": "Sõnede näited: .foo-bar-2 #aabbcc 0.32 !important\nKeelamisel valitakse punktidega eraldatud sõnad.", + "description": "" + }, "checkingForUpdate": { "message": "Kontrollin...", "description": "Text to display when checking a style for an update" @@ -755,7 +775,7 @@ "description": "Tooltip for the total page count in search results" }, "styleInstallOverwrite": { - "message": "'$stylename$' on juba installitud. Kas kirjutada üle?\nVersioon: $oldVersion$ -> $newVersion$", + "message": "'$stylename$' on juba paigaldatud. Kas kirjutada üle?\nVersioon: $oldVersion$ -> $newVersion$", "description": "Confirmation when re-installing a style", "placeholders": { "stylename": { @@ -790,7 +810,7 @@ "description": "Tooltip for the '->' (next page) button in search results" }, "searchResultInstallCount": { - "message": "Installimisi kokku", + "message": "Paigaldusi kokku", "description": "Text for label that shows the number of times a search result was installed" }, "sectionCode": { @@ -838,6 +858,10 @@ "message": "Hangi abi", "description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info" }, + "searchStylesHelp": { + "message": " klahv fokuseerib otsinguvälja.\nLihttekst: otsi nimest, koodist, kodulehe URList ja rakendatavatest saitidest. Sõnu alla 3 tähemärgi ignoreeritakse.\nVastav URL: kasuta otsingus eesliidet , nt \nRegulaaravaldised sisaldavad kaldkriipse ja lippe, nt \nTäpsed sõnad: kirjuta väljendi ümber jutumärgid, nt <\".header ~ div\">", + "description": "Text in the minihelp displayed when clicking (i) icon to the right of the search input field on the Manage styles page" + }, "findStyles": { "message": "Leia stiile", "description": "Text for a link that gets a list of styles for the current site" @@ -945,7 +969,7 @@ "description": "Prompt when a DB error is encountered" }, "dateInstalled": { - "message": "Installimise kuupäev", + "message": "Paigaldamise kuupäev", "description": "Option text for the user to sort the style by install date" }, "optionsAdvanced": { @@ -961,7 +985,7 @@ "description": "Tooltip for the button to import a style and append to the existing sections" }, "liveReloadInstallHint": { - "message": "Reaalajas uuestilaadimine on lubatud, seega installitud stiili uuendatakse väliste muudatuste korral automaatselt, kuniks see kaart ja lähtefaili kaart mõlemad lahti on.", + "message": "Reaalajas uuestilaadimine on lubatud, seega paigaldatud stiili uuendatakse väliste muudatuste korral automaatselt, kuniks see kaart ja lähtefaili kaart mõlemad lahti on.", "description": "The label of live-reload feature" }, "editorStylesButton": { @@ -989,7 +1013,7 @@ "description": "Checkbox to show only externally installed styles i.e. updatable" }, "searchResultWeeklyCount": { - "message": "Installimisi nädalas", + "message": "Paigaldus nädalas", "description": "Text for label that shows the number of times a search result was installed during last week" }, "replaceAll": { @@ -1021,7 +1045,7 @@ "description": "Go to line or line:column on Ctrl-G in style code editor" }, "manageOnlyLocalTooltip": { - "message": "(stiilid, mida ei installitud userstyles.org lehelt)", + "message": "(stiilid, mida ei paigaldatud lehelt userstyles.org)", "description": "Tooltip for the checkbox to show only locally created styles i.e. non-updatable" }, "checkAllUpdates": { @@ -1074,7 +1098,7 @@ "description": "Label for the checkbox in the style editor." }, "installButtonReinstall": { - "message": "Installi stiil uuesti", + "message": "Paigalda stiil uuesti", "description": "Label for reinstall button" }, "linterInvalidConfigError": { @@ -1130,6 +1154,10 @@ "message": "Uus haldusliidese välimus", "description": "Label for the checkbox that toggles the new UI on manage page" }, + "unreachableAMOHintOldFF": { + "message": "Ainult Firefox 59 ja uuem on võimalik seadistada lubama WebExtensionsil lisada stiilielemente CSP-kaitstud saitidele nagu see.", + "description": "Note in the popup when opened on addons.mozilla.org in Firefox < 59" + }, "importReportUndoneTitle": { "message": "Importimine on tagasi võetud", "description": "Title of the message box shown after undoing the import of styles" @@ -1155,11 +1183,11 @@ "description": "Label for the button to delete a style" }, "updateCheckManualUpdateForce": { - "message": "Installi uuendus (kohalikud muutused kirjutatakse üle)", + "message": "Paigalda uuendus (kohalikud muutused kirjutatakse üle)", "description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications" }, "styleInstallFailed": { - "message": "Kasutajastiili installimine ebaõnnestus!\n$error$", + "message": "Kasutajastiili paigaldamine ebaõnnestus!\n$error$", "description": "Warning when installation failed", "placeholders": { "error": { @@ -1196,7 +1224,7 @@ "description": "Label for the button to go to the edit style page" }, "installButtonInstalled": { - "message": "Stiil installitud", + "message": "Stiil paigaldatud", "description": "Text displayed when the style is successfully installed" }, "author": { @@ -1240,7 +1268,7 @@ "description": "Wiki link text on the manage page e.g. https://github.com/openstyles/stylus/wiki" }, "description": { - "message": "Disaini veeb ümber kasutajastiilide halduri Stylus'iga. Stylus võimaldab sul lihtsalt installida teemasid ja välimusi mitmetele populaarsetele saitidele.", + "message": "Disaini veeb ümber kasutajastiilide halduri Stylus'iga. Stylus võimaldab sul lihtsalt paigaldada teemasid ja välimusi mitmetele populaarsetele saitidele.", "description": "Extension description" }, "confirmClose": { diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json index 5aa7f1ad..6e7adb69 100644 --- a/_locales/fr/messages.json +++ b/_locales/fr/messages.json @@ -7,10 +7,18 @@ "message": "défaut", "description": "Default CodeMirror CSS theme option on the edit style page" }, + "bckpInstStyles": { + "message": "Exporter des styles", + "description": "" + }, "exportLabel": { "message": "Exportez", "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" }, + "optionsBadgeNormal": { + "message": "Couleur d'arrière plan", + "description": "" + }, "cm_tabSize": { "message": "Taille des tabulations", "description": "Label for the text box controlling tab size option for the style editor." @@ -31,6 +39,10 @@ "message": "Rechercher des mises à jour", "description": "Label for the button to check a single style for an update" }, + "optionsOpenManager": { + "message": "Gérer les styles", + "description": "" + }, "updateAllCheckSucceededNoUpdate": { "message": "All styles are up to date.", "description": "Text that displays when an update all check completed and no updates are available" @@ -39,6 +51,10 @@ "message": "Aide", "description": "Alternate text for help buttons" }, + "search": { + "message": "Rechercher", + "description": "Label before the search input field in the editor shown on Ctrl-F" + }, "confirmYes": { "message": "Oui", "description": "'Yes' button in a confirm dialog" @@ -51,6 +67,10 @@ "message": "Styles installés", "description": "Heading for the manage page" }, + "styleBeautify": { + "message": "Embellir ", + "description": "Label for the CSS-beautifier button on the edit style page" + }, "styleEnabledLabel": { "message": "Activé", "description": "Label for the enabled state of styles" @@ -67,10 +87,30 @@ "message": "Enregistrer", "description": "Label for save button for style editing" }, + "confirmDelete": { + "message": "Supprimer", + "description": "" + }, + "confirmCancel": { + "message": "Annuler", + "description": "" + }, + "retrieveBckp": { + "message": "Importer des styles", + "description": "" + }, + "confirmStop": { + "message": "Arrêt ", + "description": "'Stop' button in a confirm dialog" + }, "writeStyleForURL": { "message": "cette URL", "description": "Text for link in toolbar pop-up to write a new style for the current URL" }, + "optionsSubheading": { + "message": "Plus de paramètres", + "description": "Subheading for options section on manage page." + }, "appliesAdd": { "message": "Ajouter", "description": "Label for the button to add an 'applies' entry" @@ -88,6 +128,10 @@ } } }, + "optionsCheck": { + "message": "Mettre à jour les styles", + "description": "" + }, "disableStyleLabel": { "message": "Désactiver", "description": "Label for the button to disable a style" @@ -108,6 +152,10 @@ "message": "Vous avez apporté des modifications à ce style sans les enregistrer.", "description": "Text for the prompt when changes are made to a style and the user tries to leave without saving" }, + "importLabel": { + "message": "Importer", + "description": "Label for the button to import a style ('edit' page) or all styles ('manage' page)" + }, "updateCheckFailServerUnreachable": { "message": "Échec de la mise à jour: le serveur est inaccessible.", "description": "Text that displays when an update check failed because the update server is unreachable" @@ -116,6 +164,10 @@ "message": "Filtres", "description": "Label for filters container" }, + "applyAllUpdates": { + "message": "Appliquer toutes les mises à jour", + "description": "Label for the button to apply all detected updates" + }, "deleteStyleConfirm": { "message": "Voulez-vous vraiment supprimer ce style ?", "description": "Confirmation before deleting a style" @@ -133,6 +185,10 @@ } } }, + "openStylesManager": { + "message": "Ouvrir le gestionnaire de styles", + "description": "Label for the style maanger opener in the browser action context menu." + }, "styleUpdate": { "message": "Voulez-vous mettre à jour '$stylename$'?", "description": "Confirmation when updating a style", @@ -179,10 +235,18 @@ "message": "Supprimer", "description": "Label for the button to remove an 'applies' entry" }, + "replace": { + "message": "Remplacer", + "description": "Label before the replace input field in the editor shown on Ctrl-H" + }, "appliesLabel": { "message": "S'applique à", "description": "Label for 'applies to' fields on the edit/add screen" }, + "openOptionsPopup": { + "message": "Paramètres", + "description": "Go to Options UI" + }, "openManage": { "message": "Gérer les styles installés", "description": "Link to open the manage page." @@ -212,6 +276,10 @@ "message": "Désactiver tous les styles", "description": "Label for the checkbox that turns all enabled styles off." }, + "undoGlobal": { + "message": "Tout annuler", + "description": "CSS-beautify global Undo button label" + }, "updateCompleted": { "message": "Mise à jour terminée.", "description": "Text that displays when an update completed" @@ -220,6 +288,10 @@ "message": "Vérification en cours…", "description": "Text to display when checking a style for an update" }, + "cm_smartIndent": { + "message": "Utiliser l'indentation intelligente", + "description": "Label for the checkbox controlling smart indentation option for the style editor." + }, "appliesHelp": { "message": "Utilisez l'option \"S'applique à\" pour préciser les URL auxquelles le code de cette section s'applique.", "description": "Help text for 'applies to' section" @@ -240,14 +312,26 @@ "message": "Une erreur s'est produite dans la base de donnée de Stylus. Voulez-vous visiter une page web avec les solutions possibles ?", "description": "Prompt when a DB error is encountered" }, + "optionsOpen": { + "message": "Ouvrir", + "description": "" + }, "checkAllUpdates": { "message": "Rechercher des mises à jour pour tous les styles", "description": "Label for the button to check all styles for updates" }, + "openOptionsManage": { + "message": "Paramètres d'interface graphique", + "description": "Go to Options UI" + }, "confirmNo": { "message": "Non", "description": "'No' button in a confirm dialog" }, + "undo": { + "message": "Annuler", + "description": "Button label" + }, "deleteStyleLabel": { "message": "Supprimer", "description": "Label for the button to delete a style" @@ -256,10 +340,18 @@ "message": "Créer un nouveau style", "description": "Label for the button to go to the add style page" }, + "backupButtons": { + "message": "Sauvergarde", + "description": "Heading for backup" + }, "editStyleLabel": { "message": "Modifier", "description": "Label for the button to go to the edit style page" }, + "cm_theme": { + "message": "Thème", + "description": "Label for the style editor's CSS theme." + }, "helpKeyMapCommand": { "message": "Tapez un nom de commande", "description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short" diff --git a/_locales/nl/messages.json b/_locales/nl/messages.json index d92fcdcb..735e7229 100644 --- a/_locales/nl/messages.json +++ b/_locales/nl/messages.json @@ -11,10 +11,70 @@ "message": "standaard", "description": "Default CodeMirror CSS theme option on the edit style page" }, + "styleRegexpTestTitle": { + "message": "Lijst van overeenkomende geopende tabbladen (klik op de URL om het tabblad te focussen)", + "description": "RegExp test report: title of the report" + }, + "bckpInstStyles": { + "message": "Stijlen exporteren", + "description": "" + }, + "sortStylesHelpTitle": { + "message": "Inhoud sorteren", + "description": "Label for the sort info popup on the Manage styles page" + }, + "manageOnlyUsercss": { + "message": "Alleen Usercss-stijlen", + "description": "Checkbox to show only Usercss styles" + }, + "sortStylesHelp": { + "message": "Kies de sorteermethode voor de geïnstalleerde items uit het uitrolmenu. De standaard instelling past een oplopende sortering (A-Z) to op de items. Sorteren op \"Titel - Aflopend\" past het omgekeerde (Z-A) toe.\nDe andere keuzes laten je sorteren op basis van meerdere criteria. Denk aan het sorteren van een tabel met meerdere kolommen en elke categorie in een selectie (tussen de plus-tekens) is een kolom of groep.\nVoorbeeld: als de instelling is \"Ingeschakeld (eerst) + Titel\", dan worden de ingeschakelde items bovenaan geplaatst en de rest wordt oplopend gesorteerd (A-Z).", + "description": "Text in the minihelp displayed when clicking (i) icon to the right of the sort input field on the Manage styles page" + }, + "sortLabelTitleAsc": { + "message": "Titel - Oplopend", + "description": "Text added to option group to indicate a block of options that apply a title ascending (A to Z) sort" + }, + "optionsUpdateInterval": { + "message": "Automatisch bijwerken-periode voor gebruikersstijlen (geef 0 op om dit uit te schakelen)", + "description": "" + }, + "unreachableAMOHintNewFF": { + "message": "In Firefox 60 en hoger moet je ook de AMO-domeinnaam verwijderen uit in .", + "description": "Note in the popup when opened on addons.mozilla.org in Firefox >= 59" + }, + "sortDateOldestFirst": { + "message": "oudste eerst", + "description": "Text added to indicate that sorting a date would add the oldest entries at the top" + }, "exportLabel": { "message": "Exporteren", "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" }, + "installButton": { + "message": "Stijl installeren", + "description": "Label for install button" + }, + "styleMetaErrorCheckbox": { + "message": "Ongeldig @var-selectievakje: waarde moet 0 of 1 zijn", + "description": "Error displayed when the value of @var checkbox is invalid" + }, + "linterJSONError": { + "message": "Ongeldige JSON-opmaak", + "description": "Setting linter config with invalid JSON" + }, + "popupHotkeysTooltip": { + "message": "Klik om beschikbare sneltoetsen te tonen", + "description": "Tooltip displayed when hovering the right edge of the extension popup" + }, + "optionsBadgeNormal": { + "message": "Achtergrondkleur", + "description": "" + }, + "updateCheckHistory": { + "message": "Updatecontrole-geschiedenis", + "description": "" + }, "cm_tabSize": { "message": "Tabgrootte", "description": "Label for the text box controlling tab size option for the style editor." @@ -27,6 +87,14 @@ "message": "Vul een naam in", "description": "Error displayed when user saves without providing a name" }, + "genericHistoryLabel": { + "message": "Geschiedenis", + "description": "Used in various places to show a history log of something" + }, + "shortcutsNote": { + "message": "Sneltoetsen opgeven", + "description": "" + }, "appliesDomainOption": { "message": "URL's op het domein", "description": "Option to make the style apply to the entered string as a domain" @@ -35,26 +103,82 @@ "message": "Controleren op update", "description": "Label for the button to check a single style for an update" }, + "styleNotAppliedRegexpProblemTooltip": { + "message": "Stijl is niet toegepast vanwege onjuist gebruik van 'regexp()'", + "description": "Tooltip in the popup for styles that were not applied at all" + }, + "colorpickerSwitchFormatTooltip": { + "message": "Schakel tussen formaten: HEX -> RGB -> HSL.\nShift-klik om de volgorde om te draaien.\nWerkt ook met de toetsen PgUp (PageUp) en PgDn (PageDown).", + "description": "Tooltip for the switch button in the color picker popup in the style editor." + }, + "styleRegexpInvalidExplanation": { + "message": "Sommige 'regexp()'-regels kunnen niet worden gecompileerd.", + "description": "" + }, + "optionsIconDark": { + "message": "Donkere browserthema's", + "description": "" + }, + "styleFromMozillaFormatError": { + "message": "Importeren uit Mozilla-indeling mislukt", + "description": "Label for the import error" + }, "importAppendLabel": { "message": "Toevoegen aan stijl", "description": "Label for the button to import a style and append to the existing sections" }, + "optionsOpenManager": { + "message": "Stijlen beheren", + "description": "" + }, "updateAllCheckSucceededNoUpdate": { - "message": "Alle stijlen zijn bijgewerkt.", + "message": "Geen updates gevonden.", "description": "Text that displays when an update all check completed and no updates are available" }, + "importReportLegendAdded": { + "message": "toegevoegd", + "description": "Text after the number of styles added in the report shown after importing styles" + }, "styleFromMozillaFormatPrompt": { "message": "Plak de Mozilla-opmaakcode", "description": "Prompt in the dialog displayed after clicking 'Import from Mozilla format' button" }, + "dragDropMessage": { + "message": "Versleep je back-upbestand naar deze pagina om het te importeren.", + "description": "Drag'n'drop message" + }, + "styleRegexpTestNote": { + "message": "Let op: gebruik een enkele \\ voor het omzeilen in het regexp-invoerveld, welke automatisch omgezet zal worden naar \\\\ in de stijlcode, zoals opgegeven in de specificatie voor citaten in CSS.", + "description": "RegExp test report: a note displayed at the bottom of the dialog" + }, "helpAlt": { - "message": "Hul", + "message": "Hulp", "description": "Alternate text for help buttons" }, + "confirmOK": { + "message": "Oké", + "description": "" + }, "search": { "message": "Zoeken", "description": "Label before the search input field in the editor shown on Ctrl-F" }, + "genericEnabledLabel": { + "message": "Ingeschakeld", + "description": "Used in various lists/options to indicate that something is enabled" + }, + "previewTooltip": { + "message": "Past de wijzigingen tijdelijk toe zonder deze op te slaan.\nSla de stijl op om de wijzigingen permanent door te voeren.", + "description": "Tooltip for the checkbox in style editor to enable live preview while editing." + }, + "manageFaviconsGray": { + "message": "Niet beschikbaar", + "description": "Label for the checkbox that toggles grayed out mode of applies-to favicons in the new UI on manage page" + }, + "versionInvalidOlder": { + "message": "Deze versie is ouder dan de geïnstalleerde stijl.", + "description": "Displayed when the version of style is older than the installed one" + }, "confirmYes": { "message": "Ja", "description": "'Yes' button in a confirm dialog" @@ -71,22 +195,66 @@ "message": "Mooier maken", "description": "Label for the CSS-beautifier button on the edit style page" }, + "styleRegexpProblemTooltip": { + "message": "Aantal secties dat niet toegepast wordt vanwege onjuist gebruik van 'regexp()'", + "description": "Tooltip in the popup for styles that were applied only partially" + }, "styleEnabledLabel": { "message": "Ingeschakeld", "description": "Label for the enabled state of styles" }, + "configOnChange": { + "message": "bij wijzigingen", + "description": "VERY SHORT label for the checkbox in style config dialog after the save button - when enabled the changes in the dialog are saved and applied automatically without the need to press the Save button" + }, + "linterConfigTooltip": { + "message": "Klik om deze linter te configureren", + "description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration" + }, "styleToMozillaFormatHelp": { - "message": "De Mozilla-opmaak van de code kan worden gebruikt met Stylish voor Firefox en worden ingezonden naar userstyles.org.", + "message": "De Mozilla-opmaak van de code kan worden gebruikt met Stylish voor Firefox en worden ingezonden naar userstyles.org", "description": "Help info for the Mozilla format header section that converts the code to/from Mozilla format" }, "sectionAdd": { "message": "Nog een sectie toevoegen", "description": "Label for the button to add a section" }, + "styleRegexpTestPartial": { + "message": "Niet volledig overeenkomend, dus overgeslagen", + "description": "RegExp test report: label for the partially matching expressions" + }, "styleSaveLabel": { "message": "Opslaan", "description": "Label for save button for style editing" }, + "genericSavedMessage": { + "message": "Opgeslagen", + "description": "Used in various parts of the UI to indicate that something was saved" + }, + "confirmDelete": { + "message": "Verwijderen", + "description": "" + }, + "confirmDefault": { + "message": "Standaard gebruiken", + "description": "'Set to default' button in a confirm dialog" + }, + "confirmCancel": { + "message": "Annuleren", + "description": "" + }, + "cm_autoCloseBracketsTooltip": { + "message": "Automatisch sluitingen toevoegen bij het openen van ()[]{}''\"\"", + "description": "Label for the checkbox in the style editor." + }, + "retrieveBckp": { + "message": "Stijlen importeren", + "description": "" + }, + "cm_selectByTokens": { + "message": "Dubbelklikken selecteert sleutels", + "description": "Label for the checkbox in the editor." + }, "confirmStop": { "message": "Stoppen", "description": "'Stop' button in a confirm dialog" @@ -95,6 +263,10 @@ "message": "deze URL", "description": "Text for link in toolbar pop-up to write a new style for the current URL" }, + "optionsSubheading": { + "message": "Meer opties", + "description": "Subheading for options section on manage page." + }, "appliesAdd": { "message": "Toevoegen", "description": "Label for the button to add an 'applies' entry" @@ -103,6 +275,14 @@ "message": "URL's overeenkomend met de regexp", "description": "Option to make the style apply to the entered string as a regular expression" }, + "optionsAdvancedExposeIframesNote": { + "message": "Legt het bovenliggende domein van de site bloot in elk iframe.\nSchakelt schrijven in voor iframe-specifieke CSS, zoals:\nhtml[stylus-iframe$=\"twitter.com\"] h1 { display:none }", + "description": "" + }, + "importReportLegendUpdatedCode": { + "message": "code bijgewerkt", + "description": "Text after the number of styles with updated code (meta info is unchanged) in the report shown after importing styles" + }, "styleInstall": { "message": "'$stylename$' installeren in Stylus?", "description": "Confirmation when installing a style", @@ -112,6 +292,31 @@ } } }, + "optionsBadgeDisabled": { + "message": "Achtergrondkleur indien uitgeschakeld", + "description": "" + }, + "optionsCheck": { + "message": "Stijlen bijwerken", + "description": "" + }, + "manageOnlyLocal": { + "message": "Alleen lokaal gecreëerde stijlen", + "description": "Checkbox to show only locally created styles i.e. non-updatable" + }, + "styleMetaErrorPreprocessor": { + "message": "Niet-ondersteunde @preprocessor: $preprocessor$", + "description": "Error displayed when the value of @preprocessor is not supported", + "placeholders": { + "preprocessor": { + "content": "$1" + } + } + }, + "searchNumberOfResults2": { + "message": "Aantal overeenkomsten in code en 'toepasbaar op'-items", + "description": "Tooltip for the number of found search results in the editor shown on Ctrl-F" + }, "linterIssuesHelp": { "message": "De door stylelint gevonden problemen, $link$:", "description": "Help popup message for the selected CSS linter issues block on the style edit page", @@ -121,26 +326,66 @@ } } }, + "parseUsercssError": { + "message": "Stylus kan de usercss niet verwerken:", + "description": "The error message to show when stylus failed to parse usercss" + }, "searchStyles": { "message": "Inhoud doorzoeken", "description": "Label for the search filter textbox on the Manage styles page" }, + "optionsUpdateImportNote": { + "message": "Als je stijlen importeert uit een oudere versie of uit Stylish, controleer dan eenmalig op updates in de stijlbeheerder om er zeker van te zijn dat alle stijlen zijn bijgewerkt.", + "description": "" + }, + "checkAllUpdatesForce": { + "message": "Ik heb geen stijlen bewerkt; controleer opnieuw!", + "description": "Label for the button to apply all detected updates" + }, + "manageOnlyNonUsercss": { + "message": "Alleen niet-Usercss-stijlen", + "description": "Checkbox to show only non-Usercss (standard) styles" + }, + "liveReloadLabel": { + "message": "Live herladen", + "description": "The label of live-reload feature" + }, "linkGetStyles": { "message": "Verkrijg stijlen", "description": "Help link text on the manage page e.g. https://userstyles.org" }, + "unreachableFileHint": { + "message": "Stylus kan toegang krijgen tot URL's beginnend met file://, maar alleen als je een vinkje zet in het juiste selectievakje op de pagina chrome://extensions", + "description": "Note in the toolbar popup for file:// URLs" + }, + "sortLabel": { + "message": "Selecteer een sorteermethode om toe te passen op geïnstalleerde stijlen", + "description": "Title on the sort select to indicate it is used for sorting entries" + }, "disableStyleLabel": { "message": "Uitschakelen", "description": "Label for the button to disable a style" }, "prefShowBadge": { - "message": "Aantal actieve stijlen voor de huidige website weergeven op de werkbalkknop", + "message": "Aantal actieve stijlen voor de huidige website", "description": "Label for the checkbox controlling toolbar badge text." }, + "manageFavicons": { + "message": "Favicons in 'toepasbaar op'-kolom", + "description": "Label for the checkbox that toggles applies-to favicons in the new UI on manage page" + }, + "paginationCurrent": { + "message": "Huidige pagina", + "description": "Tooltip for the current page index in search results" + }, "menuShowBadge": { - "message": "Teller voor actieve stijlen weergeven", + "message": "Teller tonen voor actieve stijlen", "description": "Label (must be very short) for the checkbox in the toolbar button context menu controlling toolbar badge text." }, + "popupHotkeysInfo": { + "message": "<1>-<9>, <0>, ook op het numpad - schakelt naar de Nth-stijl (0 is 10)\n- schakelt naar de eerste stijl die begint met de letter\n opent de bewerker i.p.v. deze om te schakelen\n schakelt opgesomde stijlen in\n schakelt opgesomde stijlen uit\n en <`> (accent grave) - schakelt tussen initieel ingeschakelde stijlen; niet van toepassing op stijlen die zijn ingeschakeld met het pop-upvenster geopend, zodat je de initiële selectie kunt herstellen na het uitproberen: schakel alles uit en schakel dan naar bijv. \nMeer informatie is te vinden op de wiki", + "description": "NOTE1: preserve < and > symbols so that is styled as a key.\nNOTE2: the last line is displayed as a text of the link to the wiki page.\nNOTE3: this is the list of hotkeys displayed after clicking the right edge of the extension popup." + }, "cm_lineWrapping": { "message": "Woordomslag", "description": "Label for the checkbox controlling word wrap option for the style editor." @@ -150,31 +395,51 @@ "description": "Label for cancel button for style editing" }, "styleChangesNotSaved": { - "message": "U heeft wijzigingen aangebracht in deze stijl zonder deze op te slaan.", + "message": "Je hebt wijzigingen aangebracht in deze stijl zonder ze op te slaan.", "description": "Text for the prompt when changes are made to a style and the user tries to leave without saving" }, "importLabel": { "message": "Importeren", "description": "Label for the button to import a style ('edit' page) or all styles ('manage' page)" }, + "shortcuts": { + "message": "Sneltoetsen", + "description": "Go to shortcut configuration" + }, "updateCheckFailServerUnreachable": { "message": "Update mislukt: server onbereikbaar.", "description": "Text that displays when an update check failed because the update server is unreachable" }, + "genericError": { + "message": "Fout", + "description": "Used in various places to indicate some error occurred." + }, "applyAllUpdates": { "message": "Alle bijwerkingen toepassen", "description": "Label for the button to apply all detected updates" }, + "optionsReset": { + "message": "Opties terugzetten op standaardwaarden", + "description": "" + }, "deleteStyleConfirm": { - "message": "Weet u zeker dat u deze stijl wilt verwijderen?", + "message": "Weet je zeker dat je deze stijl wilt verwijderen?", "description": "Confirmation before deleting a style" }, + "optionsCustomizePopup": { + "message": "Pop-up", + "description": "" + }, "styleBadRegexp": { "message": "Regexp is ongeldig.", "description": "Validation message for a bad regexp in a style" }, + "license": { + "message": "Licentie", + "description": "Label for the license" + }, "optionsHeading": { - "message": "Voorkeuren", + "message": "Opties", "description": "Heading for options section on manage page." }, "appliesDisplay": { @@ -186,8 +451,16 @@ } } }, + "optionsIconLight": { + "message": "Lichte browserthema's", + "description": "" + }, + "openStylesManager": { + "message": "Stijlbeheerder openen", + "description": "Label for the style maanger opener in the browser action context menu." + }, "styleUpdate": { - "message": "Weet u zeker dat u '$stylename$' wilt updaten?", + "message": "Weet je zeker dat je '$stylename$' wilt bijwerken?", "description": "Confirmation when updating a style", "placeholders": { "stylename": { @@ -199,6 +472,18 @@ "message": "Secties", "description": "Title for the style sections section" }, + "importReportLegendInvalid": { + "message": "ongeldige overgeslagen", + "description": "Text after the number of styles skipped due to being invalid (not a Stylus/Stylish backup file probably) in the report shown after importing styles" + }, + "optionsAdvancedNewStyleAsUsercss": { + "message": "Nieuwe stijl schrijven als usercss", + "description": "" + }, + "genericResetLabel": { + "message": "Standaardwaarden", + "description": "Used in various parts of UI to indicate that something may be reset to its original state" + }, "editStyleTitle": { "message": "Stijl $stylename$ bewerken", "description": "Title of the page for editing styles", @@ -209,27 +494,55 @@ } }, "updateCheckSucceededNoUpdate": { - "message": "Stijl is up-to-date.", + "message": "Stijl is actueel.", "description": "Text that displays when an update check completed and no update is available" }, "appliesUrlPrefixOption": { "message": "URL's beginnend met", "description": "Option to make the style apply to the entered string as a URL prefix" }, + "cm_matchHighlightToken": { + "message": "Sleutel onder cursor", + "description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of the word/token under cursor even if nothing is selected" + }, "searchRegexp": { "message": "Gebruik /re/-syntax voor regexp-zoeken", "description": "Label after the search input field in the editor shown on Ctrl-F" }, + "popupBordersTooltip": { + "message": "Handig voor donkere thema's in Chrome, omdat zijranden niet meer worden gerenderd", + "description": "" + }, + "updateCheckManualUpdateHint": { + "message": "Een update forceren zal lokale bewerkingen overschrijven.", + "description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications" + }, + "toggleStyle": { + "message": "Stijl inschakelen/uitschakelen", + "description": "Label for the checkbox to enable/disable a style" + }, + "searchNumberOfResults": { + "message": "Aantal overeenkomsten", + "description": "Tooltip for the number of found search results in the editor shown on Ctrl-F" + }, "importReplaceTooltip": { "message": "Verwerp de inhoud van de huidige stijl en overschrijf het met de geïmporteerde stijl", "description": "Label for the button to import and overwrite current style" }, + "installUpdateFromLabel": { + "message": "Controleren op updates", + "description": "Label for the checkbox to save current URL for update check" + }, + "cm_resizeGripHint": { + "message": "Dubbelklik om de hoogte te maximaliseren/herstellen", + "description": "Tooltip for the resize grip in style editor" + }, "popupStylesFirst": { - "message": "Stijlen vóór commando's opsomming in het werkbalkknopmenu", + "message": "Stijlen vóór commando's opsommen", "description": "Label for the checkbox controlling section order in the popup." }, "sectionHelp": { - "message": "Secties stellen u in staat om andere stukken code toe te passen op andere URL's in dezelfde stijl. Bijv.: een enkele stijl kan de homepage van een site aanpassen op een bepaalde manier, terwijl de rest van de site op een andere manier wordt aangepast.", + "message": "Secties stellen je in staat om andere stukken code toe te passen op andere URL's in dezelfde stijl. Bijv.: een enkele stijl kan de startpagina van een site aanpassen op een bepaalde manier, terwijl de rest van de site op een andere manier wordt aangepast.", "description": "Help text for sections" }, "noStylesForSite": { @@ -244,10 +557,22 @@ "message": "Verwijderen", "description": "Label for the button to remove an 'applies' entry" }, + "updatesCurrentlyInstalled": { + "message": "Geïnstalleerde updates:", + "description": "Text that displays when an update is installed on options page. Followed by the number of currently installed updates." + }, "styleToMozillaFormatTitle": { "message": "Stijl in Mozilla-opmaak", "description": "Title of the popup with the style code in Mozilla format, shown after pressing the Export button on Edit style page" }, + "cm_colorpicker": { + "message": "Kleurkiezer voor CSS-kleuren", + "description": "Label for the checkbox controlling colorpicker option for the style editor." + }, + "filteredStylesAllHidden": { + "message": "Geen overeenkomende stijlen met de momenteel toegepaste filters", + "description": "Text shown when no styles match currently applied filter in the style manager" + }, "writeStyleFor": { "message": "Stijl schrijven voor:", "description": "Label for toolbar pop-up that precedes the links to write a new style" @@ -256,16 +581,36 @@ "message": "Vervangen", "description": "Label before the replace input field in the editor shown on Ctrl-H" }, + "styleRegexpTestNone": { + "message": "Geen overeenkomende tabbladen", + "description": "RegExp test report: label for expressions that didn't match any tabs" + }, + "importReportLegendUpdatedMeta": { + "message": "meta-informatie bijgewerkt", + "description": "Text after the number of styles with updated meta info like name/url in the report shown after importing styles" + }, "appliesLabel": { "message": "Toepasbaar op", "description": "Label for 'applies to' fields on the edit/add screen" }, + "sortLabelTitleDesc": { + "message": "Titel - Aflopend", + "description": "Text added to option group to indicate a block of options that apply a title descending (Z to A) sort" + }, + "openOptionsPopup": { + "message": "Opties", + "description": "Go to Options UI" + }, + "usercssConfigIncomplete": { + "message": "De stijl is bijgewerkt of verwijderd nadat het configuratievenster werd getoond. Deze variabelen zijn niet opgeslagen om corruptie te voorkomen:", + "description": "" + }, "openManage": { - "message": "Geïnstalleerde stijlen beheren", + "message": "Beheren", "description": "Link to open the manage page." }, "updateCheckFailBadResponseCode": { - "message": "Update mislukt: server gaf code $code$ als antwoord.", + "message": "Update mislukt: server kwam terug met $code$.", "description": "Text that displays when an update check failed because the response code indicates an error", "placeholders": { "code": { @@ -281,10 +626,70 @@ "message": "Update installeren", "description": "Label for the button to install an update for a single style" }, + "syncStorageErrorSaving": { + "message": "De waarde kan niet worden opgeslagen. Probeer het aantal tekst te verminderen.", + "description": "Displayed when trying to save an excessively big value via storage.sync API" + }, + "optionsCheckUpdate": { + "message": "Controleren op updates en deze installeren", + "description": "" + }, + "clickToUninstall": { + "message": "Klik om te deïnstalleren", + "description": "Label for the overlay on a style thumbnail when installed via inline search in the popup" + }, + "filteredStyles": { + "message": "$numShown$ van de $numTotal$ wordt/worden getoond", + "description": "TL note - make this message short", + "placeholders": { + "numTotal": { + "content": "$2" + }, + "numShown": { + "content": "$1" + } + } + }, + "importReportTitle": { + "message": "Stijlen importeren voltooid", + "description": "Title of the report shown after importing styles" + }, + "unreachableAMOHint": { + "message": "Open, om te machtigen, , klik met de rechtermuisknop op de lijst, kies dan voor 'Nieuw' --> 'Boolean' en plak . Klik daarna op Oké --> --> Oké en herlaad de -pagina.", + "description": "Note in the popup when opened on addons.mozilla.org in Firefox >= 59" + }, "styleMozillaFormatHeading": { "message": "Mozilla-opmaak", "description": "Heading for the section with buttons to import/export Mozilla format of the style" }, + "cm_matchHighlight": { + "message": "Markeren", + "description": "Label for the drop-down list controlling the automatic highlighting of current word/selection occurrences in the style editor." + }, + "styleRegexpPartialExplanation": { + "message": "Deze stijl gebruikt gedeeltelijk overeenkomende regexps. Dit is in strijd met de CSS4 @document-specificatie, welke een volledige URL-overeenkomst vereist. De getroffen CSS-secties zijn niet toegepast op de pagina. Deze stijl is waarschijnlijk gecreëerd met Stylish-voor-Chrome, welke onjuist controleert op 'regexp()'-regels sinds de allereerste versie (bekende fout).", + "description": "" + }, + "linterCSSLintSettings": { + "message": "(stel regel in als volgt: 0 = uitgeschakeld; 1 = waarschuwing; 2 = fout)", + "description": "CSSLint rule config values" + }, + "usercssReplaceTemplateSectionBody": { + "message": "Voer hier code in...", + "description": "The code placeholder comment in a new style created by clicking 'Write style' in the popup" + }, + "searchResultNoneFound": { + "message": "Geen stijlen gevonden voor deze website.", + "description": "Error text in the popup when inline search didn't find any site-specific styles" + }, + "styleBeautifyIndentConditional": { + "message": "@media, @supports inspringen", + "description": "CSS-beautifier option" + }, + "unreachableContentScript": { + "message": "Kan niet communiceren met de pagina. Probeer het tabblad te herladen.", + "description": "Note in the toolbar popup usually on file:// URLs after [re]loading Stylus" + }, "sectionRemove": { "message": "Sectie verwijderen", "description": "Label for the button to remove a section" @@ -293,22 +698,146 @@ "message": "Alle stijlen uitschakelen", "description": "Label for the checkbox that turns all enabled styles off." }, + "appliesLineWidgetLabel": { + "message": "Toont 'Toepasbaar op'-informatie", + "description": "Label for the checkbox to display applies-to information in the single editor" + }, + "updateCheckSkippedMaybeLocallyEdited": { + "message": "Deze stijl is waarschijnlijk lokaal bewerkt.", + "description": "Text that displays when an update check skipped updating the style to avoid losing possible local modifications" + }, "undoGlobal": { - "message": "Ongedaan maken (globaal)", + "message": "Ongedaan maken (alle secties)", "description": "CSS-beautify global Undo button label" }, + "optionsCustomizeIcon": { + "message": "Werkbalkpictogram", + "description": "" + }, + "genericTitle": { + "message": "Titel", + "description": "Used in various parts of the UI to indicate the title of something" + }, "updateCompleted": { "message": "Update voltooid.", "description": "Text that displays when an update completed" }, + "previewLabel": { + "message": "Live-voorbeeld", + "description": "Label for the checkbox in style editor to enable live preview while editing." + }, + "paginationTotal": { + "message": "Totaal aantal pagina's", + "description": "" + }, + "cm_selectByTokensTooltip": { + "message": "Voorbeeldsleutels: .foo-bar-2 #aabbcc 0.32 !important\nIndien uitgeschakeld: punctuatieloze woorden worden geselecteerd.", + "description": "" + }, "checkingForUpdate": { "message": "Bezig met controleren...", "description": "Text to display when checking a style for an update" }, + "styleRegexpTestFull": { + "message": "Overeenkomende tabbladen", + "description": "RegExp test report: label for the fully matching expressions" + }, + "manageMaxTargets": { + "message": "Aantal 'toepasbaar op'-items", + "description": "Label for the numeric input box to limit max number of applies-to targets in the new UI on manage page" + }, + "searchResultRating": { + "message": "Waardering", + "description": "Text for label that shows the search result's rating" + }, + "genericUnknown": { + "message": "Onbekend", + "description": "Used in various parts of the UI to indicate if something is unknown (e.g. an unknown date)" + }, + "popupManageTooltip": { + "message": "Shift-klik of rechtsklik opent de beheerder met stijlen die toepasbaar zijn op de huidige site", + "description": "Tooltip for the 'Manage' button in the popup." + }, + "manageFaviconsHelp": { + "message": "Stylus gebruikt een externe dienst https://www.google.com/s2/favicons", + "description": "Label for the checkbox that toggles applies-to favicons in the new UI on manage page" + }, + "paginationEstimated": { + "message": "Geschatte aantal pagina's", + "description": "Tooltip for the total page count in search results" + }, + "styleInstallOverwrite": { + "message": "'$stylename$' is al geïnstalleerd. Overschrijven?\nVersie: $oldVersion$ -> $newVersion$", + "description": "Confirmation when re-installing a style", + "placeholders": { + "stylename": { + "content": "$1" + }, + "newVersion": { + "content": "$3" + }, + "oldVersion": { + "content": "$2" + } + } + }, + "updateCheckSkippedLocallyEdited": { + "message": "Deze stijl is lokaal bewerkt.", + "description": "Text that displays when an update check skipped updating the style to avoid losing local modifications" + }, + "linterRulesLink": { + "message": "Volledige regellijst bekijken", + "description": "Stylelint or CSSLint rules label added immediately before a link" + }, + "styleUpdateDiscardChanges": { + "message": "Deze stijl is gewijzigd buiten de bewerker om. Wil je de stijl herladen?", + "description": "Confirmation to update the style in the editor" + }, + "optionsResetButton": { + "message": "Standaardwaarden", + "description": "" + }, + "paginationNext": { + "message": "Volgende pagina", + "description": "Tooltip for the '->' (next page) button in search results" + }, + "searchResultInstallCount": { + "message": "Totaal aantal installaties", + "description": "Text for label that shows the number of times a search result was installed" + }, + "externalUsercssDocument": { + "message": "Documentatie voor Usercss", + "description": "Label for the external link to usercss documentation" + }, + "optionsAdvancedContextDelete": { + "message": "'Verwijderen' toevoegen aan rechtermuisknopmenu van bewerker", + "description": "" + }, + "linterConfigPopupTitle": { + "message": "$linter$-regelsconfiguratie instellen", + "description": "Stylelint or CSSLint popup header", + "placeholders": { + "linter": { + "content": "$1" + } + } + }, + "configureStyle": { + "message": "Instellen", + "description": "Label for the button to configure usercss userstyle" + }, + "importReportLegendUpdatedBoth": { + "message": "meta-informatie en code bijgewerkt", + "description": "Text after the number of styles updated entirely in the report shown after importing styles" + }, "cm_smartIndent": { "message": "Slimme inspringing gebruiken", "description": "Label for the checkbox controlling smart indentation option for the style editor." }, + "styleRegexpTestButton": { + "message": "RegExp-test", + "description": "RegExp test button label in the editor shown when applies-to list has a regexp value" + }, "appliesHelp": { "message": "Gebruik de 'Toepasbaar op'-functies om de URL's te limiteren in de sectie.", "description": "Help text for 'applies to' section" @@ -317,58 +846,310 @@ "message": "Verkrijg hulp", "description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info" }, + "searchStylesHelp": { + "message": "-toets focust het zoekvak.\nPlatte tekst: zoeken in de naam, code, website-URL en de sites waarop het wordt toegepast. Woorden met minder dan 3 letters worden genegeerd.\nOvereenkomende URL: begin de zoekopdracht met , bijv. \nReguliere expressies: inclusief schuine strepen en vlaggen, bijv. \nExacte woorden: gebruik dubbele aanhalingstekens in de zoekterm, bijv. <\".header ~ div\">", + "description": "Text in the minihelp displayed when clicking (i) icon to the right of the search input field on the Manage styles page" + }, + "findStyles": { + "message": "Stijlen zoeken", + "description": "Text for a link that gets a list of styles for the current site" + }, "editStyleHeading": { "message": "Stijl bewerken", "description": "Title of the page for editing styles" }, + "editDeleteText": { + "message": "Verwijderen", + "description": "Label for the context menu item in the editor to delete selected text" + }, + "cm_autocompleteOnTyping": { + "message": "Auto-aanvullen tijdens typen", + "description": "Label for the checkbox in the style editor." + }, + "unreachableAMO": { + "message": "Firefox blokkeert de toegang tot deze website.", + "description": "Note in the popup displayed when opened on addons.mozilla.org" + }, + "linterCSSLintIncompatible": { + "message": "CSSLint heeft geen ondersteuning voor $preprocessorname$", + "description": "The label to display when the preprocessor isn't compatible with CSSLint", + "placeholders": { + "preprocessorname": { + "content": "$1" + } + } + }, + "styleMetaErrorSelectValueMismatch": { + "message": "Ongeldige @select: waarde staat niet op de lijst", + "description": "Error displayed when the value of @select is invalid" + }, + "styleMetaErrorColor": { + "message": "$color$ is geen geldige kleur", + "description": "Error displayed when the value of @var color is invalid", + "placeholders": { + "color": { + "content": "$1" + } + } + }, + "genericPrevious": { + "message": "Vorige", + "description": "Used in various places to select/perform the previous step/action" + }, + "manageOnlyDisabled": { + "message": "Alleen uitgeschakelde stijlen", + "description": "Checkbox to show only disabled styles" + }, + "stylusUnavailableForURLdetails": { + "message": "Omwille van beveiligingsredenen, verbiedt de browser extensies op ingebouwde pagina's (zoals chrome://version, de standaard nieuwe tabblad-pagina sinds Chrome 61, about:addons, enz.) alsmede andere extensiepagina's. Elke browser beperkt ook de toegang tot de extensiegalerij (zoals de Chrome Web Store of AMO).", + "description": "Sub-note in the toolbar pop-up when on a URL Stylus can't affect" + }, + "cm_matchHighlightSelection": { + "message": "Alleen selectie", + "description": "Style editor's 'highglight' drop-down list option: highlight the occurrences of currently selected text" + }, + "updateAllCheckSucceededSomeEdited": { + "message": "Sommige stijlen die kunnen worden bijgewerkt zijn niet gecontroleerd om mogelijke lokale bewerkingen te behouden. Updates kunnen worden geforceerd door de stijlen individueel te controleren of door alle stijlen opnieuw te controleren (lokale bewerkingen worden overschreven).", + "description": "Text that displays when an update all check completed and no updates are available" + }, "stylusUnavailableForURL": { "message": "Stylus werkt niet op pagina's als deze.", "description": "Note in the toolbar pop-up when on a URL Stylus can't affect" }, + "popupBorders": { + "message": "Witte randen toevoegen aan zijkanten", + "description": "" + }, + "manageOnlyUpdates": { + "message": "Alleen bij updates of problemen", + "description": "Checkbox to show only styles that have updates after check-all-styles-for-updates was performed" + }, "addStyleTitle": { "message": "Stijl toevoegen", "description": "Title of the page for adding styles" }, + "externalLink": { + "message": "Externe link", + "description": "Label for external links" + }, + "externalHomepage": { + "message": "Website", + "description": "Label for the external link to style's homepage" + }, "importReplaceLabel": { "message": "Stijl overschrijven", "description": "Label for the button to import and overwrite current style" }, + "genericNext": { + "message": "Volgende", + "description": "Used in various places to select/perform the next step/action" + }, + "popupOpenEditInWindowTooltip": { + "message": "Wordt tevens ingeschakeld door het losmaken van het bewerker-tabblad,\nen uitgeschakeld door het vastmaken van een los bewerker-tabblad aan een ander venster.", + "description": "Label for the checkbox controlling 'edit' action behavior in the popup." + }, "dbError": { - "message": "Er is een fout opgetreden bij het gebruiken van de Stylus-database. Wilt u een webpagina met mogelijke oplossingen bezoeken?", + "message": "Er is een fout opgetreden bij het gebruiken van de Stylus-database. Wil je een webpagina met mogelijke oplossingen bezoeken?", "description": "Prompt when a DB error is encountered" }, + "dateInstalled": { + "message": "Installatiedatum", + "description": "Option text for the user to sort the style by install date" + }, + "optionsAdvanced": { + "message": "Geavanceerd", + "description": "" + }, + "alphaChannel": { + "message": "Doorzichtigheid", + "description": "Label of color's opacity" + }, "importAppendTooltip": { - "message": "Voeg de geïmporteerde stijl toe aan de huidige stijl", + "message": "Geïmporteerde stijl toevoegen aan huidige stijl", "description": "Tooltip for the button to import a style and append to the existing sections" }, + "liveReloadInstallHint": { + "message": "Live-herladen is ingeschakeld. De geïnstalleerde stijl zal automatisch worden bijgewerkt bij externe wijzigingen als zowel dit tabblad als het tabblad van het bronbestand geopend zijn.", + "description": "The label of live-reload feature" + }, + "editorStylesButton": { + "message": "Bewerkerstijlen zoeken", + "description": "Find styles for the editor" + }, + "optionsOpen": { + "message": "Openen", + "description": "" + }, "helpKeyMapHotkey": { "message": "Druk op een sneltoets", "description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short" }, + "styleRegexpTestInvalid": { + "message": "Ongeldige regexps overgeslagen", + "description": "RegExp test report: label for the invalid expressions" + }, + "dateUpdated": { + "message": "Bijwerkdatum", + "description": "Option text for the user to sort the style by last update date" + }, + "manageOnlyExternal": { + "message": "Alleen externe stijlen", + "description": "Checkbox to show only externally installed styles i.e. updatable" + }, + "searchResultWeeklyCount": { + "message": "Wekelijks aantal installaties", + "description": "Text for label that shows the number of times a search result was installed during last week" + }, "replaceAll": { "message": "Alles vervangen", "description": "Label before the replace input field in the editor shown on 'replaceAll' hotkey" }, + "importReportUnchanged": { + "message": "Er is niks gewijzigd.", + "description": "Message in the report shown after importing styles" + }, + "confirmDiscardChanges": { + "message": "Wijzigingen verwerpen?", + "description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes" + }, + "searchResultUpdated": { + "message": "Bijgewerkt", + "description": "Text for label that shows the search result's last update date" + }, + "configOnChangeTooltip": { + "message": "Wijzigingen automatisch opslaan en toepassen", + "description": "" + }, + "optionsActions": { + "message": "Acties", + "description": "" + }, "editGotoLine": { "message": "Ga naar regel (of regel:kolom)", "description": "Go to line or line:column on Ctrl-G in style code editor" }, + "manageOnlyLocalTooltip": { + "message": "(de stijlen die niet geïnstalleerd zijn via userstyles.org)", + "description": "Tooltip for the checkbox to show only locally created styles i.e. non-updatable" + }, "checkAllUpdates": { "message": "Controleer alle stijlen op updates", "description": "Label for the button to check all styles for updates" }, + "openOptionsManage": { + "message": "Opties", + "description": "Go to Options UI" + }, + "colorpickerTooltip": { + "message": "Kleurkiezer openen", + "description": "Tooltip for the colored squares shown before CSS colors in the style editor." + }, + "optionsCustomizeBadge": { + "message": "Badge op het werkbalkpictogram", + "description": "" + }, + "sortDateNewestFirst": { + "message": "nieuwste eerst", + "description": "Text added to indicate that sorting a date would add the newest entries at the top" + }, + "paginationPrevious": { + "message": "Vorige pagina", + "description": "Tooltip for the '<-' button in search results" + }, + "installUpdateFrom": { + "message": "De stijl wordt momenteel bijgewerkt via $url$", + "description": "Label to describe where the style gets update", + "placeholders": { + "url": { + "content": "$1" + } + } + }, + "importReportLegendIdentical": { + "message": "gelijke overgeslagen", + "description": "Text after the number of styles skipped due to being identical to the already installed ones in the report shown after importing styles" + }, + "manageNewStyleAsUsercss": { + "message": "als Usercss", + "description": "VERY SHORT label for the checkbox next to the 'Write new style' button in the style manager" + }, + "optionsPopupWidth": { + "message": "Pop-upbreedte (in pixels)", + "description": "" + }, + "cm_autoCloseBrackets": { + "message": "Haken en citaten automatisch sluiten", + "description": "Label for the checkbox in the style editor." + }, + "installButtonReinstall": { + "message": "Stijl herinstalleren", + "description": "Label for reinstall button" + }, + "linterInvalidConfigError": { + "message": "Niet opgeslagen vanwege ongeldige configuratie-instellingen:", + "description": "Invalid linter config will show a message followed by a list of invalid entries" + }, "confirmNo": { "message": "Nee", "description": "'No' button in a confirm dialog" }, + "styleMissingMeta": { + "message": "Ontbrekende metagegevens @ $key$", + "description": "Error displayed when a mandatory metadata is missing", + "placeholders": { + "key": { + "content": "$1" + } + } + }, + "searchCaseSensitive": { + "message": "Hoofdlettergevoelig", + "description": "Tooltip for the 'Aa' icon that enables case-sensitive search in the editor shown on Ctrl-F" + }, + "appliesLineWidgetWarning": { + "message": "Werkt niet met minified CSS", + "description": "A warning that applies-to information won't show properly with minified CSS" + }, + "configureStyleOnHomepage": { + "message": "Instellen op startpagina", + "description": "Label for the button to configure userstyles.org userstyle" + }, "undo": { "message": "Ongedaan maken", "description": "Button label" }, + "usercssReplaceTemplateConfirmation": { + "message": "Wil je het standaard sjabloon voor nieuwe Usercss-stijlen vervangen door de huidige code?", + "description": "" + }, "cm_keyMap": { "message": "Toetsenbordindeling", "description": "Label for the drop-down list controlling the keymap for the style editor." }, + "externalSupport": { + "message": "Ondersteuning", + "description": "Label for the external link to style's support site" + }, + "confirmSave": { + "message": "Opslaan", + "description": "'Save' button in a confirm dialog" + }, + "manageNewUI": { + "message": "Nieuwe indeling van beheerscherm", + "description": "Label for the checkbox that toggles the new UI on manage page" + }, + "unreachableAMOHintOldFF": { + "message": "Alleen Firefox 59 en hoger kunnen worden geconfigureerd om WebExtensies stijlelementen toe te laten voegen op met CSP-beveiligde websites als deze.", + "description": "Note in the popup when opened on addons.mozilla.org in Firefox < 59" + }, + "importReportUndoneTitle": { + "message": "Het importeren is ongedaan gemaakt", + "description": "Title of the message box shown after undoing the import of styles" + }, + "genericDisabledLabel": { + "message": "Uitgeschakeld", + "description": "Used in various lists/options to indicate that something is disabled" + }, "cm_indentWithTabs": { "message": "Tabs met slimme inspringing gebruiken", "description": "Label for the checkbox controlling tabs with smart indentation option for the style editor." @@ -377,14 +1158,47 @@ "message": "Vervangen door", "description": "Label before the replace-with input field in the editor shown on Ctrl-H etc." }, + "liveReloadError": { + "message": "Er is een fout opgetreden tijdens het bekijken van het bestand", + "description": "The label of live-reload error" + }, "deleteStyleLabel": { "message": "Verwijderen", "description": "Label for the button to delete a style" }, + "updateCheckManualUpdateForce": { + "message": "Update installeren (lokale bewerkingen worden overschreven)", + "description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications" + }, + "styleInstallFailed": { + "message": "Installeren van gebruikersstijl mislukt!\n$error$", + "description": "Warning when installation failed", + "placeholders": { + "error": { + "content": "$1" + } + } + }, + "optionsAdvancedExposeIframes": { + "message": "iframes blootleggen via HTML[stylus-iframe]", + "description": "" + }, + "usercssEditorNamePlaceholder": { + "message": "Specificeer @name in de code", + "description": "Placeholder text for the empty name input field when creating a new Usercss style" + }, "addStyleLabel": { "message": "Nieuwe stijl schrijven", "description": "Label for the button to go to the add style page" }, + "installButtonUpdate": { + "message": "Stijl bijwerken", + "description": "Label for update button" + }, + "backupButtons": { + "message": "Back-uppen", + "description": "Heading for backup" + }, "manageOnlyEnabled": { "message": "Alleen ingeschakelde stijlen", "description": "Checkbox to show only enabled styles" @@ -393,16 +1207,56 @@ "message": "Bewerken", "description": "Label for the button to go to the edit style page" }, + "installButtonInstalled": { + "message": "Stijl geïnstalleerd", + "description": "Text displayed when the style is successfully installed" + }, + "author": { + "message": "Auteur", + "description": "Label for the style author" + }, "cm_theme": { "message": "Thema", "description": "Label for the style editor's CSS theme." }, + "findStylesInlineTooltip": { + "message": "Zoekresultaten tonen in dit venster.", + "description": "Text for a checkbox that displays search results within the Stylus popup." + }, + "popupOpenEditInWindow": { + "message": "Bewerker openen in nieuw venster", + "description": "Label for the checkbox controlling 'edit' action behavior in the popup." + }, + "appliesRemoveError": { + "message": "Laatste 'toepasbaar op'-vermelding kan niet worden verwijderd", + "description": "Error displayed when the last 'applies' is going to be removed" + }, + "backupMessage": { + "message": "Selecteer een bestand of versleep het naar deze pagina.", + "description": "Message for backup" + }, + "importReportUndone": { + "message": "stijlen zijn teruggedraaid", + "description": "Text after the number of styles reverted in the message box shown after undoing the import of styles" + }, "helpKeyMapCommand": { - "message": "Voer een naam in voor het commando", + "message": "Voer een commandonaam in", "description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short" }, + "linterResetMessage": { + "message": "Druk op Ctrl-Z (of Cmd-Z) in het tekstvak om ongedaan te maken", + "description": "Reset button tooltip to inform user on how to undo an accidental reset" + }, "description": { - "message": "Voorzie het web van een ander uiterlijk met Stylus, een gebruikersstijlbeheerder. Stylus stelt u in staat om eenvoudig thema's en stijlen te installeren voor vele populaire websites.", + "message": "Voorzie het web van een ander uiterlijk met Stylus, een gebruikersstijlbeheerder. Stylus stelt je in staat om eenvoudig thema's en stijlen te installeren voor vele populaire websites.", "description": "Extension description" + }, + "confirmClose": { + "message": "Sluiten", + "description": "'Close' button in a confirm dialog" + }, + "usercssReplaceTemplateName": { + "message": "Lege @name vervangt het standaard sjabloon", + "description": "The text shown after @name when creating a new Usercss style" } } diff --git a/_locales/pt_BR/messages.json b/_locales/pt_BR/messages.json index dee6998e..c3515cac 100644 --- a/_locales/pt_BR/messages.json +++ b/_locales/pt_BR/messages.json @@ -3,6 +3,22 @@ "message": "Tudo", "description": "Text displayed for styles that apply to all sites" }, + "defaultTheme": { + "message": "padrão", + "description": "Default CodeMirror CSS theme option on the edit style page" + }, + "bckpInstStyles": { + "message": "Exportar estilos", + "description": "" + }, + "exportLabel": { + "message": "Exportar ", + "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" + }, + "optionsBadgeNormal": { + "message": "Cor de fundo", + "description": "" + }, "enableStyleLabel": { "message": "Ativar", "description": "Label for the button to enable a style" @@ -19,10 +35,26 @@ "message": "Verificar atualizações", "description": "Label for the button to check a single style for an update" }, + "importAppendLabel": { + "message": "Anexar ao estilo", + "description": "Label for the button to import a style and append to the existing sections" + }, + "updateAllCheckSucceededNoUpdate": { + "message": "Nenhuma atualização encontrada.", + "description": "Text that displays when an update all check completed and no updates are available" + }, "helpAlt": { "message": "Ajuda", "description": "Alternate text for help buttons" }, + "search": { + "message": "Buscar", + "description": "Label before the search input field in the editor shown on Ctrl-F" + }, + "confirmYes": { + "message": "Sim", + "description": "'Yes' button in a confirm dialog" + }, "findStylesForSite": { "message": "Procurar mais estilos para este site", "description": "Text for a link that gets a list of styles for the current site" @@ -31,6 +63,10 @@ "message": "Estilos instalados", "description": "Heading for the manage page" }, + "styleBeautify": { + "message": "Embelezar", + "description": "Label for the CSS-beautifier button on the edit style page" + }, "styleEnabledLabel": { "message": "Ativado", "description": "Label for the enabled state of styles" @@ -47,6 +83,30 @@ "message": "Salvar", "description": "Label for save button for style editing" }, + "confirmDelete": { + "message": "Deletar", + "description": "" + }, + "confirmCancel": { + "message": "Cancelar", + "description": "" + }, + "retrieveBckp": { + "message": "Importar estilos", + "description": "" + }, + "confirmStop": { + "message": "Parar", + "description": "'Stop' button in a confirm dialog" + }, + "writeStyleForURL": { + "message": "esse URL", + "description": "Text for link in toolbar pop-up to write a new style for the current URL" + }, + "optionsSubheading": { + "message": "Mais Opções", + "description": "Subheading for options section on manage page." + }, "appliesAdd": { "message": "Adicionar", "description": "Label for the button to add an 'applies' entry" @@ -64,6 +124,18 @@ } } }, + "optionsBadgeDisabled": { + "message": "Cor de fundo quando desativado", + "description": "" + }, + "optionsCheck": { + "message": "Atualizar estilos", + "description": "" + }, + "searchStyles": { + "message": "Buscar conteúdos", + "description": "Label for the search filter textbox on the Manage styles page" + }, "disableStyleLabel": { "message": "Desativar", "description": "Label for the button to disable a style" @@ -80,14 +152,30 @@ "message": "Você fez alterações neste estilo sem salvar.", "description": "Text for the prompt when changes are made to a style and the user tries to leave without saving" }, + "importLabel": { + "message": "Importar", + "description": "Label for the button to import a style ('edit' page) or all styles ('manage' page)" + }, "updateCheckFailServerUnreachable": { "message": "A atualização falhou: servidor inacessível.", "description": "Text that displays when an update check failed because the update server is unreachable" }, + "applyAllUpdates": { + "message": "Aplicar todas as atualizações", + "description": "Label for the button to apply all detected updates" + }, "deleteStyleConfirm": { "message": "Tem certeza de que deseja excluir este estilo?", "description": "Confirmation before deleting a style" }, + "styleBadRegexp": { + "message": "Expressão regular é inválida", + "description": "Validation message for a bad regexp in a style" + }, + "optionsHeading": { + "message": "Opções", + "description": "Heading for options section on manage page." + }, "appliesDisplay": { "message": "Aplica-se a: $applies$", "description": "Text on the manage screen to describe what the style applies to", @@ -134,10 +222,18 @@ "message": "Remover", "description": "Label for the button to remove an 'applies' entry" }, + "replace": { + "message": "Substituir", + "description": "Label before the replace input field in the editor shown on Ctrl-H" + }, "appliesLabel": { "message": "Aplica-se a", "description": "Label for 'applies to' fields on the edit/add screen" }, + "openOptionsPopup": { + "message": "Opções", + "description": "Go to Options UI" + }, "openManage": { "message": "Gerenciar estilos instalados", "description": "Link to open the manage page." @@ -159,10 +255,22 @@ "message": "Instalar atualização", "description": "Label for the button to install an update for a single style" }, + "styleMozillaFormatHeading": { + "message": "Formato Mozilla", + "description": "Heading for the section with buttons to import/export Mozilla format of the style" + }, "sectionRemove": { "message": "Remover seção", "description": "Label for the button to remove a section" }, + "disableAllStyles": { + "message": "Desativar todos os estilos", + "description": "Label for the checkbox that turns all enabled styles off." + }, + "undoGlobal": { + "message": "Desfazer todas as seções", + "description": "CSS-beautify global Undo button label" + }, "updateCompleted": { "message": "Atualização concluída.", "description": "Text that displays when an update completed" @@ -187,10 +295,46 @@ "message": "Adicionar estilo", "description": "Title of the page for adding styles" }, + "importReplaceLabel": { + "message": "Sobrescrever estilo", + "description": "Label for the button to import and overwrite current style" + }, + "importAppendTooltip": { + "message": "Anexar o estilo importado ao atual", + "description": "Tooltip for the button to import a style and append to the existing sections" + }, + "optionsOpen": { + "message": "Abrir", + "description": "" + }, + "replaceAll": { + "message": "Substituir todos", + "description": "Label before the replace input field in the editor shown on 'replaceAll' hotkey" + }, + "optionsActions": { + "message": "Ações", + "description": "" + }, + "editGotoLine": { + "message": "Ir para linha (ou linha:coluna)", + "description": "Go to line or line:column on Ctrl-G in style code editor" + }, "checkAllUpdates": { "message": "Verificar atualizações para todos os estilos", "description": "Label for the button to check all styles for updates" }, + "confirmNo": { + "message": "Não", + "description": "'No' button in a confirm dialog" + }, + "undo": { + "message": "Desfazer", + "description": "Button label" + }, + "replaceWith": { + "message": "Substituir com", + "description": "Label before the replace-with input field in the editor shown on Ctrl-H etc." + }, "deleteStyleLabel": { "message": "Excluir", "description": "Label for the button to delete a style" @@ -203,6 +347,10 @@ "message": "Editar", "description": "Label for the button to go to the edit style page" }, + "cm_theme": { + "message": "Tema", + "description": "Label for the style editor's CSS theme." + }, "description": { "message": "Mude o estilo da web com o Stylus, um gerenciador de estilos do usuário. O Stylus permite instalar facilmente temas e skins para Google, Facebook, YouTube, Orkut e muitos, muitos outros sites.", "description": "Extension description" diff --git a/_locales/pt_PT/messages.json b/_locales/pt_PT/messages.json index a3fd3ac5..4fb0dcd3 100644 --- a/_locales/pt_PT/messages.json +++ b/_locales/pt_PT/messages.json @@ -19,10 +19,22 @@ "message": "Exportar estilos", "description": "" }, + "sortStylesHelpTitle": { + "message": "Ordenar conteúdos", + "description": "Label for the sort info popup on the Manage styles page" + }, "exportLabel": { "message": "Exportar", "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" }, + "installButton": { + "message": "Instalar estilo", + "description": "Label for install button" + }, + "popupHotkeysTooltip": { + "message": "Clique para ver as teclas de atalho disponíveis", + "description": "Tooltip displayed when hovering the right edge of the extension popup" + }, "optionsBadgeNormal": { "message": "Cor de fundo", "description": "" @@ -316,7 +328,7 @@ "description": "Option to make the style apply to the entered string as a URL prefix" }, "searchRegexp": { - "message": "Usa a syntax /re/ para pesquisas regexp", + "message": "Usa a sintaxe /re/ para pesquisas regexp", "description": "Label after the search input field in the editor shown on Ctrl-F" }, "updateCheckManualUpdateHint": { @@ -436,6 +448,10 @@ "message": "Desfazer em todas as seções", "description": "CSS-beautify global Undo button label" }, + "genericTitle": { + "message": "Título", + "description": "Used in various parts of the UI to indicate the title of something" + }, "updateCompleted": { "message": "Atualização completa.", "description": "Text that displays when an update completed" @@ -452,6 +468,10 @@ "message": "Número de items aos quais se aplica", "description": "Label for the numeric input box to limit max number of applies-to targets in the new UI on manage page" }, + "genericUnknown": { + "message": "Desconhecido", + "description": "Used in various parts of the UI to indicate if something is unknown (e.g. an unknown date)" + }, "manageFaviconsHelp": { "message": "O Stylus usa um serviço externo https://www.google.com/s2/favicons", "description": "Label for the checkbox that toggles applies-to favicons in the new UI on manage page" @@ -516,10 +536,18 @@ "message": "Ocorreu um erro ao usar a base de dados do Stylus. Gostarias de visitar um website com soluções possíveis?", "description": "Prompt when a DB error is encountered" }, + "dateInstalled": { + "message": "Data de instalação", + "description": "Option text for the user to sort the style by install date" + }, "optionsAdvanced": { "message": "Avançado", "description": "" }, + "alphaChannel": { + "message": "Opacidade", + "description": "Label of color's opacity" + }, "importAppendTooltip": { "message": "Anexar o estilo importado ao estilo atual", "description": "Tooltip for the button to import a style and append to the existing sections" @@ -536,6 +564,10 @@ "message": "Carrega numa tecla de atalho", "description": "Placeholder text of inputbox in keymap help popup on the edit style page. Must be very short" }, + "dateUpdated": { + "message": "Última actualização", + "description": "Option text for the user to sort the style by last update date" + }, "replaceAll": { "message": "Substituir todos", "description": "Label before the replace input field in the editor shown on 'replaceAll' hotkey" @@ -544,6 +576,10 @@ "message": "Nada foi mudado", "description": "Message in the report shown after importing styles" }, + "confirmDiscardChanges": { + "message": "Descartar as alterações?", + "description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes" + }, "optionsActions": { "message": "Ações", "description": "" @@ -564,6 +600,19 @@ "message": "Opções de interface", "description": "Go to Options UI" }, + "sortDateNewestFirst": { + "message": "Mais recente primeiro", + "description": "Text added to indicate that sorting a date would add the newest entries at the top" + }, + "installUpdateFrom": { + "message": "Actualmente o estilo é actualizado a partir de $url$", + "description": "Label to describe where the style gets update", + "placeholders": { + "url": { + "content": "$1" + } + } + }, "importReportLegendIdentical": { "message": "idênticos ignorados", "description": "Text after the number of styles skipped due to being identical to the already installed ones in the report shown after importing styles" diff --git a/_locales/sv/messages.json b/_locales/sv/messages.json index 25af1e4e..b6eae82a 100644 --- a/_locales/sv/messages.json +++ b/_locales/sv/messages.json @@ -3,8 +3,16 @@ "message": "Allt", "description": "Text displayed for styles that apply to all sites" }, + "manageOnlyUsercss": { + "message": "Endast Usercss stilar", + "description": "Checkbox to show only Usercss styles" + }, + "exportLabel": { + "message": "Exportera", + "description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)" + }, "cm_tabSize": { - "message": "Flikstorlek", + "message": "Tabbstorlek", "description": "Label for the text box controlling tab size option for the style editor." }, "enableStyleLabel": { @@ -15,6 +23,10 @@ "message": "Ange ett namn", "description": "Error displayed when user saves without providing a name" }, + "genericHistoryLabel": { + "message": "Historik", + "description": "Used in various places to show a history log of something" + }, "appliesDomainOption": { "message": "URL:er på domänen", "description": "Option to make the style apply to the entered string as a domain" @@ -23,14 +35,38 @@ "message": "Leta efter uppdatering", "description": "Label for the button to check a single style for an update" }, + "styleFromMozillaFormatError": { + "message": "Import av Mozilla-format misslyckades", + "description": "Label for the import error" + }, + "importAppendLabel": { + "message": "Lägg till i stil", + "description": "Label for the button to import a style and append to the existing sections" + }, "updateAllCheckSucceededNoUpdate": { "message": "Alla stilar är fullt uppdaterade.", "description": "Text that displays when an update all check completed and no updates are available" }, + "styleFromMozillaFormatPrompt": { + "message": "Klistra in koden i Mozilla-formatet", + "description": "Prompt in the dialog displayed after clicking 'Import from Mozilla format' button" + }, "helpAlt": { "message": "Hjälp", "description": "Alternate text for help buttons" }, + "search": { + "message": "Sök", + "description": "Label before the search input field in the editor shown on Ctrl-F" + }, + "genericEnabledLabel": { + "message": "Aktiverad", + "description": "Used in various lists/options to indicate that something is enabled" + }, + "confirmYes": { + "message": "Ja", + "description": "'Yes' button in a confirm dialog" + }, "findStylesForSite": { "message": "Hitta fler stilar för denna sida", "description": "Text for a link that gets a list of styles for the current site" @@ -76,6 +112,22 @@ } } }, + "manageOnlyLocal": { + "message": "Endast lokalt skapade stilar", + "description": "Checkbox to show only locally created styles i.e. non-updatable" + }, + "searchStyles": { + "message": "Sök innehåll", + "description": "Label for the search filter textbox on the Manage styles page" + }, + "manageOnlyNonUsercss": { + "message": "Endast icke-Usercss stilar", + "description": "Checkbox to show only non-Usercss (standard) styles" + }, + "linkGetStyles": { + "message": "Skaffa stilar", + "description": "Help link text on the manage page e.g. https://userstyles.org" + }, "disableStyleLabel": { "message": "Inaktivera", "description": "Label for the button to disable a style" @@ -100,6 +152,10 @@ "message": "Du har gjort ändringar i denna stil utan att spara.", "description": "Text for the prompt when changes are made to a style and the user tries to leave without saving" }, + "importLabel": { + "message": "Importera", + "description": "Label for the button to import a style ('edit' page) or all styles ('manage' page)" + }, "updateCheckFailServerUnreachable": { "message": "Uppdateringen misslyckades: server onåbar.", "description": "Text that displays when an update check failed because the update server is unreachable" @@ -146,6 +202,10 @@ "message": "Sektioner", "description": "Title for the style sections section" }, + "optionsAdvancedNewStyleAsUsercss": { + "message": "Skriv ny stil som Usercss", + "description": "" + }, "editStyleTitle": { "message": "Ändra i Stil $stylename$", "description": "Title of the page for editing styles", @@ -163,6 +223,10 @@ "message": "URL:er som börjar på", "description": "Option to make the style apply to the entered string as a URL prefix" }, + "searchRegexp": { + "message": "Använd /re/ för regexp-sökning", + "description": "Label after the search input field in the editor shown on Ctrl-F" + }, "popupStylesFirst": { "message": "Lista stilar före kommandon i verktygsfältets knappmeny", "description": "Label for the checkbox controlling section order in the popup." @@ -183,14 +247,18 @@ "message": "Ta bort", "description": "Label for the button to remove an 'applies' entry" }, - "manageTitle": { - "message": "Tyylikäs", - "description": "Title for the manage page" + "styleToMozillaFormatTitle": { + "message": "Stil i Mozilla-format", + "description": "Title of the popup with the style code in Mozilla format, shown after pressing the Export button on Edit style page" }, "writeStyleFor": { "message": "Skriv stil för:", "description": "Label for toolbar pop-up that precedes the links to write a new style" }, + "replace": { + "message": "Ersätt", + "description": "Label before the replace input field in the editor shown on Ctrl-H" + }, "appliesLabel": { "message": "Gäller för", "description": "Label for 'applies to' fields on the edit/add screen" @@ -216,6 +284,10 @@ "message": "Installera uppdatering", "description": "Label for the button to install an update for a single style" }, + "styleMozillaFormatHeading": { + "message": "Mozilla-format", + "description": "Heading for the section with buttons to import/export Mozilla format of the style" + }, "sectionRemove": { "message": "Ta bort sektion", "description": "Label for the button to remove a section" @@ -224,6 +296,10 @@ "message": "Stäng av alla stilar", "description": "Label for the checkbox that turns all enabled styles off." }, + "undoGlobal": { + "message": "Ångra i alla sektioner", + "description": "CSS-beautify global Undo button label" + }, "updateCompleted": { "message": "Uppdatering slutförd.", "description": "Text that displays when an update completed" @@ -236,6 +312,10 @@ "message": "Kod", "description": "Label for the code for a section" }, + "externalUsercssDocument": { + "message": "Dokumentation för Usercss", + "description": "Label for the external link to usercss documentation" + }, "cm_smartIndent": { "message": "Använd smart indrag", "description": "Label for the checkbox controlling smart indentation option for the style editor." @@ -244,10 +324,18 @@ "message": "Använd 'Gäller för' alternativet för att begränsa vilka URL:er koden i denna sektion gäller för.", "description": "Help text for 'applies to' section" }, + "linkGetHelp": { + "message": "Hjälp", + "description": "Homepage link text on the manage page e.g. https://add0n.com/stylus.html#features with chat/FAQ/intro/info" + }, "editStyleHeading": { "message": "Ändra i Stil", "description": "Title of the page for editing styles" }, + "manageOnlyDisabled": { + "message": "Endast inaktiverade stilar", + "description": "Checkbox to show only disabled styles" + }, "stylusUnavailableForURL": { "message": "Stylus fungerar inte på sidor som denna.", "description": "Note in the toolbar pop-up when on a URL Stylus can't affect" @@ -256,26 +344,66 @@ "message": "Lägg till stil", "description": "Title of the page for adding styles" }, + "importReplaceLabel": { + "message": "Ersätt stil", + "description": "Label for the button to import and overwrite current style" + }, "dbError": { "message": "Ett fel inträffades vid hanteringen av Stylus-databasen. Skulle du vilja besöka en sida med eventuella lösningar?", "description": "Prompt when a DB error is encountered" }, + "importAppendTooltip": { + "message": "Lägg till den importerad stilen i aktuell stil", + "description": "Tooltip for the button to import a style and append to the existing sections" + }, + "manageOnlyExternal": { + "message": "Endast externa stilar", + "description": "Checkbox to show only externally installed styles i.e. updatable" + }, + "replaceAll": { + "message": "Ersätt alla", + "description": "Label before the replace input field in the editor shown on 'replaceAll' hotkey" + }, "editGotoLine": { "message": "Gå till rad (eller rad:kol)", "description": "Go to line or line:column on Ctrl-G in style code editor" }, "checkAllUpdates": { - "message": "Leta igenom alla stilar efter uppdateringar", + "message": "Sök efter uppdateringar", "description": "Label for the button to check all styles for updates" }, + "manageNewStyleAsUsercss": { + "message": "som Usercss", + "description": "VERY SHORT label for the checkbox next to the 'Write new style' button in the style manager" + }, + "confirmNo": { + "message": "Nej", + "description": "'No' button in a confirm dialog" + }, + "undo": { + "message": "Ångra", + "description": "Button label" + }, "cm_keyMap": { "message": "Nyckelkarta", "description": "Label for the drop-down list controlling the keymap for the style editor." }, + "confirmSave": { + "message": "Spara", + "description": "'Save' button in a confirm dialog" + }, + "genericDisabledLabel": { + "message": "Inaktiverad", + "description": "Used in various lists/options to indicate that something is disabled" + }, "cm_indentWithTabs": { - "message": "Använd flikar med smart indrag", + "message": "Använd tabbar med smart indrag", "description": "Label for the checkbox controlling tabs with smart indentation option for the style editor." }, + "replaceWith": { + "message": "Ersätt med", + "description": "Label before the replace-with input field in the editor shown on Ctrl-H etc." + }, "deleteStyleLabel": { "message": "Ta bort", "description": "Label for the button to delete a style" @@ -292,8 +420,16 @@ "message": "Ändra", "description": "Label for the button to go to the edit style page" }, + "cm_theme": { + "message": "Tema", + "description": "Label for the style editor's CSS theme." + }, "description": { "message": "Style:a om webben med Stylus, en användarstils-hanterare. Stylus låter dig enkelt installera teman och skal för många populära sidor.", "description": "Extension description" + }, + "confirmClose": { + "message": "Stäng", + "description": "'Close' button in a confirm dialog" } } diff --git a/_locales/zh_CN/messages.json b/_locales/zh_CN/messages.json index 73facfa0..41a74eaa 100644 --- a/_locales/zh_CN/messages.json +++ b/_locales/zh_CN/messages.json @@ -39,6 +39,10 @@ "message": "每隔 N 小时,检查所有样式更新(0 为关闭检查)", "description": "" }, + "unreachableAMOHintNewFF": { + "message": "在 Firefox 60 及其更新版本中,你必须从 中删除 AMO 域", + "description": "Note in the popup when opened on addons.mozilla.org in Firefox >= 59" + }, "sortDateOldestFirst": { "message": "最旧的优先", "description": "Text added to indicate that sorting a date would add the oldest entries at the top" @@ -670,6 +674,10 @@ "message": "(设置规则为:0 = 禁用; 1 = 警告; 2 = 错误)", "description": "CSSLint rule config values" }, + "usercssReplaceTemplateSectionBody": { + "message": "在此插入代码...", + "description": "The code placeholder comment in a new style created by clicking 'Write style' in the popup" + }, "searchResultNoneFound": { "message": "没有找到与此页面相关的样式.", "description": "Error text in the popup when inline search didn't find any site-specific styles" @@ -714,6 +722,10 @@ "message": "更新已完成。", "description": "Text that displays when an update completed" }, + "previewLabel": { + "message": "实时预览", + "description": "Label for the checkbox in style editor to enable live preview while editing." + }, "paginationTotal": { "message": "总页面", "description": "" diff --git a/background/background.js b/background/background.js index 04e08665..cb25bbfe 100644 --- a/background/background.js +++ b/background/background.js @@ -4,6 +4,7 @@ global handleCssTransitionBug detectSloppyRegexps global openEditor global styleViaAPI global loadScript +global usercss */ 'use strict'; @@ -17,7 +18,10 @@ window.API_METHODS = Object.assign(window.API_METHODS || {}, { delete msg.method; return download(msg.url, msg); }, - getPrefs: () => prefs.getAll(), + parseCss({code}) { + return usercss.invokeWorker({action: 'parse', code}); + }, + getPrefs: prefs.getAll, healthCheck: () => dbExec().then(() => true), detectSloppyRegexps, diff --git a/background/update.js b/background/update.js index 1a005152..3f35283d 100644 --- a/background/update.js +++ b/background/update.js @@ -105,8 +105,10 @@ global API_METHODS } function reportFailure(error) { - // retry once if the error is 503 Service Unavailable - if (error === 503 && !retrying.has(id)) { + if (( + error === 503 || // Service Unavailable + error === 429 // Too Many Requests + ) && !retrying.has(id)) { retrying.add(id); return new Promise(resolve => { setTimeout(() => { diff --git a/background/usercss-helper.js b/background/usercss-helper.js index c6835805..f6eb02a6 100644 --- a/background/usercss-helper.js +++ b/background/usercss-helper.js @@ -3,7 +3,7 @@ (() => { - API_METHODS.saveUsercss = save; + API_METHODS.saveUsercss = style => save(style, false); API_METHODS.saveUsercssUnsafe = style => save(style, true); API_METHODS.buildUsercss = build; API_METHODS.installUsercss = install; diff --git a/content/install-hook-userstyles.js b/content/install-hook-userstyles.js index 28f84688..d26a88af 100644 --- a/content/install-hook-userstyles.js +++ b/content/install-hook-userstyles.js @@ -10,8 +10,7 @@ chrome.runtime.onMessage.addListener(onMessage); - document.addEventListener('DOMContentLoaded', function _() { - document.removeEventListener('DOMContentLoaded', _); + onDOMready().then(() => { window.postMessage({ direction: 'from-content-script', message: 'StylishInstalled', @@ -42,7 +41,6 @@ sendEvent(sendEvent.lastEvent); }); }); - return; } } @@ -243,6 +241,21 @@ function getStyleJson() { return getResource(getStyleURL(), {responseType: 'json'}) + .then(style => { + if (!style || !Array.isArray(style.sections) || style.sections.length) { + return style; + } + const codeElement = document.getElementById('stylish-code'); + if (codeElement && !codeElement.textContent.trim()) { + return style; + } + return getResource(getMeta('stylish-update-url')).then(code => new Promise(resolve => { + chrome.runtime.sendMessage({method: 'parseCss', code}, ({sections}) => { + style.sections = sections; + resolve(style); + }); + })); + }) .catch(() => null); } @@ -324,21 +337,65 @@ // In Chrome content script is orphaned on an extension update/reload // so we need to detach event listeners window.removeEventListener(chrome.runtime.id + '-install', orphanCheck, true); - ['Update', 'Install'].forEach(type => - ['', 'Chrome', 'Opera'].forEach(browser => - document.addEventListener('stylish' + type + browser, onClick))); + document.removeEventListener('stylishInstallChrome', onClick); + document.removeEventListener('stylishUpdateChrome', onClick); try { chrome.runtime.onMessage.removeListener(onMessage); } catch (e) {} } })(); -// TODO: remove the following statement when USO is fixed -document.documentElement.appendChild(document.createElement('script')).text = '(' + - function () { +// run in page context +document.documentElement.appendChild(document.createElement('script')).text = '(' + ( + EXTENSION_ORIGIN => { + document.currentScript.remove(); + + // spoof Stylish extension presence in Chrome + if (window.chrome && chrome.app) { + const realImage = window.Image; + window.Image = function Image(...args) { + return new Proxy(new realImage(...args), { + get(obj, key) { + return obj[key]; + }, + set(obj, key, value) { + if (key === 'src' && /^chrome-extension:/i.test(value)) { + setTimeout(() => typeof obj.onload === 'function' && obj.onload()); + } else { + obj[key] = value; + } + return true; + }, + }); + }; + } + + // spoof USO referrer for style search in the popup + if (window !== top && location.pathname === '/') { + window.addEventListener('message', ({data, origin}) => { + if (!data || + !data.xhr || + origin !== EXTENSION_ORIGIN) { + return; + } + const xhr = new XMLHttpRequest(); + xhr.onloadend = xhr.onerror = () => { + top.postMessage({ + id: data.xhr.id, + status: xhr.status, + // [being overcautious] a string response is used instead of relying on responseType=json + // because it was invoked in a web page context so another extension may have incorrectly spoofed it + response: xhr.response, + }, EXTENSION_ORIGIN); + }; + xhr.open('GET', data.xhr.url); + xhr.send(); + }); + } + + // USO bug workaround: use the actual style settings in API response let settings; const originalResponseJson = Response.prototype.json; - document.currentScript.remove(); document.addEventListener('stylusFixBuggyUSOsettings', function _({detail}) { document.removeEventListener('stylusFixBuggyUSOsettings', _); // TODO: remove .replace(/^\?/, '') when minimum_chrome_version >= 52 (https://crbug.com/601425) @@ -408,7 +465,8 @@ document.documentElement.appendChild(document.createElement('script')).text = '( return json; }); }; - } + ')()'; + } +) + `)('${chrome.runtime.getURL('').slice(0, -1)}')`; // TODO: remove the following statement when USO pagination is fixed if (location.search.includes('category=')) { diff --git a/edit.html b/edit.html index 1c940d97..e281fb2e 100644 --- a/edit.html +++ b/edit.html @@ -100,15 +100,23 @@ - - - +
+ + + + + + + +
@@ -124,10 +132,12 @@
    - - - - +
    + + + + +
    @@ -276,109 +286,117 @@ - - +
    + + +

    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    - - - - -
    -
    - -
    -
    - - -
    -
    - -
    - - -
    - - - -
    -
    - -
    - - -
    -
    -
    - -
    - - -
    -
    -
    - -
    - - +
    +
    +
    +
    - - - +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + + + + +
    +
    + +
    +
    +
    +
    + + +
    +
    + +
    + + +
    + + + +
    +
    + +
    + + +
    +
    +
    + +
    + + +
    +
    +
    + +
    + + +
    + + + +
    +