mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
FIX: Translation for default (light) color scheme was missing
This commit is contained in:
parent
8209555497
commit
9989c8179d
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class Admin::ThemesController < Admin::AdminController
|
||||||
def index
|
def index
|
||||||
@theme = Theme.order(:name).includes(:theme_fields, :remote_theme)
|
@theme = Theme.order(:name).includes(:theme_fields, :remote_theme)
|
||||||
@color_schemes = ColorScheme.all.to_a
|
@color_schemes = ColorScheme.all.to_a
|
||||||
light = ColorScheme.new(name: I18n.t("color_schemes.default"))
|
light = ColorScheme.new(name: I18n.t("color_schemes.light"))
|
||||||
@color_schemes.unshift(light)
|
@color_schemes.unshift(light)
|
||||||
|
|
||||||
payload = {
|
payload = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue