mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Change i18n to just use single language setting
This commit is contained in:
@@ -110,10 +110,6 @@ func (r *mutationResolver) ConfigureInterface(ctx context.Context, input models.
|
||||
config.Set(config.Language, *input.Language)
|
||||
}
|
||||
|
||||
if input.Locale != nil {
|
||||
config.Set(config.Locale, *input.Locale)
|
||||
}
|
||||
|
||||
css := ""
|
||||
|
||||
if input.CSS != nil {
|
||||
|
||||
@@ -57,7 +57,6 @@ func makeConfigInterfaceResult() *models.ConfigInterfaceResult {
|
||||
showStudioAsText := config.GetShowStudioAsText()
|
||||
css := config.GetCSS()
|
||||
cssEnabled := config.GetCSSEnabled()
|
||||
locale := config.GetLocale()
|
||||
language := config.GetLanguage()
|
||||
|
||||
|
||||
@@ -70,6 +69,5 @@ func makeConfigInterfaceResult() *models.ConfigInterfaceResult {
|
||||
CSS: &css,
|
||||
CSSEnabled: &cssEnabled,
|
||||
Language: &language,
|
||||
Locale: &locale,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user