| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
| |
* Hunagrian lang added 🇭🇺
* Fix 'None' field translation at encryptions
* Fix SelectField error
|
| |
|
|
|
| |
- Centralize user-defined translations into a single file
- Automatically sort the language dropdown
- Update the translation contribution guide
|
|
|
* 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
|