Skip to content

Instantly share code, notes, and snippets.

@schacon
Created March 2, 2010 17:49
Show Gist options
  • Save schacon/319715 to your computer and use it in GitHub Desktop.
Save schacon/319715 to your computer and use it in GitHub Desktop.
{:en=>
{:hello=>"Hello world",
:support=>{:array=>{:skip_last_comma=>false, :sentence_connector=>"and"}},
:activerecord=>
{:errors=>
{:models=>nil,
:messages=>
{:accepted=>"must be accepted",
:less_than=>"must be less than {{count}}",
:inclusion=>"is not included in the list",
:too_short=>"is too short (minimum is {{count}} characters)",
:less_than_or_equal_to=>"must be less than or equal to {{count}}",
:too_long=>"is too long (maximum is {{count}} characters)",
:odd=>"must be odd",
:greater_than=>"must be greater than {{count}}",
<"translation missing: en, activerecord, attributes, repository, name translation missing: en, activerecord, errors, models, repository, attributes, name, too_short"> expected to be =~
</too short/i>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment