aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* adding support for punjabi langage (#247)Kuldeep Gill2022-07-281-0/+31
| | | Co-authored-by: kuldeep-gill-skydio <kuldeep.gill@skydio.com>
* Tweak Dutch translation (#244)Thomas Winant2022-07-171-8/+8
|
* refactor: optimize some codes (#238)灡谦2022-04-121-19/+15
|
* add yue-CN translation and slightly modify zh-HK (#233)ous502022-01-241-2/+32
| | | | | | | * Append an entry * add yue-CN translation and slightly modify zh-HK, as well as updating README.md * little changes
* Add Traditional Chinese (Taiwan) translations (#228)Dxball β˜•2022-01-031-1/+31
|
* Translation bugs (#227)Ben Woodward2021-12-281-5/+1
| | | | | | | * Fix PT hidden SSID translation Fixes #226 * Remove duplicate keys
* translation: update Turkish (#225)Ben Woodward2021-12-271-3/+6
|
* 🌐 update: Change some words for better understanding (#224)l2D2021-11-041-5/+5
|
* 🌐 translation: Add Thai language (#223)l2D2021-11-041-0/+30
| | | | | * 🌐 translation: Add Thai language * 🎨 format: Used `make fmt.write`
* Fix error if language doesn't have translation. (#221)RaphaΓ«l Stefanini2021-10-261-1/+1
| | | | Cause the page not to load. Fixes #214
* Update Italian translation (#220)Ben Woodward2021-10-251-1/+6
|
* Updated Brazilian Portuguese translation (#215)Heverton Coneglian de Freitas2021-09-111-1/+1
|
* Update German for #171 (#213)Ben Woodward2021-09-031-4/+5
|
* Update Hindi and Portuguese translations (#211)Ben Woodward2021-09-011-8/+14
| | | | | | | * Update Hindi translation for #171 * Update Portuguese translation for #171 * Update Brazilian Portuguese translation for #171
* Always add paddingRight for rtl (#207)Ben Woodward2021-08-282-3/+4
| | | | | | | | | | | | | * :bug: hotfix logo padding for rtl languages * manually run prettier * :bug: fix icons padding * :bug: fix header padding * Always add paddingRight for rtl Co-authored-by: Tokyo <ahmed.tokyo1@gmail.com>
* Ensure page direction is set properly on first load (#209)Ben Woodward2021-08-281-1/+8
| | | Fixes #201
* Swedish Translation (#208)Ben Woodward2021-08-271-0/+31
| | | | | | | | | | | | | * Added swedish translation * Added swedish translation * Added swedish translation Fixed typo * Prettier format Swedish translation Co-authored-by: ddund <68921570+ddund@users.noreply.github.com>
* Update Indonesian, Serbian, Dutch translations (#206)Ben Woodward2021-08-271-10/+16
| | | | | | | * Indonesian update for #171 * Serbian update for #171 * Dutch update for #171
* πŸ’¬ Updated norwegian translation. (#205)Thomas Qvidahl2021-08-271-3/+6
| | | | | | | * πŸ’¬ Updated norwegian translation. * 🎨 Code formatting. Co-authored-by: Thomas Qvidahl <thomas.qvidahl@tietoevry.com>
* 🌐πŸ‡ͺπŸ‡¬ Update arabic translations for #171 (#200)Ahmed Tarek2021-08-261-7/+8
| | | | | | | | | * πŸ‡ͺπŸ‡¬ Update arabic translations for #171 – Updates ar translations as per https://github.com/bndw/wifi-card/issues/171 * ⚑️ enhance ar * 🌐 fix ar genders
* Corrections in FR OC and CA (#198)ensag-dev2021-08-261-7/+8
| | | | | | | | | * Corrections in FR OC and CA * Update translations.js * Update translations.js * Update translations.js
* Update Japanese (#197)hatsu2021-08-261-3/+4
|
* update Polish translation (#195)olekstomek2021-08-261-4/+6
|
* Update Korean translation (#194)Seungbin Oh2021-08-261-3/+6
| | | | | * Update Korean translation * Update Korean translation
* Translation: Update Spanish and Hungarian (#193)Ben Woodward2021-08-181-4/+5
|
* feat(i18n): update French (fr-FR) (#192)Divlo2021-08-181-3/+4
|
* Backport translation changes (#190)Ben Woodward2021-08-181-37/+20
| | | | | | | * Remove unused 'button.settings' translation * Ukranian, Russian * Chinese translations
* Update Occitan and Catalan (#191)ensag-dev2021-08-181-2/+4
| | | For #190
* Urdu translation (#189)Ben Woodward2021-08-131-0/+32
| | | | | | | | | * update translate.js for urdu * Prettier formatting * Urdu credit Co-authored-by: Muhammad Hassan <mhassan.3939@gmail.com>
* fix: some translations error (#186)John Trump2021-08-121-2/+2
|
* 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-081-0/+62
| | | | | * 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
* 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-064-684/+729
| | | | | - Centralize user-defined translations into a single file - Automatically sort the language dropdown - Update the translation contribution guide
* Style and code refactor (#166)Ben Woodward2021-08-057-308/+401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* ✨ Adds Norwegian translation. (#160)Thomas Qvidahl2021-08-032-0/+27
| | | | | | | * ✨ Adds Norwegian translation. * 🎨 Fixed formatting. Co-authored-by: Thomas Qvidahl <thomas.qvidahl@tietoevry.com>
* πŸ‡°πŸ‡· Add Korean translation (#163)Seungbin Oh2021-08-022-0/+26
|
* 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>
* 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>
* 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>
* Italian translation (#145)Ben Woodward2021-07-292-0/+28
| | | | | | | | | | | | | * 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>