Skip to content

Commit

Permalink
Add support for error correction levels (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyqht authored Aug 13, 2024
1 parent 5c25fcb commit 77af150
Show file tree
Hide file tree
Showing 36 changed files with 164 additions and 76 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@ docker compose up -d
- Save & Load QR Code config
- Upload custom image for logo
- Presets: Pre-crafted QR code styles are available as immediate usage/ reference. Refer to samples above!
- User can choose to include background or obtain a transparent QR code
- Error correction level selection - this will affect the size of the qr code and image within.
2 changes: 1 addition & 1 deletion locales/bg.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Mini QR Code Generator":"Генератор на мини QR код","Default":"По подразбиране","Randomize style":"Случаен избор на стил","No data!":"Няма дата!","Select language":"Избор на език","Select preset":"Избор на предварителна настройка","GitHub repository for this project":"Хранилище на GitHub за този проект","Data to encode":"Данни за кодиране","data to encode e.g. a URL or a string":"данни за кодиране, напр. URL адрес или низ","Logo image URL":"URL адрес на изображението на логото","Last saved locally":"Зареждане от локално хранилище","Loaded from file":"Зареждане от файл","Copy QR Code to clipboard":"Копиране на QR кода в клипборда","Export as":"Експортиране като","Download QR Code as PNG":"Изтегляне на QR код като PNG","Download QR Code as SVG":"Изтегляне на QR код като SVG","Upload image":"Качване на изображение","Background color":"Фонов цвят","Width (px)":"Ширина (px)","Height (px)":"Височина (px)","Margin (px)":"Марж (px)","Image margin (px)":"Марж на изображението (px)","Border radius (px)":"Радиус на границата (px)","Dots color":"Цвят на точките","Dots type":"Тип точки","Save QR Code configuration":"Запазване на конфигурацията на QR кода","Load QR Code configuration":"Зареждане на конфигурацията на QR кода","Corners Square color":"Ъгли Квадратен цвят","Corners Square type":"Ъгли Квадратен тип","Corners Dot color":"Ъгли Цвят на точката","Corners Dot type":"Ъгли Тип точка","QR code preset":"Предварително зададен QR код","Preset":"Предварителна настройка","dots":"точки","rounded":"закръглени","classy":"стилен","classy-rounded":"класически закръглени","square":"квадрат","extra-rounded":"изключително закръглени","dot":"точка","bg":"Български","cs":"Чешка република","da":"Датски","de":"Немски","el":"Гръцки","en":"Английски език","es":"Испански","et":"Естонски","fi":"Финландски","fr":"Френски","hu":"Унгарски","id":"Индонезийски","it":"Италиански","ja":"Японски","ko":"Корейски","lt":"Литовски","lv":"Латвийски","nb":"Норвежки Bokmål","nl":"Холандски","pl":"Полски","ptBR":"Португалски (Бразилия)","ptPT":"Португалски (Португалия)","ro":"Румънски","ru":"Руски","sk":"Словашки","sl":"Словенски","sv":"Шведски","tr":"Турски","uk":"Украински","zh":"Китайски"}
{"Mini QR Code Generator":"Генератор на мини QR код","Default":"По подразбиране","Randomize style":"Случаен избор на стил","No data!":"Няма дата!","Select language":"Избор на език","Select preset":"Избор на предварителна настройка","GitHub repository for this project":"Хранилище на GitHub за този проект","Data to encode":"Данни за кодиране","data to encode e.g. a URL or a string":"данни за кодиране, напр. URL адрес или низ","Logo image URL":"URL адрес на изображението на логото","Last saved locally":"Зареждане от локално хранилище","Loaded from file":"Зареждане от файл","Copy QR Code to clipboard":"Копиране на QR кода в клипборда","Export as":"Експортиране като","Download QR Code as PNG":"Изтегляне на QR код като PNG","Download QR Code as SVG":"Изтегляне на QR код като SVG","Upload image":"Качване на изображение","Background color":"Фонов цвят","Width (px)":"Ширина (px)","Height (px)":"Височина (px)","Margin (px)":"Марж (px)","Image margin (px)":"Марж на изображението (px)","Border radius (px)":"Радиус на границата (px)","Dots color":"Цвят на точките","Dots type":"Тип точки","Save QR Code configuration":"Запазване на конфигурацията на QR кода","Load QR Code configuration":"Зареждане на конфигурацията на QR кода","Corners Square color":"Ъгли Квадратен цвят","Corners Square type":"Ъгли Квадратен тип","Corners Dot color":"Ъгли Цвят на точката","Corners Dot type":"Ъгли Тип точка","With background":"С фон","QR code preset":"Предварително зададен QR код","Recommended":"Препоръчителен","Error correction level":"Ниво на корекция на грешките","Low (7%)":"Нисък (7%)","Medium (15%)":"Среден (15%)","High (25%)":"Висока (25%)","Highest (30%)":"Най-висока (30%)","What is this?":"Какво е това?","What is error correction level?":"Какво е ниво на корекция на грешки?","Preset":"Предварителна настройка","dots":"точки","rounded":"закръглени","classy":"стилен","classy-rounded":"класически закръглени","square":"квадрат","extra-rounded":"изключително закръглени","dot":"точка","bg":"Български","cs":"Чешка република","da":"Датски","de":"Немски","el":"Гръцки","en":"Английски език","es":"Испански","et":"Естонски","fi":"Финландски","fr":"Френски","hu":"Унгарски","id":"Индонезийски","it":"Италиански","ja":"Японски","ko":"Корейски","lt":"Литовски","lv":"Латвийски","nb":"Норвежки Bokmål","nl":"Холандски","pl":"Полски","ptBR":"Португалски (Бразилия)","ptPT":"Португалски (Португалия)","ro":"Румънски","ru":"Руски","sk":"Словашки","sl":"Словенски","sv":"Шведски","tr":"Турски","uk":"Украински","zh":"Китайски"}
2 changes: 1 addition & 1 deletion locales/cs.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Mini QR Code Generator":"Generátor mini QR kódů","Default":"Výchozí","Randomize style":"Náhodný výběr stylu","No data!":"Žádné datum!","Select language":"Výběr jazyka","Select preset":"Výběr předvolby","GitHub repository for this project":"Úložiště GitHub pro tento projekt","Data to encode":"Data k zakódování","data to encode e.g. a URL or a string":"data k zakódování, např. URL nebo řetězec","Logo image URL":"Adresa URL obrázku loga","Last saved locally":"Načteno z místního úložiště","Loaded from file":"Načteno ze souboru","Copy QR Code to clipboard":"Kopírování kódu QR do schránky","Export as":"Exportovat jako","Download QR Code as PNG":"Stažení kódu QR jako PNG","Download QR Code as SVG":"Stáhnout QR kód jako SVG","Upload image":"Nahrát obrázek","Background color":"Barva pozadí","Width (px)":"Šířka (px)","Height (px)":"Výška (px)","Margin (px)":"Okraj (px)","Image margin (px)":"Okraj obrázku (px)","Border radius (px)":"Poloměr okraje (px)","Dots color":"Barva teček","Dots type":"Typ teček","Save QR Code configuration":"Uložit konfiguraci kódu QR","Load QR Code configuration":"Načtení konfigurace kódu QR","Corners Square color":"Rohové čtvercové barvy","Corners Square type":"Rohy Čtvercového typu","Corners Dot color":"Rohy Barva teček","Corners Dot type":"Rohy Typ tečky","QR code preset":"Předvolba QR kódu","Preset":"Přednastavení","dots":"tečky","rounded":"zaokrouhlení","classy":"elegantní","classy-rounded":"elegantně zaoblené","square":"čtverec","extra-rounded":"extra zaoblené","dot":"tečka","bg":"Bulharský","cs":"Česká republika","da":"Dánský","de":"Němčina","el":"Řecký","en":"Angličtina","es":"Španělština","et":"Estonština","fi":"Finsko","fr":"Francouzština","hu":"Maďarština","id":"Indonéský","it":"Italský","ja":"Japonský","ko":"Korejský","lt":"Litevština","lv":"Lotyšský","nb":"Norský jazyk Bokmål","nl":"Holandský","pl":"Polský","ptBR":"Portugalština (Brazílie)","ptPT":"Portugalština (Portugalsko)","ro":"Rumunština","ru":"Ruský","sk":"Slovenská","sl":"Slovinština","sv":"Švédský","tr":"Turecký","uk":"Ukrajinský","zh":"Čínský"}
{"Mini QR Code Generator":"Generátor mini QR kódů","Default":"Výchozí","Randomize style":"Náhodný výběr stylu","No data!":"Žádné datum!","Select language":"Výběr jazyka","Select preset":"Výběr předvolby","GitHub repository for this project":"Úložiště GitHub pro tento projekt","Data to encode":"Data k zakódování","data to encode e.g. a URL or a string":"data k zakódování, např. URL nebo řetězec","Logo image URL":"Adresa URL obrázku loga","Last saved locally":"Načteno z místního úložiště","Loaded from file":"Načteno ze souboru","Copy QR Code to clipboard":"Kopírování kódu QR do schránky","Export as":"Exportovat jako","Download QR Code as PNG":"Stažení kódu QR jako PNG","Download QR Code as SVG":"Stáhnout QR kód jako SVG","Upload image":"Nahrát obrázek","Background color":"Barva pozadí","Width (px)":"Šířka (px)","Height (px)":"Výška (px)","Margin (px)":"Okraj (px)","Image margin (px)":"Okraj obrázku (px)","Border radius (px)":"Poloměr okraje (px)","Dots color":"Barva teček","Dots type":"Typ teček","Save QR Code configuration":"Uložit konfiguraci kódu QR","Load QR Code configuration":"Načtení konfigurace kódu QR","Corners Square color":"Rohové čtvercové barvy","Corners Square type":"Rohy Čtvercového typu","Corners Dot color":"Rohy Barva teček","Corners Dot type":"Rohy Typ tečky","With background":"S pozadím","QR code preset":"Předvolba QR kódu","Recommended":"Doporučené stránky","Error correction level":"Úroveň korekce chyb","Low (7%)":"Nízká (7 %)","Medium (15%)":"Střední (15%)","High (25%)":"Vysoká (25 %)","Highest (30%)":"Nejvyšší (30 %)","What is this?":"Co je to?","What is error correction level?":"Co je to úroveň korekce chyb?","Preset":"Přednastavení","dots":"tečky","rounded":"zaokrouhlení","classy":"elegantní","classy-rounded":"elegantně zaoblené","square":"čtverec","extra-rounded":"extra zaoblené","dot":"tečka","bg":"Bulharský","cs":"Česká republika","da":"Dánský","de":"Němčina","el":"Řecký","en":"Angličtina","es":"Španělština","et":"Estonština","fi":"Finsko","fr":"Francouzština","hu":"Maďarština","id":"Indonéský","it":"Italský","ja":"Japonský","ko":"Korejský","lt":"Litevština","lv":"Lotyšský","nb":"Norský jazyk Bokmål","nl":"Holandský","pl":"Polský","ptBR":"Portugalština (Brazílie)","ptPT":"Portugalština (Portugalsko)","ro":"Rumunština","ru":"Ruský","sk":"Slovenská","sl":"Slovinština","sv":"Švédský","tr":"Turecký","uk":"Ukrajinský","zh":"Čínský"}
2 changes: 1 addition & 1 deletion locales/da.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Mini QR Code Generator":"Mini QR-kodegenerator","Default":"Standard","Randomize style":"Tilfældig stil","No data!":"Ingen dato!","Select language":"Vælg sprog","Select preset":"Vælg forudindstilling","GitHub repository for this project":"GitHub-arkiv for dette projekt","Data to encode":"Data, der skal kodes","data to encode e.g. a URL or a string":"data, der skal kodes, f.eks. en URL eller en streng","Logo image URL":"URL til logo-billede","Last saved locally":"Indlæst fra lokalt lager","Loaded from file":"Indlæst fra fil","Copy QR Code to clipboard":"Kopier QR-kode til udklipsholder","Export as":"Eksporter som","Download QR Code as PNG":"Download QR-kode som PNG","Download QR Code as SVG":"Download QR-kode som SVG","Upload image":"Upload billede","Background color":"Baggrundsfarve","Width (px)":"Bredde (px)","Height (px)":"Højde (px)","Margin (px)":"Margin (px)","Image margin (px)":"Billedmargin (px)","Border radius (px)":"Kantradius (px)","Dots color":"Farve på prikker","Dots type":"Type prikker","Save QR Code configuration":"Gem konfiguration af QR-kode","Load QR Code configuration":"Indlæs QR-kode-konfiguration","Corners Square color":"Hjørner Firkantet farve","Corners Square type":"Hjørner Firkantet type","Corners Dot color":"Hjørner Prikfarve","Corners Dot type":"Hjørner Punkttype","QR code preset":"Forudindstillet QR-kode","Preset":"Forudindstillet","dots":"prikker","rounded":"afrundet","classy":"stilfuld","classy-rounded":"stilfuldt afrundet","square":"firkantet","extra-rounded":"ekstra afrundet","dot":"prik","bg":"Bulgarsk","cs":"Tjekkiet","da":"Dansk","de":"Tysk","el":"Græsk","en":"Engelsk","es":"Spansk","et":"Estisk","fi":"Finsk","fr":"Fransk","hu":"Ungarsk","id":"Indonesisk","it":"Italiensk","ja":"Japansk","ko":"Koreansk","lt":"Litauisk","lv":"Lettisk","nb":"Norsk bokmål","nl":"Hollandsk","pl":"Polsk","ptBR":"Portugisisk (Brasilien)","ptPT":"Portugisisk (Portugal)","ro":"Rumænsk","ru":"Russisk","sk":"Slovakisk","sl":"Slovensk","sv":"Svensk","tr":"Tyrkisk","uk":"Ukrainsk","zh":"Kinesisk"}
{"Mini QR Code Generator":"Mini QR-kode-generator","Default":"Standard","Randomize style":"Gør stilen tilfældig","No data!":"Ingen dato!","Select language":"Vælg sprog","Select preset":"Vælg forudindstilling","GitHub repository for this project":"GitHub-repository for dette projekt","Data to encode":"Data, der skal kodes","data to encode e.g. a URL or a string":"data, der skal kodes, f.eks. en URL eller en streng","Logo image URL":"URL til logobillede","Last saved locally":"Indlæst fra lokalt lager","Loaded from file":"Indlæst fra fil","Copy QR Code to clipboard":"Kopier QR-koden til udklipsholderen","Export as":"Eksporter som","Download QR Code as PNG":"Download QR-kode som PNG","Download QR Code as SVG":"Download QR-kode som SVG","Upload image":"Upload billede","Background color":"Baggrundsfarve","Width (px)":"Bredde (px)","Height (px)":"Højde (px)","Margin (px)":"Margin (px)","Image margin (px)":"Billedets margen (px)","Border radius (px)":"Grænseradius (px)","Dots color":"Prikkernes farve","Dots type":"Type prikker","Save QR Code configuration":"Gem QR-kode-konfiguration","Load QR Code configuration":"Indlæs QR-kode-konfiguration","Corners Square color":"Hjørner Firkantet farve","Corners Square type":"Hjørner Firkantet type","Corners Dot color":"Hjørner Punktfarve","Corners Dot type":"Hjørner Punkttype","With background":"Med baggrund","QR code preset":"Forudindstillet QR-kode","Recommended":"Anbefalet","Error correction level":"Niveau for fejlkorrektion","Low (7%)":"Lav (7%)","Medium (15%)":"Medium (15%)","High (25%)":"Høj (25%)","Highest (30%)":"Højeste (30%)","What is this?":"Hvad er det her for noget?","What is error correction level?":"Hvad er fejlkorrektionsniveau?","Preset":"Forudindstillet","dots":"prikker","rounded":"afrundet","classy":"elegant","classy-rounded":"klassisk-afrundet","square":"firkantet","extra-rounded":"ekstra afrundet","dot":"prik","bg":"Bulgarsk","cs":"Tjekkiet","da":"Dansk","de":"Tysk","el":"Græsk","en":"Engelsk","es":"Spansk","et":"Estisk","fi":"Finsk","fr":"Fransk","hu":"Ungarsk","id":"Indonesisk","it":"Italiensk","ja":"Japansk","ko":"Koreansk","lt":"Litauisk","lv":"Lettisk","nb":"Norsk bokmål","nl":"Hollandsk","pl":"Polsk","ptBR":"Portugisisk (Brasilien)","ptPT":"Portugisisk (Portugal)","ro":"Rumænsk","ru":"Russer","sk":"Slovakisk","sl":"Slovensk","sv":"Svensk","tr":"Tyrkisk","uk":"Ukrainsk","zh":"Kinesisk"}
Loading

0 comments on commit 77af150

Please sign in to comment.