Skip to content

Instantly share code, notes, and snippets.

@TyDraniu
TyDraniu / firefox-pl-l10n-review.md
Last active September 3, 2026 10:39 — forked from flodolo/firefox-pl-l10n-review.md
Polish Firefox localization QA (via LLM)

Firefox Polish (pl) localization review

Date 2026-08-06
Locale tree ~/mozilla/git/firefox-l10n/pl @ c700cb6b7d0f0837cab4566a7e298b5ab7de6511
en-US reference ~/mozilla/git/firefox-quarantine @ 7a5fe5860e3d227bb7e55d00772339a25f12af49
Method moz.l10n parser checks (syntax, variables, selectors, accesskeys, markup parity, plural categories, typography), hunspell with the in-repo pl dictionary, cross-file consistency grouping by en-US source string, plus per-directory manual review against en-US and its developer comments

Findings are keyed by Fluent string ID, never by line number. Completeness/sync status is out of scope and not reported.

@TyDraniu
TyDraniu / showAsPrint.js
Created February 27, 2019 18:41 — forked from jscher2000/showAsPrint.js
Emulate print media in Firefox 62 (userscript work in progress)
// For Firefox's Web Console, creates the functions showAsPrint() and undoShowAsPrint()
// to roughly emulate print media and revert
function showAsPrint(){
var docSS = document.styleSheets, ss, oldMedia, newMedia, rules;
var p2s = function(media){
if (media.indexOf('all') > -1) return media; //no need to change
if (media == 'print') return 'all, wasprint'; //show on screen, too
if (media.indexOf('print') > -1 && media.indexOf('screen') > -1) return media; //no need to change
if (media == 'screen') return 'wasscreen'; //hide these rules
if (media.indexOf('screen') > -1) return media.replace('screen', 'wasscreen'); //hide these rules