class PrivateParlorXT::Locale

Overview

A container for general localization values

Included Modules

Defined in:

private-parlor-xt/locale/locale.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def change : Array(String) #

Returns an array of symbols for increasing and decreasing change


[View source]
def loading_bar : Array(String) #

Returns an array of pips for the loading bar from empty, partially full, to full


[View source]
def statistics_screens : Hash(Statistics::StatScreens, String) #

Returns hash of Statistics::StatScreens to String, where the String contains the localized name for that Statistics::StatScreens


[View source]
def time_format : String #

Returns the format for timestamps


[View source]
def time_units : Array(String) #

Returns an array of short time units from largest unit to smallest


[View source]
def toggle : Array(String) #

Returns an array of words for when a setting is turned off or on


[View source]