pad: Use `null` as default for `lang` option

It doesn't make sense to override the browser's language with `en-gb`
by default.

Note that this change has no effect due to a bug in how pad options
are processed; that bug will be fixed in a future commit.
This commit is contained in:
Richard Hansen 2021-12-04 21:33:38 -05:00
parent 7ff71cd41e
commit 61b608e264
4 changed files with 4 additions and 4 deletions

View File

@ -121,7 +121,7 @@ If your database needs additional settings, you will have to use a personalized
| `PAD_OPTIONS_RTL` | | `false` |
| `PAD_OPTIONS_ALWAYS_SHOW_CHAT` | | `false` |
| `PAD_OPTIONS_CHAT_AND_USERS` | | `false` |
| `PAD_OPTIONS_LANG` | | `en-gb` |
| `PAD_OPTIONS_LANG` | | `null` |
### Shortcuts

View File

@ -239,7 +239,7 @@
"rtl": "${PAD_OPTIONS_RTL:false}",
"alwaysShowChat": "${PAD_OPTIONS_ALWAYS_SHOW_CHAT:false}",
"chatAndUsers": "${PAD_OPTIONS_CHAT_AND_USERS:false}",
"lang": "${PAD_OPTIONS_LANG:en-gb}"
"lang": "${PAD_OPTIONS_LANG:null}"
},
/*

View File

@ -240,7 +240,7 @@
"rtl": false,
"alwaysShowChat": false,
"chatAndUsers": false,
"lang": "en-gb"
"lang": null
},
/*

View File

@ -170,7 +170,7 @@ exports.padOptions = {
rtl: false,
alwaysShowChat: false,
chatAndUsers: false,
lang: 'en-gb',
lang: null,
};
/**