This commit is contained in:
derv82 2017-12-09 00:26:56 -08:00
commit 4ee8e06a64
19 changed files with 759 additions and 104 deletions

View File

@ -19,6 +19,10 @@
"message": "Exportovat styly",
"description": ""
},
"manageOnlyUsercss": {
"message": "Pouze Usercss styly",
"description": "Checkbox to show only Usercss styles"
},
"optionsUpdateInterval": {
"message": "Automaticky vyhledávat a instalovat aktualizace stylů (interval je v hodinách)",
"description": ""
@ -31,10 +35,22 @@
"message": "Exportovat",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"installButton": {
"message": "Instalovat styl",
"description": "Label for install button"
},
"styleMetaErrorCheckbox": {
"message": "Neplatný @var checkbox: hodnota musí být 0 nebo 1",
"description": "Error displayed when the value of @var checkbox is invalid"
},
"linterJSONError": {
"message": "Neplatný JSON formát",
"description": "Setting linter config with invalid JSON"
},
"popupHotkeysTooltip": {
"message": "Kliknutím zobrazíte dostupné klávesové zkratky",
"description": "Tooltip displayed when hovering the right edge of the extension popup"
},
"optionsBadgeNormal": {
"message": "Barva pozadí",
"description": ""
@ -75,6 +91,10 @@
"message": "Styl nebyl použit kvůli nesprávnému použití „regexp()“",
"description": "Tooltip in the popup for styles that were not applied at all"
},
"colorpickerSwitchFormatTooltip": {
"message": "Přepínání formátů: HEX → RGB → HSL\nShift + klik pro obrácené pořadí.\nLze použít i klávesy PgUp (PageUp), PgDn (PageDown).",
"description": "Tooltip for the switch button in the color picker popup in the style editor."
},
"styleRegexpInvalidExplanation": {
"message": "Některá „regexp()“ pravidla nelze vůbec sestavit.",
"description": ""
@ -83,6 +103,10 @@
"message": "Tmavé vzhledy",
"description": ""
},
"styleFromMozillaFormatError": {
"message": "Import z Mozilla formátu se nezdařil",
"description": "Label for the import error"
},
"importAppendLabel": {
"message": "Připojit ke stylu",
"description": "Label for the button to import a style and append to the existing sections"
@ -107,6 +131,10 @@
"message": "Pro import upusťte soubor zálohy kdekoliv na této stránce.",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "Poznámka: Používejte jen jedno zpětné lomítko „\\“ ve vstupním regexp poli v editoru bude automaticky převedeno na „\\\\“, v souladu s normou citovaných řetězců v CSS.",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "Nápověda",
"description": "Alternate text for help buttons"
@ -119,6 +147,10 @@
"message": "Zešednutí",
"description": "Label for the checkbox that toggles grayed out mode of applies-to favicons in the new UI on manage page"
},
"versionInvalidOlder": {
"message": "Tato verze je starší než verze nainstalovaného stylu.",
"description": "Displayed when the version of style is older than the installed one"
},
"confirmYes": {
"message": "Ano",
"description": "'Yes' button in a confirm dialog"
@ -171,10 +203,18 @@
"message": "Smazat",
"description": ""
},
"confirmDefault": {
"message": "Použít výchozí",
"description": "'Set to default' button in a confirm dialog"
},
"confirmCancel": {
"message": "Storno",
"description": ""
},
"cm_autoCloseBracketsTooltip": {
"message": "Automaticky přidat uzavírací párový znak po napsání otevíracího znaku ()[]{}''\"\"",
"description": "Label for the checkbox in the style editor."
},
"retrieveBckp": {
"message": "Importovat styly",
"description": ""
@ -232,6 +272,15 @@
"message": "Pouze lokální styly",
"description": "Checkbox to show only locally created styles i.e. non-updatable"
},
"styleMetaErrorPreprocessor": {
"message": "Nepodporovaný @preprocessor: $preprocessor$",
"description": "Error displayed when the value of @preprocessor is not supported",
"placeholders": {
"preprocessor": {
"content": "$1"
}
}
},
"linterIssuesHelp": {
"message": "Problémy nalezené aplikací $link$:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
@ -241,6 +290,10 @@
}
}
},
"parseUsercssError": {
"message": "Usercss nelze zpracovat:",
"description": "The error message to show when stylus failed to parse usercss"
},
"searchStyles": {
"message": "Prohledat obsah",
"description": "Label for the search filter textbox on the Manage styles page"
@ -253,6 +306,10 @@
"message": "Vynutit aktualizaci (neprovedeny žádné změny stylů)",
"description": "Label for the button to apply all detected updates"
},
"manageOnlyNonUsercss": {
"message": "Pouze non-Usercss styly",
"description": "Checkbox to show only non-Usercss (standard) styles"
},
"unreachableFileHint": {
"message": "Stylus může přistupovat k file:// URL pouze při povolení odpovídající možnosti pro rozšíření Stylus ve správci chrome://extensions.",
"description": "Note in the toolbar popup for file:// URLs"
@ -325,6 +382,10 @@
"message": "Tento regulérní výraz je neplatný.",
"description": "Validation message for a bad regexp in a style"
},
"license": {
"message": "Licence",
"description": "Label for the license"
},
"optionsHeading": {
"message": "Možnosti",
"description": "Heading for options section on manage page."
@ -367,6 +428,10 @@
"message": "neplatné přeskočeny",
"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": "Napsat nový styl jako usercss",
"description": ""
},
"genericResetLabel": {
"message": "Resetovat",
"description": "Used in various parts of UI to indicate that something may be reset to its original state"
@ -396,6 +461,10 @@
"message": "Použijte /re/ syntaxi pro vyhledávání s regulérními výrazy",
"description": "Label after the search input field in the editor shown on Ctrl-F"
},
"popupBordersTooltip": {
"message": "Užitečné pro tmavé motivy v novém Chromu, který již nevykresluje obrysové čáry",
"description": ""
},
"updateCheckManualUpdateHint": {
"message": "Vynucení aktualizace přepíše všechny lokální úpravy.",
"description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications"
@ -408,6 +477,10 @@
"message": "Zahodit obsah současného stylu a přepsat ho importovaným stylem",
"description": "Label for the button to import and overwrite current style"
},
"installUpdateFromLabel": {
"message": "Vyhledat aktualizace",
"description": "Label for the checkbox to save current URL for update check"
},
"cm_resizeGripHint": {
"message": "Dvojklikem maximalizujete/obnovíte výšku",
"description": "Tooltip for the resize grip in style editor"
@ -440,6 +513,14 @@
"message": "Styl v Mozilla formátu",
"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": "Paleta pro CSS barvy",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Použitému filtru nevyhovují žádné styly",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Napsat nový styl pro:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -464,6 +545,10 @@
"message": "Možnosti",
"description": "Go to Options UI"
},
"usercssConfigIncomplete": {
"message": "Styl byl aktualizován nebo smazán po zobrazení dialogu konfigurace. Tyto proměnné nebyly uloženy aby se předešlo poškození metadat stylu.",
"description": ""
},
"openManage": {
"message": "Spravovat",
"description": "Link to open the manage page."
@ -485,6 +570,10 @@
"message": "Nainstalovat aktualizaci",
"description": "Label for the button to install an update for a single style"
},
"syncStorageErrorSaving": {
"message": "Hodnotu nelze uložit. Zkuste text zkrátit.",
"description": "Displayed when trying to save an excessively big value via storage.sync API"
},
"optionsCheckUpdate": {
"message": "Vyhledávat a instalovat všechny aktualizace",
"description": ""
@ -533,14 +622,14 @@
"message": "Odstranit sekci",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Pro zobrazení stylů pro konkrétní URL adresu použijte předponu „url:“\nPříklad: url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Vypnout všechny styly",
"description": "Label for the checkbox that turns all enabled styles off."
},
"appliesLineWidgetLabel": {
"message": "Zobrazit část „platí pro“",
"description": "Label for the checkbox to display applies-to information in the single editor"
},
"updateCheckSkippedMaybeLocallyEdited": {
"message": "Tento styl mohl být upraven lokálně.",
"description": "Text that displays when an update check skipped updating the style to avoid losing possible local modifications"
@ -581,6 +670,21 @@
"message": "Stylus používá externí službu https://www.google.com/s2/favicons",
"description": "Label for the checkbox that toggles applies-to favicons in the new UI on manage page"
},
"styleInstallOverwrite": {
"message": "Styl „$stylename$“ je již nainstalován. Přepsat?\nVerze: $oldVersion$ → $newVersion$",
"description": "Confirmation when re-installing a style",
"placeholders": {
"stylename": {
"content": "$1"
},
"newVersion": {
"content": "$3"
},
"oldVersion": {
"content": "$2"
}
}
},
"updateCheckSkippedLocallyEdited": {
"message": "Tento styl byl upraven lokálně.",
"description": "Text that displays when an update check skipped updating the style to avoid losing local modifications"
@ -589,6 +693,10 @@
"message": "Zobrazit celý seznam pravidel",
"description": "Stylelint or CSSLint rules label added immediately before a link"
},
"styleUpdateDiscardChanges": {
"message": "Styl byl změněn mimo editor. Chcete styl znovu načíst?",
"description": "Confirmation to update the style in the editor"
},
"optionsResetButton": {
"message": "Obnovit nastavení",
"description": ""
@ -597,6 +705,10 @@
"message": "Kód",
"description": "Label for the code for a section"
},
"externalUsercssDocument": {
"message": "Dokumentace pro Usercss",
"description": "Label for the external link to usercss documentation"
},
"optionsAdvancedContextDelete": {
"message": "Přidat tlačítko Smazat do kontextové nabídky v editoru",
"description": ""
@ -610,6 +722,10 @@
}
}
},
"configureStyle": {
"message": "Konfigurovat",
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "meta informace a kód aktualizován",
"description": "Text after the number of styles updated entirely in the report shown after importing styles"
@ -638,6 +754,32 @@
"message": "Automatické dokončování během psaní",
"description": "Label for the checkbox in the style editor."
},
"linterCSSLintIncompatible": {
"message": "CSSLint nepodporuje předprocesor $preprocessorname$",
"description": "The label to display when the preprocessor isn't compatible with CSSLint",
"placeholders": {
"preprocessorname": {
"content": "$1"
}
}
},
"styleMetaErrorSelectValueMismatch": {
"message": "Neplatný @select: hodnota v seznamu neexistuje",
"description": "Error displayed when the value of @select is invalid"
},
"styleMetaErrorColor": {
"message": "$color$je neplatná barva",
"description": "Error displayed when the value of @var color is invalid",
"placeholders": {
"color": {
"content": "$1"
}
}
},
"externalFeedback": {
"message": "Zpětná vazba",
"description": "Label for the external link to send feedback for the style"
},
"manageOnlyDisabled": {
"message": "Pouze vypnuté styly",
"description": "Checkbox to show only disabled styles"
@ -662,6 +804,10 @@
"message": "Stylus nepracuje se stránkami jako je tato.",
"description": "Note in the toolbar pop-up when on a URL Stylus can't affect"
},
"popupBorders": {
"message": "Přidat postranní bílé okraje",
"description": ""
},
"manageOnlyUpdates": {
"message": "Pouze s aktualizacemi nebo chybami",
"description": "Checkbox to show only styles that have updates after check-all-styles-for-updates was performed"
@ -670,6 +816,14 @@
"message": "Přidat styl",
"description": "Title of the page for adding styles"
},
"externalLink": {
"message": "Externí odkaz",
"description": "Label for external links"
},
"externalHomepage": {
"message": "Domovská stránka",
"description": "Label for the external link to style's homepage"
},
"importReplaceLabel": {
"message": "Přepsat styl",
"description": "Label for the button to import and overwrite current style"
@ -686,6 +840,10 @@
"message": "Pokročilé",
"description": ""
},
"alphaChannel": {
"message": "Neprůhlednost",
"description": "Label of color's opacity"
},
"importAppendTooltip": {
"message": "Připojit importovaný styl k současnému stylu",
"description": "Tooltip for the button to import a style and append to the existing sections"
@ -718,6 +876,10 @@
"message": "Žádné změny.",
"description": "Message in the report shown after importing styles"
},
"confirmDiscardChanges": {
"message": "Zahodit změny?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"optionsActions": {
"message": "Akce",
"description": ""
@ -738,18 +900,43 @@
"message": "Možnosti rozhraní",
"description": "Go to Options UI"
},
"colorpickerTooltip": {
"message": "Otevřít paletu barev",
"description": "Tooltip for the colored squares shown before CSS colors in the style editor."
},
"optionsCustomizeBadge": {
"message": "Ikona tlačítka na panelu",
"description": ""
},
"installUpdateFrom": {
"message": "Styl je aktuálně aktualizován z $url$",
"description": "Label to describe where the style gets update",
"placeholders": {
"url": {
"content": "$1"
}
}
},
"importReportLegendIdentical": {
"message": "identické přeskočeny",
"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": "jako Usercss",
"description": "VERY SHORT label for the checkbox next to the 'Write new style' button in the style manager"
},
"optionsPopupWidth": {
"message": "Šířka vyskakovacího okna [px]",
"description": ""
},
"cm_autoCloseBrackets": {
"message": "Automaticky uzavírat závorky a uvozovky",
"description": "Label for the checkbox in the style editor."
},
"installButtonReinstall": {
"message": "Reinstalovat styl",
"description": "Label for reinstall button"
},
"linterInvalidConfigError": {
"message": "Neuloženo z důvodu těchto neplatných nastavení:",
"description": "Invalid linter config will show a message followed by a list of invalid entries"
@ -758,14 +945,39 @@
"message": "Ne",
"description": "'No' button in a confirm dialog"
},
"styleMissingMeta": {
"message": "Chybějící metadata @$key$",
"description": "Error displayed when a mandatory metadata is missing",
"placeholders": {
"key": {
"content": "$1"
}
}
},
"appliesLineWidgetWarning": {
"message": "Nefunguje s minimalizovaným CSS",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"undo": {
"message": "Zpět",
"description": "Button label"
},
"usercssReplaceTemplateConfirmation": {
"message": "Nahradit výchozí šablonu pro nové Usercss styly aktuálním kódem?",
"description": ""
},
"cm_keyMap": {
"message": "Přiřazení kláves",
"description": "Label for the drop-down list controlling the keymap for the style editor."
},
"externalSupport": {
"message": "Podpora",
"description": "Label for the external link to style's support site"
},
"confirmSave": {
"message": "Uložit",
"description": "'Save' button in a confirm dialog"
},
"manageNewUI": {
"message": "Nové rozložení správy rozhraní",
"description": "Label for the checkbox that toggles the new UI on manage page"
@ -794,10 +1006,23 @@
"message": "Instalovat aktualizaci (lokální změny budou přepsány)",
"description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications"
},
"styleInstallFailed": {
"message": "Styl nelze nainstalovat.\n$error$",
"description": "Warning when installation failed",
"placeholders": {
"error": {
"content": "$1"
}
}
},
"optionsAdvancedExposeIframes": {
"message": "Obnažit iframe prvky pomocí HTML[stylus-iframe]",
"description": ""
},
"usercssEditorNamePlaceholder": {
"message": "Definujte @name v kódu",
"description": "Placeholder text for the empty name input field when creating a new Usercss style"
},
"addStyleLabel": {
"message": "Napsat nový styl",
"description": "Label for the button to go to the add style page"
@ -806,6 +1031,10 @@
"message": "Pro vypnutí automatického vyhledávání aktualizací stylů nastavte interval na nulu.",
"description": ""
},
"installButtonUpdate": {
"message": "Aktualizovat styl",
"description": "Label for update button"
},
"backupButtons": {
"message": "Zálohovat",
"description": "Heading for backup"
@ -818,6 +1047,14 @@
"message": "Upravit",
"description": "Label for the button to go to the edit style page"
},
"installButtonInstalled": {
"message": "Styl instalován",
"description": "Text displayed when the style is successfully installed"
},
"author": {
"message": "Autor",
"description": "Label for the style author"
},
"cm_theme": {
"message": "Schéma",
"description": "Label for the style editor's CSS theme."
@ -826,6 +1063,10 @@
"message": "Otevírat editor v novém okně",
"description": "Label for the checkbox controlling 'edit' action behavior in the popup."
},
"appliesRemoveError": {
"message": "Poslední záznam „platí pro“ nelze odebrat.",
"description": "Error displayed when the last 'applies' is going to be removed"
},
"backupMessage": {
"message": "Vyberte soubor nebo ho přetáhněte na tuto stránku.",
"description": "Message for backup"
@ -845,5 +1086,13 @@
"description": {
"message": "Změňte vzhled webů pomocí správce uživatelských stylů. Stylus umožňuje snadnou instalaci vzhledů a modifikací pro spoustu webů.",
"description": "Extension description"
},
"confirmClose": {
"message": "Zavřít",
"description": "'Close' button in a confirm dialog"
},
"usercssReplaceTemplateName": {
"message": "Prázdné @name nahrazuje výchozí šablonu",
"description": "The text shown after @name when creating a new Usercss style"
}
}

View File

@ -20,7 +20,7 @@
"description": ""
},
"manageOnlyUsercss": {
"message": "Nur Usercss styles",
"message": "Nur Usercss Styles",
"description": "Checkbox to show only Usercss styles"
},
"optionsUpdateInterval": {
@ -131,6 +131,10 @@
"message": "Ziehe die Backup Datei zum importieren an irgendeinen Ort auf dieser Seite.",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "Beachte: Nutze einzelne \\ (Backslashes) zum Escapen im RegExp Feld. Diese werden automatisch im Stylecode zu doppelten \\\\ konvertiert, um der CSS Spezifikation zu entsprechen.",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "Hilfe",
"description": "Alternate text for help buttons"
@ -167,6 +171,10 @@
"message": "Aktiviert",
"description": "Label for the enabled state of styles"
},
"configOnChange": {
"message": "bei Änderung",
"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": "Klicken, um diesen Linter zu konfigurieren",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
@ -299,7 +307,7 @@
"description": "Label for the button to apply all detected updates"
},
"manageOnlyNonUsercss": {
"message": "Keine Usercss styles",
"message": "Keine Usercss Styles",
"description": "Checkbox to show only non-Usercss (standard) styles"
},
"liveReloadLabel": {
@ -509,6 +517,10 @@
"message": "Farbwähler für CSS-Farben",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Aktuell angewandte Filter treffen auf keinen Style zu",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Style erstellen für:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -606,10 +618,6 @@
"message": "Bereich entfernen",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Um Styles nur für eine URL zu zeigen, stelle ein \"url:\" voran.\nBeispiel: url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Alle Styles deaktivieren",
"description": "Label for the checkbox that turns all enabled styles off."
@ -708,7 +716,7 @@
},
"configureStyle": {
"message": "Konfigurieren",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "Aktualisierte Meta Infos und Codes",
@ -726,6 +734,10 @@
"message": "Lege mit den Einstellungen von \"Gilt für\" fest, für welche URLs der Code in diesem Bereich gelten soll.",
"description": "Help text for 'applies to' section"
},
"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 <url:> voran, z.B. <url:https://github.com/openstyles/stylus>\nReguläre Ausdrücke: Nutze Slash und Flags, z.B. </body.*?\\ba\\b/simguy>\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"
},
"editStyleHeading": {
"message": "Style bearbeiten",
"description": "Title of the page for editing styles"
@ -852,6 +864,10 @@
"message": "Änderungen verwerfen?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"configOnChangeTooltip": {
"message": "Änderungen automatisch speichern und übernehmen",
"description": ""
},
"optionsActions": {
"message": "Aktionen",
"description": ""
@ -930,6 +946,10 @@
"message": "Funktioniert nicht mit minified CSS",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"configureStyleOnHomepage": {
"message": "Auf Homepage konfigurieren",
"description": "Label for the button to configure userstyles.org userstyle"
},
"undo": {
"message": "Rückgängig",
"description": "Button label"

View File

@ -131,6 +131,10 @@
"message": "Suelte su fichero de copia de seguridad en cualquier lugar de esta página para importarlo.",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "Nota: Use una única \\ como caracter de escape en el campo de entrada de la expresión regular (regexp), que se convertirá automátiascamente a \\\\ en el código del estilo igual que por especificación para cadenas entrecomilladas en CSS.",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "Ayuda",
"description": "Alternate text for help buttons"
@ -525,6 +529,10 @@
"message": "Selectores de color para colores CSS",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Los filtros actualmente aplicados no coinciden con estilo alguno",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Escribir estilo para:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -626,10 +634,6 @@
"message": "Eliminar sección",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Para mostrar estilos para una URL, precédala con 'url:'\nPor ejemplo, url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Desactivar todos los estilos",
"description": "Label for the checkbox that turns all enabled styles off."
@ -732,7 +736,7 @@
},
"configureStyle": {
"message": "Configurar",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "actualizarón tanto meta información como código",
@ -750,6 +754,10 @@
"message": "Utilice los controles 'Se aplica a' para limitar a qué URLs se aplica el código de esta sección.",
"description": "Help text for 'applies to' section"
},
"searchStylesHelp": {
"message": "La tecla </> pone el foco en el campo de búsqueda.\nTexto simple: Busque por nombre, código, URL de la página principal, y sitios a los que se apllica. Las palabras con menos de 3 letras son ignoradas.\nURL coincidente: Prefije la búsqueda con <url:>, ej. <url:https://github.com/openstyles/stylus>\nExpresiones regulares: Incluya barras e indicadores, ej.. </body.*?\\ba\\b/simguy>\nPalabras exactas: Ponga la consulta entre comillas dobles, ej.. <\".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"
},
"editStyleHeading": {
"message": "Editar estilo",
"description": "Title of the page for editing styles"

View File

@ -36,7 +36,7 @@
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"installButton": {
"message": "Installi",
"message": "Installi stiil",
"description": "Label for install button"
},
"styleMetaErrorCheckbox": {
@ -47,6 +47,10 @@
"message": "Vigane JSON-formaat",
"description": "Setting linter config with invalid JSON"
},
"popupHotkeysTooltip": {
"message": "Kiirklahvide nägemiseks klõpsa",
"description": "Tooltip displayed when hovering the right edge of the extension popup"
},
"optionsBadgeNormal": {
"message": "Taustavärv",
"description": ""
@ -513,6 +517,10 @@
"message": "CSS-värvide värvivalijad",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Hetkel rakendatud filtritele ei vasta ükski stiil",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Kirjuta stiil:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -614,10 +622,6 @@
"message": "Eemalda jaotis",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Et näidata stiile teatud URL-i jaoks, lisa selle ette 'url:'\nNäiteks url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Lülita kõik stiilid välja",
"description": "Label for the checkbox that turns all enabled styles off."
@ -720,7 +724,7 @@
},
"configureStyle": {
"message": "Seadista",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "said uuenduse nii metaandmetele kui koodile",
@ -751,7 +755,7 @@
"description": "Label for the checkbox in the style editor."
},
"linterCSSLintIncompatible": {
"message": "CSSLint ei toeta eelprotsessorit $preprocessorname$",
"message": "CSSLint ei toeta eeltöötlejat $preprocessorname$",
"description": "The label to display when the preprocessor isn't compatible with CSSLint",
"placeholders": {
"preprocessorname": {
@ -926,7 +930,7 @@
"description": "Label for the checkbox in the style editor."
},
"installButtonReinstall": {
"message": "Installi uuesti",
"message": "Installi stiil uuesti",
"description": "Label for reinstall button"
},
"linterInvalidConfigError": {
@ -938,7 +942,7 @@
"description": "'No' button in a confirm dialog"
},
"styleMissingMeta": {
"message": "$key$metaandmed puuduvad",
"message": "@$key$ metaandmed puuduvad",
"description": "Error displayed when a mandatory metadata is missing",
"placeholders": {
"key": {
@ -1028,7 +1032,7 @@
"description": ""
},
"installButtonUpdate": {
"message": "Uuenda",
"message": "Uuenda stiil",
"description": "Label for update button"
},
"backupButtons": {
@ -1044,7 +1048,7 @@
"description": "Label for the button to go to the edit style page"
},
"installButtonInstalled": {
"message": "Installitud",
"message": "Stiil installitud",
"description": "Text displayed when the style is successfully installed"
},
"author": {

View File

@ -19,6 +19,10 @@
"message": "Stílusok exportálása",
"description": ""
},
"manageOnlyUsercss": {
"message": "Csak Usercss stílusok",
"description": "Checkbox to show only Usercss styles"
},
"optionsUpdateInterval": {
"message": "Az összes stílus elérhető frissítéseinek automatikus ellenőrzése és telepítése (órában)",
"description": ""
@ -31,6 +35,10 @@
"message": "Exportálás",
"description": "Label for the button to export a style ('edit' page) or all styles ('manage' page)"
},
"installButton": {
"message": "Stílus telepítése",
"description": "Label for install button"
},
"styleMetaErrorCheckbox": {
"message": "Érvénytelen @var jelölődoboz: az értéknek 0-nak vagy 1-nek kell lennie",
"description": "Error displayed when the value of @var checkbox is invalid"
@ -39,6 +47,10 @@
"message": "Érvénytelen JSON formátum",
"description": "Setting linter config with invalid JSON"
},
"popupHotkeysTooltip": {
"message": "Kattints az elérhető gyorsbillentyűk megtekintéséhez",
"description": "Tooltip displayed when hovering the right edge of the extension popup"
},
"optionsBadgeNormal": {
"message": "Háttérszín",
"description": ""
@ -79,6 +91,10 @@
"message": "A stílus nem lett alkalmazva a „regexp()” helytelen használata miatt",
"description": "Tooltip in the popup for styles that were not applied at all"
},
"colorpickerSwitchFormatTooltip": {
"message": "Formátumváltás: HEX -> RGB -> HSL.\nShift-kattintás megfordítja az irányt.\nA PgUp (PageUp) és PgDn (PageDown) billentyűkkel is lehet váltani.",
"description": "Tooltip for the switch button in the color picker popup in the style editor."
},
"styleRegexpInvalidExplanation": {
"message": "Egyes „regexp()” szabályokat nem lehetett lefordítani.",
"description": ""
@ -87,6 +103,10 @@
"message": "Sötét böngészőtémák",
"description": ""
},
"styleFromMozillaFormatError": {
"message": "Nem sikerült importálni Mozilla formátumból",
"description": "Label for the import error"
},
"importAppendLabel": {
"message": "Hozzáadás stílushoz",
"description": "Label for the button to import a style and append to the existing sections"
@ -179,10 +199,18 @@
"message": "Törlés",
"description": ""
},
"confirmDefault": {
"message": "Alapértelmezés használata",
"description": "'Set to default' button in a confirm dialog"
},
"confirmCancel": {
"message": "Mégsem",
"description": ""
},
"cm_autoCloseBracketsTooltip": {
"message": "Automatikusan legyen hozzáadva záró jelpár a következők gépelésekor: ()[]{}''\"\"",
"description": "Label for the checkbox in the style editor."
},
"retrieveBckp": {
"message": "Stílusok importálása",
"description": ""
@ -240,6 +268,15 @@
"message": "Csak helyileg létrehozott stílusok",
"description": "Checkbox to show only locally created styles i.e. non-updatable"
},
"styleMetaErrorPreprocessor": {
"message": "Nem támogatott @preprocessor: $preprocessor$",
"description": "Error displayed when the value of @preprocessor is not supported",
"placeholders": {
"preprocessor": {
"content": "$1"
}
}
},
"linterIssuesHelp": {
"message": "$link$a következő hibákat találta:",
"description": "Help popup message for the selected CSS linter issues block on the style edit page",
@ -249,6 +286,10 @@
}
}
},
"parseUsercssError": {
"message": "A Stylus nem tudta elemezni a usercss-t",
"description": "The error message to show when stylus failed to parse usercss"
},
"searchStyles": {
"message": "Tartalom keresése",
"description": "Label for the search filter textbox on the Manage styles page"
@ -261,6 +302,14 @@
"message": "Ellenőrizd újra, nem módosítottam egy stílust sem!",
"description": "Label for the button to apply all detected updates"
},
"manageOnlyNonUsercss": {
"message": "Csak nem Usercss stílusok",
"description": "Checkbox to show only non-Usercss (standard) styles"
},
"liveReloadLabel": {
"message": "Valós idejű újratöltés",
"description": "The label of live-reload feature"
},
"unreachableFileHint": {
"message": "A Stylus csak akkor képes hozzáférni a file:// URL-ekhez, ha engedélyezed az erre vonatkozó beállítást a Stylus kiegészítőre a chrome://extensions oldalon.",
"description": "Note in the toolbar popup for file:// URLs"
@ -333,6 +382,10 @@
"message": "Érvénytelen regexp.",
"description": "Validation message for a bad regexp in a style"
},
"license": {
"message": "Licenc",
"description": "Label for the license"
},
"optionsHeading": {
"message": "Beállítások",
"description": "Heading for options section on manage page."
@ -375,6 +428,10 @@
"message": "kihagyott érvénytelen",
"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": "Új stílus írása usercss-ként",
"description": ""
},
"genericResetLabel": {
"message": "VIsszaállítás",
"description": "Used in various parts of UI to indicate that something may be reset to its original state"
@ -420,6 +477,10 @@
"message": "A jelenlegi stílus tartalmának elvetése és annak felülírása az importált stílussal",
"description": "Label for the button to import and overwrite current style"
},
"installUpdateFromLabel": {
"message": "Frissítések keresése",
"description": "Label for the checkbox to save current URL for update check"
},
"cm_resizeGripHint": {
"message": "Kattints duplán a magasság maximalizálásához/visszaállításához",
"description": "Tooltip for the resize grip in style editor"
@ -452,6 +513,10 @@
"message": "Mozilla formátumú stílus",
"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": "Színválasztó CSS színekhez",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"writeStyleFor": {
"message": "Stílus írása a következőhöz:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -476,6 +541,10 @@
"message": "Beállítások",
"description": "Go to Options UI"
},
"usercssConfigIncomplete": {
"message": "A stílust frissítették vagy törölték, miután a beállítóablak megjelent. Ezek a változók nem kerültek mentésre, nehogy megsérüljön a stílus metaadata:",
"description": ""
},
"openManage": {
"message": "Kezelés",
"description": "Link to open the manage page."
@ -497,6 +566,10 @@
"message": "Frissítés telepítése",
"description": "Label for the button to install an update for a single style"
},
"syncStorageErrorSaving": {
"message": "Az értéket nem lehet menteni. Próbáld meg csökkenteni a szövegmennyiséget!",
"description": "Displayed when trying to save an excessively big value via storage.sync API"
},
"optionsCheckUpdate": {
"message": "Az összes frissítés ellenőrzése és telepítése",
"description": ""
@ -545,10 +618,6 @@
"message": "Szekció eltávolítása",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "A URL alapján történő szűréshez írd előre, hogy „url:”\nPéldául: url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Az összes stílus kikapcsolása",
"description": "Label for the checkbox that turns all enabled styles off."
@ -597,6 +666,21 @@
"message": "A Stylus egy külső szolgáltatást használ (https://www.google.com/s2/favicons)",
"description": "Label for the checkbox that toggles applies-to favicons in the new UI on manage page"
},
"styleInstallOverwrite": {
"message": "„$stylename$” már telepítve van. Felülírod?\nVerzió: $oldVersion$ -> $newVersion$",
"description": "Confirmation when re-installing a style",
"placeholders": {
"stylename": {
"content": "$1"
},
"newVersion": {
"content": "$3"
},
"oldVersion": {
"content": "$2"
}
}
},
"updateCheckSkippedLocallyEdited": {
"message": "Ez a stílus helyileg lett szerkesztve.",
"description": "Text that displays when an update check skipped updating the style to avoid losing local modifications"
@ -605,6 +689,10 @@
"message": "Lista az összes stílusról",
"description": "Stylelint or CSSLint rules label added immediately before a link"
},
"styleUpdateDiscardChanges": {
"message": "A stílus módosítva lett a szerkesztőn kívül. Szeretnéd újratölteni?",
"description": "Confirmation to update the style in the editor"
},
"optionsResetButton": {
"message": "Beállítások visszaállítása alapra",
"description": ""
@ -613,6 +701,10 @@
"message": "Kód",
"description": "Label for the code for a section"
},
"externalUsercssDocument": {
"message": "Usercss dokumentáció",
"description": "Label for the external link to usercss documentation"
},
"optionsAdvancedContextDelete": {
"message": "Delete hozzáadása a gyorsmenühöz",
"description": ""
@ -626,6 +718,10 @@
}
}
},
"configureStyle": {
"message": "Konfigurálás",
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "metainformáció és kód frissítve",
"description": "Text after the number of styles updated entirely in the report shown after importing styles"
@ -654,6 +750,19 @@
"message": "Automatikus kiegészítés gépeléskor",
"description": "Label for the checkbox in the style editor."
},
"linterCSSLintIncompatible": {
"message": "A CSSLint nem támogatja a(z) $preprocessorname$ nevű előfeldolgozót",
"description": "The label to display when the preprocessor isn't compatible with CSSLint",
"placeholders": {
"preprocessorname": {
"content": "$1"
}
}
},
"styleMetaErrorSelectValueMismatch": {
"message": "Érvénytelen @select: az érték nem létezik a listában",
"description": "Error displayed when the value of @select is invalid"
},
"styleMetaErrorColor": {
"message": "A(z) $color$ nem valódi szín",
"description": "Error displayed when the value of @var color is invalid",
@ -687,6 +796,10 @@
"message": "A Stylus nem működik az ilyen oldalakon.",
"description": "Note in the toolbar pop-up when on a URL Stylus can't affect"
},
"popupBorders": {
"message": "Fehér szegélyek használata két oldalt",
"description": ""
},
"manageOnlyUpdates": {
"message": "Csak frissíthetőek vagy problémásak",
"description": "Checkbox to show only styles that have updates after check-all-styles-for-updates was performed"
@ -695,6 +808,10 @@
"message": "Stílus hozzáadása",
"description": "Title of the page for adding styles"
},
"externalLink": {
"message": "Külső hivatkozás",
"description": "Label for external links"
},
"externalHomepage": {
"message": "Kezdőoldal",
"description": "Label for the external link to style's homepage"
@ -715,6 +832,10 @@
"message": "Haladó",
"description": ""
},
"alphaChannel": {
"message": "Átlátszatlanság",
"description": "Label of color's opacity"
},
"importAppendTooltip": {
"message": "Az importált stílus hozzáadása a jelenlegi stílushoz",
"description": "Tooltip for the button to import a style and append to the existing sections"
@ -747,6 +868,10 @@
"message": "Semmi sem változott.",
"description": "Message in the report shown after importing styles"
},
"confirmDiscardChanges": {
"message": "Elveted a változásokat?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"optionsActions": {
"message": "Műveletek",
"description": ""
@ -767,18 +892,43 @@
"message": "A beállítások felülete",
"description": "Go to Options UI"
},
"colorpickerTooltip": {
"message": "Színválasztó megnyitása",
"description": "Tooltip for the colored squares shown before CSS colors in the style editor."
},
"optionsCustomizeBadge": {
"message": "Jelvény az eszköztárikonon",
"description": ""
},
"installUpdateFrom": {
"message": "A stílus most a következő helyről frissül: $url$",
"description": "Label to describe where the style gets update",
"placeholders": {
"url": {
"content": "$1"
}
}
},
"importReportLegendIdentical": {
"message": "kihagyott egyezések",
"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": "Usercss-ként",
"description": "VERY SHORT label for the checkbox next to the 'Write new style' button in the style manager"
},
"optionsPopupWidth": {
"message": "Felugró ablak szélessége (pixelben)",
"description": ""
},
"cm_autoCloseBrackets": {
"message": "Zárójelek és idézőjelek automatikus bezárása",
"description": "Label for the checkbox in the style editor."
},
"installButtonReinstall": {
"message": "Stílus újratelepítése",
"description": "Label for reinstall button"
},
"linterInvalidConfigError": {
"message": "Nincs mentve ezek miatt az érvénytelen beállítások miatt:",
"description": "Invalid linter config will show a message followed by a list of invalid entries"
@ -787,10 +937,27 @@
"message": "Nem",
"description": "'No' button in a confirm dialog"
},
"styleMissingMeta": {
"message": "Hiányzó metaadat: @$key$",
"description": "Error displayed when a mandatory metadata is missing",
"placeholders": {
"key": {
"content": "$1"
}
}
},
"appliesLineWidgetWarning": {
"message": "Nem működik minimalizált CSS-szel",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"undo": {
"message": "VIsszavonás",
"description": "Button label"
},
"usercssReplaceTemplateConfirmation": {
"message": "Le legyen cserélve az alapértelmezett sablon az új Usercss stílusokhoz a jelenlegi kóddal?",
"description": ""
},
"cm_keyMap": {
"message": "Billentyűműveletek",
"description": "Label for the drop-down list controlling the keymap for the style editor."
@ -799,6 +966,10 @@
"message": "Támogatás",
"description": "Label for the external link to style's support site"
},
"confirmSave": {
"message": "Mentés",
"description": "'Save' button in a confirm dialog"
},
"manageNewUI": {
"message": "Az új kezelési felületkiosztás",
"description": "Label for the checkbox that toggles the new UI on manage page"
@ -819,6 +990,10 @@
"message": "Csere a következővel",
"description": "Label before the replace-with input field in the editor shown on Ctrl-H etc."
},
"liveReloadError": {
"message": "Hiba történt a fájl figyelése közben",
"description": "The label of live-reload error"
},
"deleteStyleLabel": {
"message": "Törlés",
"description": "Label for the button to delete a style"
@ -840,6 +1015,10 @@
"message": "iframe-ek kitevése HTML[stylus-iframe]-en keresztül",
"description": ""
},
"usercssEditorNamePlaceholder": {
"message": "Adj meg egy @name-et a kódban",
"description": "Placeholder text for the empty name input field when creating a new Usercss style"
},
"addStyleLabel": {
"message": "Új stílus írása",
"description": "Label for the button to go to the add style page"
@ -848,6 +1027,10 @@
"message": "Az automatikus stílusfrissítések ellenőrzésének letiltásához állítsd 0-ra",
"description": ""
},
"installButtonUpdate": {
"message": "Stílus frissítése",
"description": "Label for update button"
},
"backupButtons": {
"message": "Biztonsági mentés",
"description": "Heading for backup"
@ -864,6 +1047,10 @@
"message": "Stílus telepítve",
"description": "Text displayed when the style is successfully installed"
},
"author": {
"message": "Szerző",
"description": "Label for the style author"
},
"cm_theme": {
"message": "Téma",
"description": "Label for the style editor's CSS theme."
@ -872,6 +1059,10 @@
"message": "Szerkesztő megnyitása új ablakban",
"description": "Label for the checkbox controlling 'edit' action behavior in the popup."
},
"appliesRemoveError": {
"message": "Nem lehet eltávolítani az utolsó alkalmazási szabályt",
"description": "Error displayed when the last 'applies' is going to be removed"
},
"backupMessage": {
"message": "Válassz ki egy fájlt vagy húzd erre az oldalra!",
"description": "Message for backup"
@ -889,7 +1080,15 @@
"description": "Reset button tooltip to inform user on how to undo an accidental reset"
},
"description": {
"message": "Tervezd újra a webet a Stylus-szal, ami egy stíluskezelő. A Stylus lehetővé teszi a témák és egyéni külsők egyszerű telepítését sok népszerű oldalhoz.",
"message": "Tervezd újra a webet a Stylus stíluskezelővel. A Stylus lehetővé teszi a témák és egyéni külsők egyszerű telepítését sok népszerű oldalhoz.",
"description": "Extension description"
},
"confirmClose": {
"message": "Bezárás",
"description": "'Close' button in a confirm dialog"
},
"usercssReplaceTemplateName": {
"message": "Az üres @name lecseréli az alapértelmezett sablont",
"description": "The text shown after @name when creating a new Usercss style"
}
}

View File

@ -420,10 +420,6 @@
"message": "Rimuovi sezione",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Per mostrare gli stili per un URL, inserisci il prefisso 'url:'\nAd esempio, url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Disattiva tutti gli stili",
"description": "Label for the checkbox that turns all enabled styles off."
@ -489,7 +485,7 @@
},
"configureStyle": {
"message": "Configura",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"cm_smartIndent": {
"message": "Usa indentazione intelligente",

View File

@ -48,7 +48,7 @@
"description": "Setting linter config with invalid JSON"
},
"popupHotkeysTooltip": {
"message": "クリックすると有効なホットキーを表示します",
"message": "クリックすると使用可能なホットキーを表示します",
"description": "Tooltip displayed when hovering the right edge of the extension popup"
},
"optionsBadgeNormal": {
@ -92,7 +92,7 @@
"description": "Tooltip in the popup for styles that were not applied at all"
},
"colorpickerSwitchFormatTooltip": {
"message": "フォーマット切り替え: HEX -> RGB -> HSL\nシフト - クリック で逆向きに切り替えます。\nまた、PgUp (PageUp), PgDn (PageDown) キーも使用できます。",
"message": "フォーマット切り替え: HEX -> RGB -> HSL\nシフトを押しながらクリックすると逆向きに切り替えます。\nまた、PgUp (PageUp), PgDn (PageDown) キーも使用できます。",
"description": "Tooltip for the switch button in the color picker popup in the style editor."
},
"styleRegexpInvalidExplanation": {
@ -131,6 +131,10 @@
"message": "このページの任意の場所にバックアップファイルをドロップしてインポートします。",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "注: 正規表現の入力欄でエスケープする場合には、「\\」1個を使用してください。それは、CSSでの引用符で囲まれた文字列の仕様に従い、スタイルコード内で自動的に「\\\\」に変換されます。",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "ヘルプ",
"description": "Alternate text for help buttons"
@ -152,7 +156,7 @@
"description": "'Yes' button in a confirm dialog"
},
"findStylesForSite": {
"message": "このサイト用の他のスタイルを検索",
"message": "このサイト用のスタイルを検索",
"description": "Text for a link that gets a list of styles for the current site"
},
"manageHeading": {
@ -171,8 +175,12 @@
"message": "有効",
"description": "Label for the enabled state of styles"
},
"configOnChange": {
"message": "変更時",
"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": "Linter の設定を行うときはクリックしてください",
"message": "Linterの設定を行うときはクリックしてください",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
},
"styleToMozillaFormatHelp": {
@ -220,7 +228,7 @@
"description": "'Stop' button in a confirm dialog"
},
"writeStyleForURL": {
"message": "この URL",
"message": "このURL",
"description": "Text for link in toolbar pop-up to write a new style for the current URL"
},
"optionsSubheading": {
@ -236,7 +244,7 @@
"description": "Option to make the style apply to the entered string as a regular expression"
},
"optionsAdvancedExposeIframesNote": {
"message": "「 html[stylus-iframe] h1 { display:none } 」のようにiframe用のCSSを書くことができるようになります。",
"message": "' html[stylus-iframe] h1 { display:none } ' のようにiframe用のCSSを書くことができるようになります。",
"description": ""
},
"importReportLegendUpdatedCode": {
@ -331,7 +339,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>, または数字パッドキーによりN番目のスタイルの有効/無効を切り替えます (0は10番目になります)\n<A>-<Z> はその文字で始まる先頭のスタイルを切り替えます\n<Shift> は切り替えではなくエディターを開きます\n<Numpad +> はリストのスタイルをすべて有効にします\n<Numpad > はリストのスタイルをすべて無効にします\n<Numpad *> と <`>(バッククォート)は初期状態が有効なスタイルのみを切り替えます。すなわち、ポップアップ上で後から有効にしたスタイルは切り替えません。例えば、テスト後に初期の選択に戻すには、全解除してから切り替えてください(すなわち<Numpad > <Numpad *>\n詳細は wiki を参照ください",
"message": "<1>-<9>, <0>, または数字パッドキーにより N番目のスタイルの有効/無効を切り替えます0は10番目になります\n<A>-<Z> はその文字で始まる先頭のスタイルを切り替えます\n<Shift> を併用すると、切り替えではなくエディタを開きます\n<Numpad +> はリストのスタイルをすべて有効にします\n<Numpad > はリストのスタイルをすべて無効にします\n<Numpad *> と <`>(バッククォート)は初期状態が有効なスタイルのみを切り替えます。すなわち、ポップアップ上で後から有効にしたスタイルは切り替えません。例えば、テスト後に初期の選択に戻すには、全解除してから切り替えてください(すなわち<Numpad > <Numpad *>の順に押してください\n詳細は wiki を参照ください",
"description": "NOTE1: preserve < and > symbols so that <hotkey> 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": {
@ -474,7 +482,7 @@
"description": "Additional text displayed when an update check skipped updating the style to avoid losing local modifications"
},
"toggleStyle": {
"message": "スタイルの有効/無効切り替え",
"message": "スタイルの有効/無効切り替え",
"description": "Label for the checkbox to enable/disable a style"
},
"importReplaceTooltip": {
@ -498,7 +506,7 @@
"description": "Help text for sections"
},
"noStylesForSite": {
"message": "このサイト用のスタイルはインストールされていません。",
"message": "該当するスタイルはありません。",
"description": "Text displayed when no styles are installed for the current site"
},
"appliesDisplayTruncatedSuffix": {
@ -521,6 +529,10 @@
"message": "CSSの色選択ツール",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "現在のフィルターにマッチするスタイルはありません",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "次のスタイルを書く:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -618,10 +630,6 @@
"message": "セクションを削除",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "URLに対応するスタイルを探すときは、「url:」という接頭辞を付けてください。\n例. url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "すべてのスタイルをオフにする",
"description": "Label for the checkbox that turns all enabled styles off."
@ -663,7 +671,7 @@
"description": "Label for the numeric input box to limit max number of applies-to targets in the new UI on manage page"
},
"popupManageTooltip": {
"message": "Shift-クリック または 右クリック で、現在のサイトに適用可能なスタイルの管理画面を開きます",
"message": "シフトを押しながらクリック または 右クリック で、現在のサイトに適用可能なスタイルの管理画面を開きます",
"description": "Tooltip for the 'Manage' button in the popup."
},
"manageFaviconsHelp": {
@ -724,7 +732,7 @@
},
"configureStyle": {
"message": "設定",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "件のメタ情報とコードを更新しました",
@ -742,6 +750,10 @@
"message": "「適用先」を使用すると、このセクションのコードが適用される URL を制限することができます。",
"description": "Help text for 'applies to' section"
},
"searchStylesHelp": {
"message": "</> キーで検索欄に移動します。\n文字列検索: 名前、コード、適用欄のURL/サイト名を検索します。3文字より短い単語は無視されます。\nURL検索: <url:> を前に付けて検索します。例. <url:https://github.com/openstyles/stylus>\n正規表現検索: スラッシュとフラグを含めて検索します。例. </body.*?\\ba\\b/simguy>\n正確な文字列検索: 文字列をダブルクォートで囲んで検索します。例. <\".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"
},
"editStyleHeading": {
"message": "スタイルを編集",
"description": "Title of the page for editing styles"
@ -876,6 +888,10 @@
"message": "変更を破棄しますか?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"configOnChangeTooltip": {
"message": "自動保存して変更を自動的に適用します",
"description": ""
},
"optionsActions": {
"message": "アクション",
"description": ""
@ -954,6 +970,10 @@
"message": "圧縮されたCSSでは機能しません",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"configureStyleOnHomepage": {
"message": "ホームページ上で設定",
"description": "Label for the button to configure userstyles.org userstyle"
},
"undo": {
"message": "元に戻す",
"description": "Button label"
@ -1020,7 +1040,7 @@
"description": ""
},
"usercssEditorNamePlaceholder": {
"message": "コード内で @name を指定します",
"message": "コードで@nameを指定してください",
"description": "Placeholder text for the empty name input field when creating a new Usercss style"
},
"addStyleLabel": {

View File

@ -131,6 +131,10 @@
"message": "Upuść twój plik kopii zapasowej gdziekolwiek na tej stronie, aby zaimportować.",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "Uwaga: w polu wejściowym regexp użyj pojedynczego \\ jako znaku ucieczki, który zgodnie ze specyfikacją dla cudzysłowów w CSS zostanie automatycznie zamieniony na \\\\ w kodzie stylu.",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "Pomoc",
"description": "Alternate text for help buttons"
@ -171,6 +175,10 @@
"message": "Włączony",
"description": "Label for the enabled state of styles"
},
"configOnChange": {
"message": "przy zmianie",
"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": "Kliknij, aby skonfigurować ten linter",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
@ -521,6 +529,10 @@
"message": "Próbniki kolorów CSS",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Aktualnie stosowane filtry nie pasują do żadnego stylu",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Napisz styl dla:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -622,10 +634,6 @@
"message": "Usuń sekcję",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Aby zobaczyć style dla adresu URL, dodaj prefiks 'url:'\nNa przykład url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Wyłącz wszystkie style",
"description": "Label for the checkbox that turns all enabled styles off."
@ -728,7 +736,7 @@
},
"configureStyle": {
"message": "Skonfiguruj",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "zaktualizowano meta info i kod",
@ -746,6 +754,10 @@
"message": "Użyj przycisków \"Dotyczy\", aby ograniczyć adresy URL, których dotyczy kod w tej sekcji.",
"description": "Help text for 'applies to' section"
},
"searchStylesHelp": {
"message": "Klawisz </> uaktywnia pole wyszukiwania.\nZwykły tekst: szukaj w nazwie, kodzie, adresie URL strony głównej oraz stosownych witrynach. Słowa zawierające mniej niż 3 litery są ignorowane.\nPasujący adres URL: szukaj przy pomocy przedrostka <url:>, np. <url:https://github.com/openstyles/stylus>\nWyrażenia regularne: umieść ukośniki i flagi, np. </body.*?\\ba\\b/simguy>\nDokładne słowa: zawiń zapytanie w podwójny cudzysłów, np. <\".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"
},
"editStyleHeading": {
"message": "Edytuj styl",
"description": "Title of the page for editing styles"
@ -888,6 +900,10 @@
"message": "Odrzucić zmiany?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"configOnChangeTooltip": {
"message": "Autozapisuj i stosuj zmiany automatycznie",
"description": ""
},
"optionsActions": {
"message": "Akcje",
"description": ""
@ -966,6 +982,10 @@
"message": "Nie działa ze zminifikowanym CSS",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"configureStyleOnHomepage": {
"message": "Skonfiguruj na stronie głównej",
"description": "Label for the button to configure userstyles.org userstyle"
},
"undo": {
"message": "Cofnij",
"description": "Button label"

View File

@ -131,6 +131,10 @@
"message": "Перетащите файл с резервной копией стилей в любое место этой страницы, чтобы импортировать его.",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "Полезная информация: используйте одиночный \\ в строке ввода regexp, т.к. он автомачески преобразуется в двойной \\\\ в тексте стиля согласно спецификации CSS для строк в кавычках.",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "Справка",
"description": "Alternate text for help buttons"
@ -164,7 +168,7 @@
"description": "Heading for the manage page"
},
"styleBeautify": {
"message": "Форматировать",
"message": "Причесать",
"description": "Label for the CSS-beautifier button on the edit style page"
},
"styleRegexpProblemTooltip": {
@ -175,6 +179,10 @@
"message": "Включено",
"description": "Label for the enabled state of styles"
},
"configOnChange": {
"message": "сразу",
"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": "Настроить проверку CSS",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
@ -343,7 +351,7 @@
"description": "Label for the checkbox controlling word wrap option for the style editor."
},
"styleCancelEditLabel": {
"message": "Завершить",
"message": "Все стили",
"description": "Label for cancel button for style editing"
},
"styleChangesNotSaved": {
@ -525,6 +533,10 @@
"message": "Раскрашивать цвета в CSS",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "Примененные фильтры не соответствуют ни одному стилю",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "Создать стиль для:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -603,7 +615,7 @@
"description": "Heading for the section with buttons to import/export Mozilla format of the style"
},
"cm_matchHighlight": {
"message": "Подсвечивать",
"message": "Подсветка",
"description": "Label for the drop-down list controlling the automatic highlighting of current word/selection occurrences in the style editor."
},
"styleRegexpPartialExplanation": {
@ -626,10 +638,6 @@
"message": "Удалить раздел",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "Префикс url: покажет стили для сайта.\nНапример, url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "Выключить все стили",
"description": "Label for the checkbox that turns all enabled styles off."
@ -732,7 +740,7 @@
},
"configureStyle": {
"message": "Настроить",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "обновлены мета-данные и код",
@ -750,6 +758,10 @@
"message": "Чтобы указать, к каким URL относится код в этом разделе, воспользуйтесь параметром \"Применить к\".",
"description": "Help text for 'applies to' section"
},
"searchStylesHelp": {
"message": "Клавиша </> переходит к строке поиска.\nОбычный поиск: ищет в имени, тексте, адресе установки, целевых сайтах. Слова короче трех символов игнорируются.\nСтили для сайта: укажите <url:> перед адресом, т.е. <url:https://github.com/openstyles/stylus>\nРегулярки: заключите в слэши, добавьте флаги, т.е. </body.*?\\ba\\b/simguy>\nТочный поиск: заключите в двойные кавычки, т.е. <\".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"
},
"editStyleHeading": {
"message": "Изменение стиля",
"description": "Title of the page for editing styles"
@ -888,6 +900,10 @@
"message": "Отказаться от изменений?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"configOnChangeTooltip": {
"message": "Сохранять и применять изменения автоматически",
"description": ""
},
"optionsActions": {
"message": "Другие действия",
"description": ""
@ -966,6 +982,10 @@
"message": "Не работает с минифицированным CSS",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"configureStyleOnHomepage": {
"message": "Настроить на домашней странице",
"description": "Label for the button to configure userstyles.org userstyle"
},
"undo": {
"message": "Отменить",
"description": "Button label"

View File

@ -131,6 +131,10 @@
"message": "將您的備份檔拖曳到此頁面的任何地方以匯入。",
"description": "Drag'n'drop message"
},
"styleRegexpTestNote": {
"message": "注意:使用單個 \\ 來在正規表達式的輸入欄位中逃脫,其將會根據在 CSS 中的引用字串的規定,自動在樣式代碼中轉換為 \\\\。",
"description": "RegExp test report: a note displayed at the bottom of the dialog"
},
"helpAlt": {
"message": "幫助",
"description": "Alternate text for help buttons"
@ -175,6 +179,10 @@
"message": "已啟用",
"description": "Label for the enabled state of styles"
},
"configOnChange": {
"message": "正在變更",
"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": "點選以設定此 linter",
"description": "Icon tooltip to indicate that it opens a popup with the selected linter configuration"
@ -525,6 +533,10 @@
"message": "用於 CSS 色彩的顏色挑選器",
"description": "Label for the checkbox controlling colorpicker option for the style editor."
},
"filteredStylesAllHidden": {
"message": "目前套用的過濾器未符合樣式",
"description": "Text shown when no styles match currently applied filter in the style manager"
},
"writeStyleFor": {
"message": "編寫樣式給:",
"description": "Label for toolbar pop-up that precedes the links to write a new style"
@ -626,10 +638,6 @@
"message": "移除樣式段",
"description": "Label for the button to remove a section"
},
"searchStylesTooltip": {
"message": "要顯示 URL 的樣式,以 'url:' 做為其前綴:\n舉例來說url:https://github.com/openstyles/stylus",
"description": "Label for the search filter textbox on the Manage styles page"
},
"disableAllStyles": {
"message": "禁用所有樣式",
"description": "Label for the checkbox that turns all enabled styles off."
@ -732,7 +740,7 @@
},
"configureStyle": {
"message": "設定",
"description": "Label for the button to configure userstyle"
"description": "Label for the button to configure usercss userstyle"
},
"importReportLegendUpdatedBoth": {
"message": "後設資訊與程式碼均已更新",
@ -750,6 +758,10 @@
"message": "使用「適用於」控件來限制這個樣式段適用的網址。",
"description": "Help text for 'applies to' section"
},
"searchStylesHelp": {
"message": "</> 鍵聚焦於搜尋欄。\n純文字搜尋名字、程式碼、首頁 URL 與其套用到的頁面。少於三個字母的單字會被忽略。\n符合的 URL以 <url:> 為前綴來搜尋,例如:<url:https://github.com/openstyles/stylus>\n正規表達式包含斜線與旗標例如 </body.*?\\ba\\b/simguy>\n精確的單字以雙引號包住要搜尋的文字例如 <\".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"
},
"editStyleHeading": {
"message": "編輯樣式",
"description": "Title of the page for editing styles"
@ -888,6 +900,10 @@
"message": "放棄變更?",
"description": "Generic label or title displayed when trying to close something (not a style) with unsaved changes"
},
"configOnChangeTooltip": {
"message": "自動儲存與套用變更",
"description": ""
},
"optionsActions": {
"message": "動作",
"description": ""
@ -966,6 +982,10 @@
"message": "無法與最小化的 CSS 一起運作",
"description": "A warning that applies-to information won't show properly with minified CSS"
},
"configureStyleOnHomepage": {
"message": "在首頁上設定",
"description": "Label for the button to configure userstyles.org userstyle"
},
"undo": {
"message": "撤銷",
"description": "Button label"

View File

@ -255,9 +255,9 @@ function getStyles(options) {
function filterStyles({
enabled = null,
url = null,
id = null,
matchUrl = null,
md5Url = null,
asHash = null,
strictRegexp = true, // used by the popup to detect bad regexps
} = {}) {
@ -267,9 +267,9 @@ function filterStyles({
if (
enabled === null &&
url === null &&
id === null &&
matchUrl === null &&
md5Url === null &&
asHash !== true
) {
return cachedStyles.list;
@ -284,8 +284,7 @@ function filterStyles({
exposeIframes: prefs.get('exposeIframes'),
};
// add \t after url to prevent collisions (not sure it can actually happen though)
const cacheKey = ' ' + enabled + url + '\t' + id + matchUrl + '\t' + asHash + strictRegexp;
const cacheKey = [enabled, id, matchUrl, md5Url, asHash, strictRegexp].join('\t');
const cached = cachedStyles.filters.get(cacheKey);
if (cached) {
cached.hits++;
@ -297,9 +296,9 @@ function filterStyles({
return filterStylesInternal({
enabled,
url,
id,
matchUrl,
md5Url,
asHash,
strictRegexp,
blankHash,
@ -312,9 +311,9 @@ function filterStylesInternal({
// js engines don't like big functions (V8 often deoptimized the original filterStyles)
// it also makes sense to extract the less frequently executed code
enabled,
url,
id,
matchUrl,
md5Url,
asHash,
strictRegexp,
blankHash,
@ -343,7 +342,7 @@ function filterStylesInternal({
let style;
for (let i = 0; (style = styles[i]); i++) {
if ((enabled === null || style.enabled === enabled)
&& (url === null || style.url === url)
&& (md5Url === null || style.md5Url === md5Url)
&& (id === null || style.id === id)) {
const sections = needSections &&
getApplicableSections({

View File

@ -26,7 +26,7 @@
document.title = document.title.replace(/^(\d+)&\w+=/, '#$1: ');
chrome.runtime.sendMessage({
method: 'getStyles',
url: getMeta('stylish-id-url') || location.href
md5Url: getMeta('stylish-md5-url') || location.href
}, checkUpdatability);
}
}).observe(document.documentElement, {childList: true});
@ -121,7 +121,7 @@
return new Promise((resolve, reject) => {
chrome.runtime.sendMessage({
method: 'getStyles',
url: getMeta('stylish-id-url') || location.href,
md5Url: getMeta('stylish-md5-url') || location.href,
}, ([style]) => {
saveStyleCode('styleUpdate', style.name, {id: style.id})
.then(resolve, reject);

View File

@ -12,13 +12,13 @@ button {
transition: background-color .25s, border-color .25s;
}
button:hover {
button:not(:disabled):hover {
background-color: hsl(0, 0%, 95%);
border-color: hsl(0, 0%, 52%);
}
/* For some odd reason these hovers appear lighter than all other button hovers in every browser */
#message-box-buttons button:hover {
#message-box-buttons button:not(:disabled):hover {
background-color: hsl(0, 0%, 90%);
border-color: hsl(0, 0%, 50%);
}
@ -65,7 +65,7 @@ input[type="checkbox"]:not(.slider) {
transition: background-color .1s, border-color .1s;
}
input[type="checkbox"]:not(.slider):hover {
input[type="checkbox"]:not(.slider):not(:disabled):hover {
border-color: hsl(0, 0%, 32%);
background-color: hsl(0, 0%, 82%);
}
@ -125,14 +125,59 @@ select {
transition: fill .5s;
}
input[type="radio"] {
-webkit-appearance: none;
-moz-appearance: none;
outline: none;
background: hsl(0, 0%, 88%);
border-radius: 50%;
border: 1px solid hsl(0, 0%, 60%);
cursor: default;
height: 13px;
width: 13px;
position: relative;
}
input[type="radio"]:after {
content: '';
background-color: transparent;
transform: scale(0);
transform-origin: 50% 50%;
transition: background-color .5s, transform .5s;
border-radius: 50%;
height: 7px;
width: 7px;
left: 2px;
top: 2px;
position: absolute;
}
input[type="radio"]:checked:after {
background-color: hsl(0, 0%, 30%);
transform: scale(1);
}
/* restore disabled state dimming */
button:disabled,
select:disabled,
option:disabled,
select[disabled] > option {
color: graytext;
}
@supports (-moz-appearance: none) {
.moz-appearance-bug .svg-icon.checked {
.moz-appearance-bug .svg-icon.checked,
.moz-appearance-bug input[type="radio"]:after {
display: none !important;
}
.moz-appearance-bug input[type="checkbox"] {
-moz-appearance: checkbox !important;
}
.moz-appearance-bug input[type="radio"] {
-moz-appearance: radio !important;
}
.firefox select {
font-size: 13px;
@ -145,17 +190,27 @@ select {
}
/* We can customize everything about number inputs except arrows. They're horrible in Linux FF, so we'll hide them unless hovered or focused. */
.firefox.non-windows input[type=number] {
.firefox.non-windows input[type="number"] {
-moz-appearance: textfield;
background: #fff;
color: #000;
border: 1px solid hsl(0, 0%, 66%);
}
.firefox.non-windows input[type="number"]:hover,
.firefox.non-windows input[type="number"]:not(:disabled):hover,
.firefox.non-windows input[type="number"]:focus {
-moz-appearance: number-input;
}
.firefox.non-windows input[type="color"] {
background: #fff;
border: 1px solid hsl(0, 0%, 66%);
padding: 4px;
}
.firefox.non-windows .style-name {
font-family: Arial, sans-serif;
}
/* Firefox cannot handle fractions in font-size */
.firefox button:not(.install) {

View File

@ -51,21 +51,21 @@ var loadScript = (() => {
// natively declared <script> elements in html can't have onload= attribute
// due to the default extension CSP that forbids inline code (and we don't want to relax it),
// so we're using MutationObserver to add onload event listener to the script element to be loaded
window.onDOMscriptReady = (src, timeout = 1000) => {
window.onDOMscriptReady = (srcSuffix, timeout = 1000) => {
if (!subscribers) {
subscribers = new Map();
observer = new MutationObserver(observe);
observer.observe(document.head, {childList: true});
}
return new Promise((resolve, reject) => {
const listeners = subscribers.get(src);
const listeners = subscribers.get(srcSuffix);
if (listeners) {
listeners.push(resolve);
} else {
subscribers.set(src, [resolve]);
subscribers.set(srcSuffix, [resolve]);
}
// no need to clear the timer since a resolved Promise won't reject anymore
setTimeout(reject, timeout);
// a resolved Promise won't reject anymore
setTimeout(() => emptyAfterCleanup(srcSuffix) + reject(), timeout);
});
};
@ -82,22 +82,33 @@ var loadScript = (() => {
}
function getSubscribersForSrc(src) {
for (const [subscribedSrc, listeners] of subscribers.entries()) {
if (src.endsWith(subscribedSrc)) {
return {subscribedSrc, listeners};
for (const [suffix, listeners] of subscribers.entries()) {
if (src.endsWith(suffix)) {
return {suffix, listeners};
}
}
}
function notifySubscribers(event) {
this.removeEventListener('load', notifySubscribers);
const {subscribedSrc, listeners = []} = getSubscribersForSrc(this.src) || {};
listeners.forEach(fn => fn(event));
subscribers.delete(subscribedSrc);
for (let data; (data = getSubscribersForSrc(this.src));) {
data.listeners.forEach(fn => fn(event));
if (emptyAfterCleanup(data.suffix)) {
return;
}
}
}
function emptyAfterCleanup(suffix) {
if (!subscribers) {
return true;
}
subscribers.delete(suffix);
if (!subscribers.size) {
observer.disconnect();
observer = null;
subscribers = null;
return true;
}
}
})();

View File

@ -16,6 +16,7 @@ function configDialog(style) {
buildConfigForm();
renderValues();
vars.forEach(renderValueState);
return messageBox({
title: `${style.name} v${data.version}`,
@ -25,11 +26,20 @@ function configDialog(style) {
$createLink({className: '.external-support', href: data.supportURL}, t('externalFeedback'))),
$create('.config-body', elements)
],
buttons: [
{textContent: t('confirmSave'), dataset: {cmd: 'save'}, disabled: true, onclick: save},
{textContent: t('confirmDefault'), dataset: {cmd: 'default'}, onclick: useDefault},
{textContent: t('confirmClose'), dataset: {cmd: 'close'}},
],
buttons: [{
textContent: t('confirmSave'),
dataset: {cmd: 'save'},
disabled: true,
onclick: save,
}, {
textContent: t('genericResetLabel'),
title: t('optionsReset'),
dataset: {cmd: 'default'},
onclick: useDefault,
}, {
textContent: t('confirmClose'),
dataset: {cmd: 'close'},
}],
onshow,
}).then(onhide);

View File

@ -1,6 +1,6 @@
{
"name": "Stylus",
"version": "1.1.7.2",
"version": "1.1.7.6",
"minimum_chrome_version": "49",
"description": "__MSG_description__",
"homepage_url": "http://add0n.com/stylus.html",

View File

@ -138,6 +138,10 @@ input[type="color"] {
display: block;
}
.iconset input[type="radio"] {
margin: 2px 4px 0 0;
}
#actions {
justify-content: space-around;
align-items: stretch;

View File

@ -17,6 +17,8 @@ var hotkeys = (() => {
initHotkeyInfo();
});
window.addEventListener('resize', adjustInfoPosition);
return {setState};
function setState(newState = !enabled) {
@ -138,11 +140,15 @@ var hotkeys = (() => {
delete container.dataset.active;
document.body.style.height = '';
container.title = title;
window.addEventListener('resize', adjustInfoPosition);
}
function open() {
window.removeEventListener('resize', adjustInfoPosition);
debounce.unregister(adjustInfoPosition);
title = container.title;
container.title = '';
container.style = '';
container.dataset.active = true;
if (!container.firstElementChild) {
buildElement();
@ -184,4 +190,18 @@ var hotkeys = (() => {
});
}
}
function adjustInfoPosition(debounced) {
if (debounced !== true) {
debounce(adjustInfoPosition, 100, true);
return;
}
const style = $('#hotkey-info').style;
if (installed.scrollHeight > installed.clientHeight) {
const entryRight = installed.firstElementChild.getBoundingClientRect().right;
style.setProperty('right', window.innerWidth - entryRight + 'px', 'important');
}
const installedBottom = installed.getBoundingClientRect().bottom + window.scrollY;
style.setProperty('bottom', window.innerHeight - installedBottom + 'px', 'important');
}
})();

View File

@ -915,7 +915,7 @@
el.focus({preventScroll: true});
el = null;
if (window.scrollY !== y || window.scrollX !== x) {
window.scrollTo(x, y);
setTimeout(window.scrollTo, 0, x, y);
}
}
}