Module: Toolbox::Messages
- Includes:
- GetText
- 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
384 385 386 |
# File 'lib/toolbox/default_controller.rb', line 384 def self.cancel _('Cancel') end |
.create ⇒ Object
376 377 378 |
# File 'lib/toolbox/default_controller.rb', line 376 def self.create _('Create') end |
.created ⇒ Object
369 370 371 |
# File 'lib/toolbox/default_controller.rb', line 369 def self.created _('%{object} was successfully created.') end |
.nothing_found ⇒ Object
388 389 390 |
# File 'lib/toolbox/default_controller.rb', line 388 def self.nothing_found _('Nothing found') end |
.save ⇒ Object
380 381 382 |
# File 'lib/toolbox/default_controller.rb', line 380 def self.save _('Save') end |
.updated ⇒ Object
372 373 374 |
# File 'lib/toolbox/default_controller.rb', line 372 def self.updated _('%{object} was successfully updated.') end |