Sha256: bfcef4bb24e199cbb8b52361245e02dda1e3e435e598420d9b0a90820b845046
Contents?: true
Size: 1.32 KB
Versions: 14
Compression:
Stored size: 1.32 KB
Contents
class GettextSimpleRails::Translators::NumberTranslator def detected? true end def translations return { "number" => { "currency" => { "format" => { "delimiter" => ",", "format" => "%n %u", "separator" => ".", "unit" => "$" } }, "format" => { "delimiter" => ",", "separator" => ".", }, "human" => { "decimal_units" => { "format" => "%n %u", "units" => { "billion" => "Billion", "million" => "Million", "quadrillion" => "Quadrillion", "thousand" => "Thousand", "trillion" => "Trillion", "unit" => "" } }, "format" => { "delimiter" => "" }, "storage_units" => { "format" => "%n %u", "units" => { "byte" => { "one" => "Byte", "other" => "Bytes" }, "gb" => "GB", "kb" => "KB", "mb" => "MB", "tb" => "TB" } } }, "percentage" => { "format" => { "delimiter" => "" } } } } end end
Version data entries
14 entries across 14 versions & 1 rubygems