2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: Translation for default (light) color scheme was missing

This commit is contained in:
Gerhard Schlager 2018-07-25 11:25:14 +02:00
parent 8209555497
commit 9989c8179d

View file

@ -97,7 +97,7 @@ class Admin::ThemesController < Admin::AdminController
def index
@theme = Theme.order(:name).includes(:theme_fields, :remote_theme)
@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)
payload = {