manage 1.3.41 → 1.3.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +2 -0
- data/Rakefile +31 -31
- data/app/assets/javascripts/manage/collection_actions.js.coffee +30 -30
- data/app/assets/javascripts/manage/handlers.js.coffee +46 -46
- data/app/assets/javascripts/manage/table_checkboxes.js.coffee +11 -11
- data/app/controllers/manage/application_controller.rb +13 -13
- data/app/controllers/manage/dashboards_controller.rb +4 -4
- data/app/controllers/manage/responder.rb +11 -11
- data/app/controllers/manage/sessions_controller.rb +11 -11
- data/app/helpers/manage/application_helper.rb +42 -42
- data/app/helpers/manage/form_helper.rb +21 -21
- data/app/helpers/manage/resource_helper.rb +77 -77
- data/app/models/admin_user.rb +4 -4
- data/app/views/layouts/manage/_main_menu.html.slim +52 -52
- data/app/views/layouts/manage/sign_in.html.slim +30 -30
- data/app/views/manage/resource/_form.html.slim +4 -4
- data/app/views/manage/resource/index/_collection_actions.html.slim +2 -2
- data/app/views/manage/resource/index/_count.html.slim +6 -6
- data/app/views/manage/resource/show.html.slim +10 -10
- data/app/views/manage/sessions/new.html.slim +10 -10
- data/config/initializers/devise.rb +247 -247
- data/config/initializers/session_store.rb +1 -3
- data/config/initializers/simple_form.rb +145 -145
- data/config/initializers/simple_form_foundation.rb +26 -26
- data/config/locales/devise.en.yml +59 -59
- data/config/locales/en.yml +20 -20
- data/config/routes.rb +10 -10
- data/db/migrate/20131204142720_create_admin_users.rb +24 -24
- data/lib/manage.rb +5 -5
- data/lib/manage/engine.rb +21 -21
- data/lib/manage/fields.rb +6 -6
- data/lib/manage/version.rb +1 -1
- data/lib/tasks/manage_tasks.rake +15 -15
- data/lib/templates/erb/scaffold/_form.html.erb +13 -13
- data/spec/controllers/manage/resource_controller_spec.rb +29 -29
- data/spec/dummy/README.rdoc +28 -28
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/javascripts/application.js +13 -13
- data/spec/dummy/app/assets/stylesheets/application.css +13 -13
- data/spec/dummy/app/controllers/application_controller.rb +5 -5
- data/spec/dummy/app/controllers/manage/posts_controller.rb +4 -4
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/models/post.rb +3 -3
- data/spec/dummy/app/models/user.rb +5 -5
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +24 -24
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +29 -29
- data/spec/dummy/config/environments/production.rb +80 -80
- data/spec/dummy/config/environments/test.rb +36 -36
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +5 -5
- data/spec/dummy/config/initializers/secret_token.rb +12 -12
- data/spec/dummy/config/initializers/session_store.rb +3 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +23 -23
- data/spec/dummy/config/routes.rb +10 -10
- data/spec/dummy/db/migrate/20130716083410_init_migration.rb +21 -21
- data/spec/dummy/db/schema.rb +53 -53
- data/spec/dummy/public/404.html +58 -58
- data/spec/dummy/public/422.html +58 -58
- data/spec/dummy/public/500.html +57 -57
- data/spec/fields/reader_spec.rb +79 -79
- data/spec/spec_helper.rb +24 -24
- metadata +24 -24
@@ -1,145 +1,145 @@
|
|
1
|
-
# Use this setup block to configure all options available in SimpleForm.
|
2
|
-
SimpleForm.setup do |config|
|
3
|
-
# Wrappers are used by the form builder to generate a
|
4
|
-
# complete input. You can remove any component from the
|
5
|
-
# wrapper, change the order or even add your own to the
|
6
|
-
# stack. The options given below are used to wrap the
|
7
|
-
# whole input.
|
8
|
-
config.wrappers :default, class: :input,
|
9
|
-
hint_class: :field_with_hint, error_class: :field_with_errors do |b|
|
10
|
-
## Extensions enabled by default
|
11
|
-
# Any of these extensions can be disabled for a
|
12
|
-
# given input by passing: `f.input EXTENSION_NAME => false`.
|
13
|
-
# You can make any of these extensions optional by
|
14
|
-
# renaming `b.use` to `b.optional`.
|
15
|
-
|
16
|
-
# Determines whether to use HTML5 (:email, :url, ...)
|
17
|
-
# and required attributes
|
18
|
-
b.use :html5
|
19
|
-
|
20
|
-
# Calculates placeholders automatically from I18n
|
21
|
-
# You can also pass a string as f.input placeholder: "Placeholder"
|
22
|
-
b.use :placeholder
|
23
|
-
|
24
|
-
## Optional extensions
|
25
|
-
# They are disabled unless you pass `f.input EXTENSION_NAME => :lookup`
|
26
|
-
# to the input. If so, they will retrieve the values from the model
|
27
|
-
# if any exists. If you want to enable the lookup for any of those
|
28
|
-
# extensions by default, you can change `b.optional` to `b.use`.
|
29
|
-
|
30
|
-
# Calculates maxlength from length validations for string inputs
|
31
|
-
b.optional :maxlength
|
32
|
-
|
33
|
-
# Calculates pattern from format validations for string inputs
|
34
|
-
b.optional :pattern
|
35
|
-
|
36
|
-
# Calculates min and max from length validations for numeric inputs
|
37
|
-
b.optional :min_max
|
38
|
-
|
39
|
-
# Calculates readonly automatically from readonly attributes
|
40
|
-
b.optional :readonly
|
41
|
-
|
42
|
-
## Inputs
|
43
|
-
b.use :label_input
|
44
|
-
b.use :hint, wrap_with: { tag: :span, class: :hint }
|
45
|
-
b.use :error, wrap_with: { tag: :span, class: :error }
|
46
|
-
end
|
47
|
-
|
48
|
-
# The default wrapper to be used by the FormBuilder.
|
49
|
-
config.default_wrapper = :default
|
50
|
-
|
51
|
-
# Define the way to render check boxes / radio buttons with labels.
|
52
|
-
# Defaults to :nested for bootstrap config.
|
53
|
-
# inline: input + label
|
54
|
-
# nested: label > input
|
55
|
-
config.boolean_style = :nested
|
56
|
-
|
57
|
-
# Default class for buttons
|
58
|
-
config.button_class = 'btn'
|
59
|
-
|
60
|
-
# Method used to tidy up errors. Specify any Rails Array method.
|
61
|
-
# :first lists the first message for each field.
|
62
|
-
# Use :to_sentence to list all errors for each field.
|
63
|
-
# config.error_method = :first
|
64
|
-
|
65
|
-
# Default tag used for error notification helper.
|
66
|
-
config.error_notification_tag = :div
|
67
|
-
|
68
|
-
# CSS class to add for error notification helper.
|
69
|
-
config.error_notification_class = 'alert alert-error'
|
70
|
-
|
71
|
-
# ID to add for error notification helper.
|
72
|
-
# config.error_notification_id = nil
|
73
|
-
|
74
|
-
# Series of attempts to detect a default label method for collection.
|
75
|
-
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
76
|
-
|
77
|
-
# Series of attempts to detect a default value method for collection.
|
78
|
-
# config.collection_value_methods = [ :id, :to_s ]
|
79
|
-
|
80
|
-
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
81
|
-
# config.collection_wrapper_tag = nil
|
82
|
-
|
83
|
-
# You can define the class to use on all collection wrappers. Defaulting to none.
|
84
|
-
# config.collection_wrapper_class = nil
|
85
|
-
|
86
|
-
# You can wrap each item in a collection of radio/check boxes with a tag,
|
87
|
-
# defaulting to :span. Please note that when using :boolean_style = :nested,
|
88
|
-
# SimpleForm will force this option to be a label.
|
89
|
-
# config.item_wrapper_tag = :span
|
90
|
-
|
91
|
-
# You can define a class to use in all item wrappers. Defaulting to none.
|
92
|
-
# config.item_wrapper_class = nil
|
93
|
-
|
94
|
-
# How the label text should be generated altogether with the required text.
|
95
|
-
# config.label_text = lambda { |label, required| "#{required} #{label}" }
|
96
|
-
|
97
|
-
# You can define the class to use on all labels. Default is nil.
|
98
|
-
config.label_class = 'control-label'
|
99
|
-
|
100
|
-
# You can define the class to use on all forms. Default is simple_form.
|
101
|
-
# config.form_class = :simple_form
|
102
|
-
|
103
|
-
# You can define which elements should obtain additional classes
|
104
|
-
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
105
|
-
|
106
|
-
# Whether attributes are required by default (or not). Default is true.
|
107
|
-
# config.required_by_default = true
|
108
|
-
|
109
|
-
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
|
110
|
-
# These validations are enabled in SimpleForm's internal config but disabled by default
|
111
|
-
# in this configuration, which is recommended due to some quirks from different browsers.
|
112
|
-
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
|
113
|
-
# change this configuration to true.
|
114
|
-
config.browser_validations = false
|
115
|
-
|
116
|
-
# Collection of methods to detect if a file type was given.
|
117
|
-
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
118
|
-
|
119
|
-
# Custom mappings for input types. This should be a hash containing a regexp
|
120
|
-
# to match as key, and the input type that will be used when the field name
|
121
|
-
# matches the regexp as value.
|
122
|
-
# config.input_mappings = { /count/ => :integer }
|
123
|
-
|
124
|
-
# Custom wrappers for input types. This should be a hash containing an input
|
125
|
-
# type as key and the wrapper that will be used for all inputs with specified type.
|
126
|
-
# config.wrapper_mappings = { string: :prepend }
|
127
|
-
|
128
|
-
# Default priority for time_zone inputs.
|
129
|
-
# config.time_zone_priority = nil
|
130
|
-
|
131
|
-
# Default priority for country inputs.
|
132
|
-
# config.country_priority = nil
|
133
|
-
|
134
|
-
# When false, do not use translations for labels.
|
135
|
-
# config.translate_labels = true
|
136
|
-
|
137
|
-
# Automatically discover new inputs in Rails' autoload path.
|
138
|
-
# config.inputs_discovery = true
|
139
|
-
|
140
|
-
# Cache SimpleForm inputs discovery
|
141
|
-
# config.cache_discovery = !Rails.env.development?
|
142
|
-
|
143
|
-
# Default class for inputs
|
144
|
-
# config.input_class = nil
|
145
|
-
end
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
2
|
+
SimpleForm.setup do |config|
|
3
|
+
# Wrappers are used by the form builder to generate a
|
4
|
+
# complete input. You can remove any component from the
|
5
|
+
# wrapper, change the order or even add your own to the
|
6
|
+
# stack. The options given below are used to wrap the
|
7
|
+
# whole input.
|
8
|
+
config.wrappers :default, class: :input,
|
9
|
+
hint_class: :field_with_hint, error_class: :field_with_errors do |b|
|
10
|
+
## Extensions enabled by default
|
11
|
+
# Any of these extensions can be disabled for a
|
12
|
+
# given input by passing: `f.input EXTENSION_NAME => false`.
|
13
|
+
# You can make any of these extensions optional by
|
14
|
+
# renaming `b.use` to `b.optional`.
|
15
|
+
|
16
|
+
# Determines whether to use HTML5 (:email, :url, ...)
|
17
|
+
# and required attributes
|
18
|
+
b.use :html5
|
19
|
+
|
20
|
+
# Calculates placeholders automatically from I18n
|
21
|
+
# You can also pass a string as f.input placeholder: "Placeholder"
|
22
|
+
b.use :placeholder
|
23
|
+
|
24
|
+
## Optional extensions
|
25
|
+
# They are disabled unless you pass `f.input EXTENSION_NAME => :lookup`
|
26
|
+
# to the input. If so, they will retrieve the values from the model
|
27
|
+
# if any exists. If you want to enable the lookup for any of those
|
28
|
+
# extensions by default, you can change `b.optional` to `b.use`.
|
29
|
+
|
30
|
+
# Calculates maxlength from length validations for string inputs
|
31
|
+
b.optional :maxlength
|
32
|
+
|
33
|
+
# Calculates pattern from format validations for string inputs
|
34
|
+
b.optional :pattern
|
35
|
+
|
36
|
+
# Calculates min and max from length validations for numeric inputs
|
37
|
+
b.optional :min_max
|
38
|
+
|
39
|
+
# Calculates readonly automatically from readonly attributes
|
40
|
+
b.optional :readonly
|
41
|
+
|
42
|
+
## Inputs
|
43
|
+
b.use :label_input
|
44
|
+
b.use :hint, wrap_with: { tag: :span, class: :hint }
|
45
|
+
b.use :error, wrap_with: { tag: :span, class: :error }
|
46
|
+
end
|
47
|
+
|
48
|
+
# The default wrapper to be used by the FormBuilder.
|
49
|
+
config.default_wrapper = :default
|
50
|
+
|
51
|
+
# Define the way to render check boxes / radio buttons with labels.
|
52
|
+
# Defaults to :nested for bootstrap config.
|
53
|
+
# inline: input + label
|
54
|
+
# nested: label > input
|
55
|
+
config.boolean_style = :nested
|
56
|
+
|
57
|
+
# Default class for buttons
|
58
|
+
config.button_class = 'btn'
|
59
|
+
|
60
|
+
# Method used to tidy up errors. Specify any Rails Array method.
|
61
|
+
# :first lists the first message for each field.
|
62
|
+
# Use :to_sentence to list all errors for each field.
|
63
|
+
# config.error_method = :first
|
64
|
+
|
65
|
+
# Default tag used for error notification helper.
|
66
|
+
config.error_notification_tag = :div
|
67
|
+
|
68
|
+
# CSS class to add for error notification helper.
|
69
|
+
config.error_notification_class = 'alert alert-error'
|
70
|
+
|
71
|
+
# ID to add for error notification helper.
|
72
|
+
# config.error_notification_id = nil
|
73
|
+
|
74
|
+
# Series of attempts to detect a default label method for collection.
|
75
|
+
# config.collection_label_methods = [ :to_label, :name, :title, :to_s ]
|
76
|
+
|
77
|
+
# Series of attempts to detect a default value method for collection.
|
78
|
+
# config.collection_value_methods = [ :id, :to_s ]
|
79
|
+
|
80
|
+
# You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.
|
81
|
+
# config.collection_wrapper_tag = nil
|
82
|
+
|
83
|
+
# You can define the class to use on all collection wrappers. Defaulting to none.
|
84
|
+
# config.collection_wrapper_class = nil
|
85
|
+
|
86
|
+
# You can wrap each item in a collection of radio/check boxes with a tag,
|
87
|
+
# defaulting to :span. Please note that when using :boolean_style = :nested,
|
88
|
+
# SimpleForm will force this option to be a label.
|
89
|
+
# config.item_wrapper_tag = :span
|
90
|
+
|
91
|
+
# You can define a class to use in all item wrappers. Defaulting to none.
|
92
|
+
# config.item_wrapper_class = nil
|
93
|
+
|
94
|
+
# How the label text should be generated altogether with the required text.
|
95
|
+
# config.label_text = lambda { |label, required| "#{required} #{label}" }
|
96
|
+
|
97
|
+
# You can define the class to use on all labels. Default is nil.
|
98
|
+
config.label_class = 'control-label'
|
99
|
+
|
100
|
+
# You can define the class to use on all forms. Default is simple_form.
|
101
|
+
# config.form_class = :simple_form
|
102
|
+
|
103
|
+
# You can define which elements should obtain additional classes
|
104
|
+
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
105
|
+
|
106
|
+
# Whether attributes are required by default (or not). Default is true.
|
107
|
+
# config.required_by_default = true
|
108
|
+
|
109
|
+
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
|
110
|
+
# These validations are enabled in SimpleForm's internal config but disabled by default
|
111
|
+
# in this configuration, which is recommended due to some quirks from different browsers.
|
112
|
+
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
|
113
|
+
# change this configuration to true.
|
114
|
+
config.browser_validations = false
|
115
|
+
|
116
|
+
# Collection of methods to detect if a file type was given.
|
117
|
+
# config.file_methods = [ :mounted_as, :file?, :public_filename ]
|
118
|
+
|
119
|
+
# Custom mappings for input types. This should be a hash containing a regexp
|
120
|
+
# to match as key, and the input type that will be used when the field name
|
121
|
+
# matches the regexp as value.
|
122
|
+
# config.input_mappings = { /count/ => :integer }
|
123
|
+
|
124
|
+
# Custom wrappers for input types. This should be a hash containing an input
|
125
|
+
# type as key and the wrapper that will be used for all inputs with specified type.
|
126
|
+
# config.wrapper_mappings = { string: :prepend }
|
127
|
+
|
128
|
+
# Default priority for time_zone inputs.
|
129
|
+
# config.time_zone_priority = nil
|
130
|
+
|
131
|
+
# Default priority for country inputs.
|
132
|
+
# config.country_priority = nil
|
133
|
+
|
134
|
+
# When false, do not use translations for labels.
|
135
|
+
# config.translate_labels = true
|
136
|
+
|
137
|
+
# Automatically discover new inputs in Rails' autoload path.
|
138
|
+
# config.inputs_discovery = true
|
139
|
+
|
140
|
+
# Cache SimpleForm inputs discovery
|
141
|
+
# config.cache_discovery = !Rails.env.development?
|
142
|
+
|
143
|
+
# Default class for inputs
|
144
|
+
# config.input_class = nil
|
145
|
+
end
|
@@ -1,26 +1,26 @@
|
|
1
|
-
# Use this setup block to configure all options available in SimpleForm.
|
2
|
-
SimpleForm.setup do |config|
|
3
|
-
config.wrappers :foundation, class: :input, hint_class: :field_with_hint, error_class: :error do |b|
|
4
|
-
b.use :html5
|
5
|
-
b.use :placeholder
|
6
|
-
b.optional :maxlength
|
7
|
-
b.optional :pattern
|
8
|
-
b.optional :min_max
|
9
|
-
b.optional :readonly
|
10
|
-
b.use :label_input
|
11
|
-
b.use :error, wrap_with: { tag: :small }
|
12
|
-
|
13
|
-
# Uncomment the following line to enable hints. The line is commented out by default since Foundation
|
14
|
-
# does't provide styles for hints. You will need to provide your own CSS styles for hints.
|
15
|
-
# b.use :hint, wrap_with: { tag: :span, class: :hint }
|
16
|
-
end
|
17
|
-
|
18
|
-
# CSS class for buttons
|
19
|
-
config.button_class = 'button'
|
20
|
-
|
21
|
-
# CSS class to add for error notification helper.
|
22
|
-
config.error_notification_class = 'alert-box alert'
|
23
|
-
|
24
|
-
# The default wrapper to be used by the FormBuilder.
|
25
|
-
config.default_wrapper = :foundation
|
26
|
-
end
|
1
|
+
# Use this setup block to configure all options available in SimpleForm.
|
2
|
+
SimpleForm.setup do |config|
|
3
|
+
config.wrappers :foundation, class: :input, hint_class: :field_with_hint, error_class: :error do |b|
|
4
|
+
b.use :html5
|
5
|
+
b.use :placeholder
|
6
|
+
b.optional :maxlength
|
7
|
+
b.optional :pattern
|
8
|
+
b.optional :min_max
|
9
|
+
b.optional :readonly
|
10
|
+
b.use :label_input
|
11
|
+
b.use :error, wrap_with: { tag: :small }
|
12
|
+
|
13
|
+
# Uncomment the following line to enable hints. The line is commented out by default since Foundation
|
14
|
+
# does't provide styles for hints. You will need to provide your own CSS styles for hints.
|
15
|
+
# b.use :hint, wrap_with: { tag: :span, class: :hint }
|
16
|
+
end
|
17
|
+
|
18
|
+
# CSS class for buttons
|
19
|
+
config.button_class = 'button'
|
20
|
+
|
21
|
+
# CSS class to add for error notification helper.
|
22
|
+
config.error_notification_class = 'alert-box alert'
|
23
|
+
|
24
|
+
# The default wrapper to be used by the FormBuilder.
|
25
|
+
config.default_wrapper = :foundation
|
26
|
+
end
|
@@ -1,59 +1,59 @@
|
|
1
|
-
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
-
|
3
|
-
en:
|
4
|
-
devise:
|
5
|
-
confirmations:
|
6
|
-
confirmed: "Your account was successfully confirmed."
|
7
|
-
send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
|
9
|
-
failure:
|
10
|
-
already_authenticated: "You are already signed in."
|
11
|
-
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid email or password."
|
13
|
-
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account will be locked."
|
15
|
-
not_found_in_database: "Invalid email or password."
|
16
|
-
timeout: "Your session expired. Please sign in again to continue."
|
17
|
-
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your account before continuing."
|
19
|
-
mailer:
|
20
|
-
confirmation_instructions:
|
21
|
-
subject: "Confirmation instructions"
|
22
|
-
reset_password_instructions:
|
23
|
-
subject: "Reset password instructions"
|
24
|
-
unlock_instructions:
|
25
|
-
subject: "Unlock Instructions"
|
26
|
-
omniauth_callbacks:
|
27
|
-
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
28
|
-
success: "Successfully authenticated from %{kind} account."
|
29
|
-
passwords:
|
30
|
-
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
|
-
send_instructions: "You will receive an email with instructions about how to reset your password in a few minutes."
|
32
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
-
updated: "Your password was changed successfully. You are now signed in."
|
34
|
-
updated_not_active: "Your password was changed successfully."
|
35
|
-
registrations:
|
36
|
-
destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
|
37
|
-
signed_up: "Welcome! You have signed up successfully."
|
38
|
-
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
|
-
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please open the link to activate your account."
|
41
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
|
42
|
-
updated: "You updated your account successfully."
|
43
|
-
sessions:
|
44
|
-
signed_in: "Signed in successfully."
|
45
|
-
signed_out: "Signed out successfully."
|
46
|
-
unlocks:
|
47
|
-
send_instructions: "You will receive an email with instructions about how to unlock your account in a few minutes."
|
48
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions about how to unlock it in a few minutes."
|
49
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
50
|
-
errors:
|
51
|
-
messages:
|
52
|
-
already_confirmed: "was already confirmed, please try signing in"
|
53
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
54
|
-
expired: "has expired, please request a new one"
|
55
|
-
not_found: "not found"
|
56
|
-
not_locked: "was not locked"
|
57
|
-
not_saved:
|
58
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
59
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
+
|
3
|
+
en:
|
4
|
+
devise:
|
5
|
+
confirmations:
|
6
|
+
confirmed: "Your account was successfully confirmed."
|
7
|
+
send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
|
8
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
|
9
|
+
failure:
|
10
|
+
already_authenticated: "You are already signed in."
|
11
|
+
inactive: "Your account is not activated yet."
|
12
|
+
invalid: "Invalid email or password."
|
13
|
+
locked: "Your account is locked."
|
14
|
+
last_attempt: "You have one more attempt before your account will be locked."
|
15
|
+
not_found_in_database: "Invalid email or password."
|
16
|
+
timeout: "Your session expired. Please sign in again to continue."
|
17
|
+
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
+
unconfirmed: "You have to confirm your account before continuing."
|
19
|
+
mailer:
|
20
|
+
confirmation_instructions:
|
21
|
+
subject: "Confirmation instructions"
|
22
|
+
reset_password_instructions:
|
23
|
+
subject: "Reset password instructions"
|
24
|
+
unlock_instructions:
|
25
|
+
subject: "Unlock Instructions"
|
26
|
+
omniauth_callbacks:
|
27
|
+
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
28
|
+
success: "Successfully authenticated from %{kind} account."
|
29
|
+
passwords:
|
30
|
+
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
|
+
send_instructions: "You will receive an email with instructions about how to reset your password in a few minutes."
|
32
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
+
updated: "Your password was changed successfully. You are now signed in."
|
34
|
+
updated_not_active: "Your password was changed successfully."
|
35
|
+
registrations:
|
36
|
+
destroyed: "Bye! Your account was successfully cancelled. We hope to see you again soon."
|
37
|
+
signed_up: "Welcome! You have signed up successfully."
|
38
|
+
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
|
+
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
+
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please open the link to activate your account."
|
41
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and click on the confirm link to finalize confirming your new email address."
|
42
|
+
updated: "You updated your account successfully."
|
43
|
+
sessions:
|
44
|
+
signed_in: "Signed in successfully."
|
45
|
+
signed_out: "Signed out successfully."
|
46
|
+
unlocks:
|
47
|
+
send_instructions: "You will receive an email with instructions about how to unlock your account in a few minutes."
|
48
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions about how to unlock it in a few minutes."
|
49
|
+
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
50
|
+
errors:
|
51
|
+
messages:
|
52
|
+
already_confirmed: "was already confirmed, please try signing in"
|
53
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
54
|
+
expired: "has expired, please request a new one"
|
55
|
+
not_found: "not found"
|
56
|
+
not_locked: "was not locked"
|
57
|
+
not_saved:
|
58
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
59
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|