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.pull/5313/head
parent
7ff71cd41e
commit
61b608e264
|
@ -121,7 +121,7 @@ If your database needs additional settings, you will have to use a personalized
|
||||||
| `PAD_OPTIONS_RTL` | | `false` |
|
| `PAD_OPTIONS_RTL` | | `false` |
|
||||||
| `PAD_OPTIONS_ALWAYS_SHOW_CHAT` | | `false` |
|
| `PAD_OPTIONS_ALWAYS_SHOW_CHAT` | | `false` |
|
||||||
| `PAD_OPTIONS_CHAT_AND_USERS` | | `false` |
|
| `PAD_OPTIONS_CHAT_AND_USERS` | | `false` |
|
||||||
| `PAD_OPTIONS_LANG` | | `en-gb` |
|
| `PAD_OPTIONS_LANG` | | `null` |
|
||||||
|
|
||||||
|
|
||||||
### Shortcuts
|
### Shortcuts
|
||||||
|
|
|
@ -239,7 +239,7 @@
|
||||||
"rtl": "${PAD_OPTIONS_RTL:false}",
|
"rtl": "${PAD_OPTIONS_RTL:false}",
|
||||||
"alwaysShowChat": "${PAD_OPTIONS_ALWAYS_SHOW_CHAT:false}",
|
"alwaysShowChat": "${PAD_OPTIONS_ALWAYS_SHOW_CHAT:false}",
|
||||||
"chatAndUsers": "${PAD_OPTIONS_CHAT_AND_USERS:false}",
|
"chatAndUsers": "${PAD_OPTIONS_CHAT_AND_USERS:false}",
|
||||||
"lang": "${PAD_OPTIONS_LANG:en-gb}"
|
"lang": "${PAD_OPTIONS_LANG:null}"
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -240,7 +240,7 @@
|
||||||
"rtl": false,
|
"rtl": false,
|
||||||
"alwaysShowChat": false,
|
"alwaysShowChat": false,
|
||||||
"chatAndUsers": false,
|
"chatAndUsers": false,
|
||||||
"lang": "en-gb"
|
"lang": null
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -170,7 +170,7 @@ exports.padOptions = {
|
||||||
rtl: false,
|
rtl: false,
|
||||||
alwaysShowChat: false,
|
alwaysShowChat: false,
|
||||||
chatAndUsers: false,
|
chatAndUsers: false,
|
||||||
lang: 'en-gb',
|
lang: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue