Skip to content

Instantly share code, notes, and snippets.

@jzajpt
Created February 8, 2009 11:03
Show Gist options
  • Save jzajpt/60342 to your computer and use it in GitHub Desktop.
Save jzajpt/60342 to your computer and use it in GitHub Desktop.
# cs_action_view.yml
cs:
number:
# Used in number_with_delimiter()
# These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
format:
# Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
separator: ","
# Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
delimiter: ","
# Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
precision: 3
# Used in number_to_currency()
currency:
format:
# Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
format: "%n %u"
unit: ""
# These three are to override number.format and are optional
separator: ","
delimiter: " "
precision: 2
# Used in number_to_percentage()
percentage:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:
# Used in number_to_precision()
precision:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
# precision:
# Used in number_to_human_size()
human:
format:
# These three are to override number.format and are optional
# separator:
delimiter: ""
precision: 1
storage_units:
# Storage units output formatting.
# %u is the storage unit, %n is the number (default: 2 MB)
format: "%n %u"
units:
byte:
one: "Bajt"
few: "Bajty"
other: "Bajtů"
kb: "KB"
mb: "MB"
gb: "GB"
tb: "TB"
# Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
datetime:
distance_in_words:
half_a_minute: "půl minuty"
less_than_x_seconds:
one: "méně než 1 vteřinu"
few: "méně než {{count}} vteřiny"
other: "méně než {{count}} vteřin"
x_seconds:
one: "1 vteřina"
few: "{{count}} vteřiny"
other: "{{count}} vteřin"
less_than_x_minutes:
one: "méně než minutu"
few: "méně než {{count}} minuty"
other: "méně než {{count}} minut"
x_minutes:
one: "1 minuta"
few: "{{few}} minuty"
other: "{{count}} minut"
about_x_hours:
one: "zhruba 1 hodina"
few: "zhruba {{count}} hodiny"
other: "zhruba {{count}} hodin"
x_days:
one: "1 den"
few: "{{count}} dny"
other: "{{count}} dní"
about_x_months:
one: "zhruba 1 měsíc"
few: "zhruba {{count}} měsíce"
other: "zhruba {{count}} měsíců"
x_months:
one: "1 měsíc"
few: "{{count}} měsíce"
other: "{{count}} měsíců"
about_x_years:
one: "zhruba 1 rok"
few: "zhruba {{count}} roky"
other: "zhruba {{count}} let"
over_x_years:
one: "přes 1 rok"
other: "přes {{count}} 2 roky"
other: "přes {{count}} let"
prompts:
year: "Rok"
month: "Měsíc"
day: "Den"
hour: "Hodina"
minute: "Minuta"
second: "Vteřina"
activerecord:
errors:
template:
header:
one: "{{count}} chyba znemožnila uložení záznamu {{model}}"
few: "{{count}} chyby znemožnila uložení záznamu {{model}}"
other: "{{count}} chyb znemožnily uložení záznamu {{model}}"
# The variable :count is also available
body: "Následující pole nejsou správně vyplněna:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment