diff options
author | azul <azul@riseup.net> | 2014-04-25 16:25:16 +0200 |
---|---|---|
committer | azul <azul@riseup.net> | 2014-04-25 16:25:16 +0200 |
commit | b7dc6ee5220a2d7865bdd86eb86e1fbed4ca28d3 (patch) | |
tree | 9d15194f4cd765a7866e93b1b3eb30c9c52ffda4 /config | |
parent | 76ad25ba0ee344f185f8e8cdfe066685cd3b0447 (diff) | |
parent | ed3575856276f25b7c8253e302646dc7684a5da8 (diff) |
Merge pull request #150 from azul/bugfix/5542-capitalize-loading
Bugfix/5542 capitalize loading
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/simple_form.rb | 2 | ||||
-rw-r--r-- | config/locales/simple_form.en.yml | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb index e3f8d09..710dacc 100644 --- a/config/initializers/simple_form.rb +++ b/config/initializers/simple_form.rb @@ -1,3 +1,5 @@ +require 'extensions/simple_form' + # Use this setup block to configure all options available in SimpleForm. SimpleForm.setup do |config| # Wrappers are used by the form builder to generate a diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 0df11fe..5d0c675 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -10,6 +10,9 @@ en: # html: '<abbr title="required">*</abbr>' error_notification: default_message: "Please review the problems below:" + buttons: + cancel: 'Cancel' + loading: 'Loading...' # Labels and hints examples # labels: # defaults: @@ -23,4 +26,11 @@ en: # defaults: # username: 'User name to sign in.' # password: 'No special characters, please.' + helpers: + submit: + user: + create: "Sign up" + update: "Save" + session: + create: "Log in" |