mirror of
https://github.com/plankanban/planka.git
synced 2025-12-19 17:23:27 +03:00
fix: Set detected language on first login, remove auto-detect language option
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
* language:
|
||||
* type: string
|
||||
* enum: [ar-YE, bg-BG, cs-CZ, da-DK, de-DE, el-GR, en-GB, en-US, es-ES, et-EE, fa-IR, fi-FI, fr-FR, hu-HU, id-ID, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, pt-PT, ro-RO, ru-RU, sk-SK, sr-Cyrl-RS, sr-Latn-RS, sv-SE, tr-TR, uk-UA, uz-UZ, zh-CN, zh-TW]
|
||||
* nullable: true
|
||||
* description: Preferred language for user interface and notifications
|
||||
* example: en-US
|
||||
* subscribeToOwnCards:
|
||||
@@ -167,7 +166,6 @@ module.exports = {
|
||||
language: {
|
||||
type: 'string',
|
||||
isIn: User.LANGUAGES,
|
||||
allowNull: true,
|
||||
},
|
||||
subscribeToOwnCards: {
|
||||
type: 'boolean',
|
||||
|
||||
Reference in New Issue
Block a user