Capitalisation of colour themes

This commit is contained in:
goobertron 2016-08-16 20:46:10 +01:00 committed by Steffen van Bergerem
parent 78359d69d8
commit 6657fd51fa
No known key found for this signature in database
GPG key ID: 315C9787D548DC6B
2 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
available:
original: "Original Gray"
original_white: "Original White Background"
dark_green: "Dark Green"
original: "Original gray"
original_white: "Original white background"
dark_green: "Dark green"
magenta: "Magenta"
egyptian_blue: "Egyptian Blue"
egyptian_blue: "Egyptian blue"
dark: "Dark"

View file

@ -10,10 +10,10 @@ if color_themes_file.exist?
if color_themes["available"].length > 0
color_themes["available"]
else
{"original" => "Original Gray"}
{"original" => "Original gray"}
end
else
AVAILABLE_COLOR_THEMES = {"original" => "Original Gray"}.freeze
AVAILABLE_COLOR_THEMES = {"original" => "Original gray"}.freeze
end
# Get all codes from available themes into a separate variable, so that they can be called easier.
AVAILABLE_COLOR_THEME_CODES = AVAILABLE_COLOR_THEMES.keys