aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* move js script to body - resolve Error: Stray start tag script. (#183)olekstomek2021-08-081-24/+21
| | | | | | | * move js script to body page in the html validator passes the test * format html
* Dynamic language select defaultValue (#182)Ben Woodward2021-08-081-2/+9
| | | | | | | | | | | | | | | | | | | | | Replaces the hardcoded 'en-US' defaultValue of the language select with the value supplied by the i18n language detection. In my testing I found when setting my browser to "German" or "Dutch", the navigator.language returned is simply "de" and "nl" but the translation ids in the translations are "de-DE" and "nl-NL", respectively. This results in the select box defaulting to the first language (Arabic) because "de" and "nl" are not values in any of the options. This patch takes the i18n detected language and first checks if the id is a known translation. If not, 'en-US' is returned. If it is, the detected language is returned. Unfortunately I am not able to test this as both my Firefox and Chrome browsers are only setting the generic locale language ids. I can verify the fallback to english works. Additionally, editing the localStorage 'i18nextLng' key to 'de-DE' produces the expected translation. Related to #180
* Add support for Serbian language (#181)Dusan Milosevic2021-08-082-0/+63
| | | | | * Add support for Serbian language * Add support for Serbian language
* Support Hidden WiFi networks (#101)olekstomek2021-08-084-2/+15
| | | | | | | | | | | | | | | * ability to set that WiFi network is hidden * fix: hide password checbox hidden chebox with hidden SSID option * improvement, delete constant * merge master * add a setting - the WiFi network can have a hidden SSID * update translation for English and Polish language * change one line translation in Eng, add semicolon in format to connect to WiFi
* Replace network font with Source Serif (#178)Ben Woodward2021-08-062-7/+6
| | | | | This removes the dependency on Google Fonts. Additionally I've reintroduced the textarea border on the printed card to help ephasize the important information.
* Removes direction prop from wificard (#177)Ben Woodward2021-08-062-8/+1
| | | | This was causing a runtime error and isn't necessary. Fixes #172
* Update readme with hungarian translation (#176)Ben Woodward2021-08-061-0/+1
| | | Co-authored-by: Mark Munkacsi <markmunkacsi@protonmail.com>
* Hungarian translation (#170)Munkácsi Márk2021-08-062-5/+37
| | | | | | | * Hunagrian lang added 🇭🇺 * Fix 'None' field translation at encryptions * Fix SelectField error
* Refactor translation plumbing (#168)Ben Woodward2021-08-065-688/+743
| | | | | - Centralize user-defined translations into a single file - Automatically sort the language dropdown - Update the translation contribution guide
* Update translation guide (#167)Ben Woodward2021-08-051-3/+3
|
* Style and code refactor (#166)Ben Woodward2021-08-0511-328/+669
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move all settings below card * refactor components; lifting state up * background color * Evergreen components for everything * password error * Tighten card size * Simply hide password to basic toggle, never disable * Hide password label, too * Maximize mobile portrait width * Make wifi tip smaller * Small style tweaks * Copy: update password length error text to include helpful instructions This will need a backfill for other translations * Remove unused css * Use empty string for EncryptionMode=None value * Remove light.min.css * Include logo on wificard * Cleanup after rebase * Clean-up comments on state * Padding for mobile
* Bump tar from 6.1.0 to 6.1.5 (#165)dependabot[bot]2021-08-041-229/+134
| | | | | | | | | | | | | | | | Bumps [tar](https://github.com/npm/node-tar) from 6.1.0 to 6.1.5. - [Release notes](https://github.com/npm/node-tar/releases) - [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-tar/compare/v6.1.0...v6.1.5) --- updated-dependencies: - dependency-name: tar dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ✨ Adds Norwegian translation. (#160)Thomas Qvidahl2021-08-033-0/+28
| | | | | | | * ✨ Adds Norwegian translation. * 🎨 Fixed formatting. Co-authored-by: Thomas Qvidahl <thomas.qvidahl@tietoevry.com>
* bump up dependencies versions to newest (#164)olekstomek2021-08-022-11/+11
| | | | | * bump up dependencies versions to newest * by the way a small suggestion in readme
* 🇰🇷 Add Korean translation (#163)Seungbin Oh2021-08-023-0/+27
|
* Made few translation corrections (#159)Rohan Sharma2021-08-021-6/+6
| | | | | | | * Made few translation corrections * one additional correction * more translation corrections
* Hotfix: Revert SVG QR Code (#162)olekstomek2021-08-021-1/+0
|
* Translate encryption mode 'None' (#157)Ben Woodward2021-07-312-1/+24
| | | Fixes #106
* code refactoring proposal (#155)olekstomek2021-07-311-25/+13
| | | | | | | | | | | | | * code refactoring proposal * convert function to an ES6 function * Update src/components/Card.js Suggested change Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com> Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
* Update public index.html to load with a relative path the css (#156)floviolleau2021-07-311-1/+1
|
* Rename 'en' to 'en-US' (#153)Ben Woodward2021-07-302-3/+3
| | | | | | | | | * Rename 'en' to 'en-US' Fixes #152 * English as first language option This produces the correct fallback selection when the browser language is not yet translated
* remember the password even if it is cleared by the None option (#127)olekstomek2021-07-301-3/+2
| | | | | | | * remember the password even if it is cleared by the None option * refactor remembering password after code review * fixes: label and checking encryption mode for saving password
* Add checkbox state to fix issue (#134)Pushpender Saini2021-07-301-2/+10
| | | | | | | * Add checkbox state to fix issue: 'None' Encryption disable Checkbox of 'Hide password field before printing' * Checkbox implimentation with newtork.hidePassword * Remove hidePassword from line :191 and :202
* Language dropdown formatting (#149)Ben Woodward2021-07-302-21/+21
| | | | | | | | | | | | | | | | | | | | | | | * Sort and format language dropdown - Format languages in `latinName - nativeName` to account for RTL languages - Lexicographic order * Use generic English translation The current English translation covers both US and GB, so prefer a generic implementation until it doesn't make sense. * Update src/App.js Co-authored-by: Andanan <dev.andanan@e.mail.de> * Update src/App.js Co-authored-by: Ahmed Tarek <ahmed.tokyo1@gmail.com> Co-authored-by: Andanan <dev.andanan@e.mail.de> Co-authored-by: Ahmed Tarek <ahmed.tokyo1@gmail.com>
* feat: add Language contribution guide in README (#120)Baoyuan2021-07-301-0/+9
| | | | | | | | | | | | | | | | | * fix: unmatched title * feat: add Language contribution guide * fix: update README * Update README.md Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com> * Update README.md Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com> Co-authored-by: Ben Woodward <benjamindwoodward@gmail.com>
* Update support for portuguese language (#148)Ben Woodward2021-07-291-9/+7
| | | | | | | * Update i18n.js * Update i18n.js Co-authored-by: Nuninha-GC <nuruldecarvalho@gmail.com>
* :books: update docs with automated configs (#147)Ahmed Tarek2021-07-291-14/+1
|
* Update meta desc (#146)Ben Woodward2021-07-291-33/+35
| | | | | | | | | * Revert ":sparkles: add desc attribute to index.html (#129)" This reverts commit 28b39bd026d1c13150856d84170fe6127288e104. * Update meta desc Page descriptions belong in a meta tag
* 🔨 add husky precommit to auto run prettier (#128)Ahmed Tarek2021-07-293-5/+17
| | | | | * :sparkles: add husky precommit to auto run prettier * yarn
* :sparkles: add desc attribute to index.html (#129)Ahmed Tarek2021-07-291-0/+1
|
* Italian translation (#145)Ben Woodward2021-07-293-0/+29
| | | | | | | | | | | | | * Update i18n.js added Italian translation * Update App.js * Update README.md * Merge branch 'master' into patch-1 Co-authored-by: Domenico Pascucci <22801617+pasmimmo@users.noreply.github.com>
* 🐛 fix rtl direction bugs (#124)Ahmed Tarek2021-07-291-36/+40
| | | | | * :bug: fix rtl direction bugs * fix conflicts
* Occitan translation (#144)Ben Woodward2021-07-293-0/+28
| | | | | | | | | * Adds Occitan * Adds Occitan * Update README.md Co-authored-by: ensag-dev <59049879+ensag-dev@users.noreply.github.com>
* Arabic translation (#143)Ben Woodward2021-07-293-7/+36
| | | | | | | | | | | * 🇪🇬 add Arabic language * Update README.md * :art: centralize lang dir selection * :bug: hotfix initial direction Co-authored-by: Ahmed Tarek <ahmed.tokyo1@gmail.com>
* Polish translation (#142)Ben Woodward2021-07-293-0/+31
| | | | | | | | | * add polish language * add polish language * add polish language Co-authored-by: olekstomek <olekstomek@gmail.com>
* Improve Portuguese translation to Portugal PT-pt (#113)Henrique2021-07-291-9/+11
| | | | | | | * Melhorar tradução Portuguesa de Portugal PT-pt Melhorar tradução Portuguesa de Portugal PT-pt * prettier code style update
* Indonesia translation (#141)Ben Woodward2021-07-293-0/+27
| | | | | | | * feat(i18n): add Indonesia language * update(readme): add indonesia on supported lang Co-authored-by: Ryan Aunur <ryandevstudio@gmail.com>
* German translation (#140)Ben Woodward2021-07-293-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added de-DE translations * updated sentence which links to the source code in the previous commit the sentence needs an 'an' behind the 'source code' so i altered the sentence to fit the layout * de-DE improvements changed source code to Quellcode Co-authored-by: Andanan <dev.andanan@e.mail.de> * de-DE improvements Co-authored-by: Andanan <dev.andanan@e.mail.de> * de-DE improvements Co-authored-by: Andanan <dev.andanan@e.mail.de> * fix lint Co-authored-by: Andanan <dev.andanan@e.mail.de> * improved the de-DE translation * Update src/i18n.js Co-authored-by: Andanan <dev.andanan@e.mail.de> * Complete German translation Co-authored-by: Chris Winter <chris-winter@live.de> Co-authored-by: Andanan <dev.andanan@e.mail.de>
* QR Code sharpness (#139)Ben Woodward2021-07-293-14/+18
| | | | | | | | | | | * resolved issue #82 * added max and min widht at style.css * render as svg * added credits to the pt-br language and runned fmt.write Co-authored-by: ismaelpereira <ismaelfgpereira@gmail.com>
* Catalan translation (#138)Ben Woodward2021-07-293-13/+42
| | | | | | | | | * Update i18n.js Catalan translation * Add Catalan credit Co-authored-by: Aniol <aneolus@gmail.com>
* Make language display consistent (#137)Ben Woodward2021-07-291-14/+14
| | | Co-authored-by: Kishor Bhat <kishorbhat@gmail.com>
* Add support for hindi language (#121)Pushpender Saini2021-07-283-0/+29
| | | | | * Add support for hindi language * Update README.md
* fix for loop to for-of - SonarLint warning (#112)olekstomek2021-07-261-5/+4
| | | | | | | * fix for loop to for-of - SonarLint warning * just remove empty line * improvement the loop that builds values for qr code
* hide password option is possible when password has correct length for… (#103)olekstomek2021-07-261-0/+13
| | | | | | | | | * hide password option is possible when password has correct length for WEP and WPA * refactor, logic is factored out into a function instead of in-lined in the markup * refactor of function because Sonar warning * improvement after code review - move function
* added turkish language (#114)Riza Ergun2021-07-263-1/+28
| | | | | | | | | | | | | * added turkish language * minor changes * run make fmt.write * updated readme for turkish language * missign the trailing * fixed language name
* add message that Internet Explorer is not supported (#107)olekstomek2021-07-261-21/+34
| | | | | | | * add message that Internet Explorer is not supported * change order browser names in message in IE * increase font size of message that IE is not supported
* label attribute for->htmlFor (#97)hatsu2021-07-261-4/+4
|
* Add RTL Direction & Persian Translation (#79)Ramin2021-07-263-5/+51
| | | | | | | | | * feat: add RTL direction and persian lang * feat: init RTL direction * fix: style issues Co-authored-by: Ramin <r.rezaei@digikala.com>
* feat(i18n): add French (fr-FR) (#108)Divlo2021-07-243-0/+29
|
* generated PDF has name WiFi Card with your network name (#102)olekstomek2021-07-241-0/+1
|