mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
New config DefaultLanguage. Closes #1561
This commit is contained in:
parent
72cde6dfde
commit
cb3ba23fce
8 changed files with 75 additions and 24 deletions
|
@ -48,6 +48,7 @@ type configOptions struct {
|
|||
EnableStarRating bool
|
||||
EnableUserEditing bool
|
||||
DefaultTheme string
|
||||
DefaultLanguage string
|
||||
EnableCoverAnimation bool
|
||||
GATrackingID string
|
||||
EnableLogRedacting bool
|
||||
|
@ -231,6 +232,7 @@ func init() {
|
|||
viper.SetDefault("enablestarrating", true)
|
||||
viper.SetDefault("enableuserediting", true)
|
||||
viper.SetDefault("defaulttheme", "Dark")
|
||||
viper.SetDefault("defaultlanguage", "")
|
||||
viper.SetDefault("enablecoveranimation", true)
|
||||
viper.SetDefault("gatrackingid", "")
|
||||
viper.SetDefault("enablelogredacting", true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue