Module: Toolbox::Messages
- Includes:
- GetText::Rails
- Defined in:
- lib/toolbox/default_controller.rb
Overview
needed for not to conflict with the textdomain from the application controller
Class Method Summary collapse
- .cancel ⇒ Object
- .create ⇒ Object
- .created ⇒ Object
- .nothing_found ⇒ Object
- .save ⇒ Object
- .updated ⇒ Object
Class Method Details
.cancel ⇒ Object
362 363 364 |
# File 'lib/toolbox/default_controller.rb', line 362 def self.cancel _('Cancel') end |
.create ⇒ Object
354 355 356 |
# File 'lib/toolbox/default_controller.rb', line 354 def self.create _('Create') end |
.created ⇒ Object
347 348 349 |
# File 'lib/toolbox/default_controller.rb', line 347 def self.created _('%{object} was successfully created.') end |
.nothing_found ⇒ Object
366 367 368 |
# File 'lib/toolbox/default_controller.rb', line 366 def self.nothing_found _('Nothing found') end |
.save ⇒ Object
358 359 360 |
# File 'lib/toolbox/default_controller.rb', line 358 def self.save _('Save') end |
.updated ⇒ Object
350 351 352 |
# File 'lib/toolbox/default_controller.rb', line 350 def self.updated _('%{object} was successfully updated.') end |