diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-28 15:08:24 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-28 15:08:24 +0200 |
| commit | f6b4748685dc000d1dd8d244ddf11def38410940 (patch) | |
| tree | 8ea48b8760257525744b3d9733350c23b9491f71 /htdocs/index.html | |
| parent | 011339bde7e2b482ff78fdb084fbe2af4482076e (diff) | |
fix(i18n): use english language if preferred language is not supported
If the language is not supported, the 'code' property does not exist.
So I need to check its existence before using it. Now, the 'en'
fallback is working.
Diffstat (limited to 'htdocs/index.html')
0 files changed, 0 insertions, 0 deletions
