Module: GetText
- Extended by:
- GetText
- Included in:
- ActionController::Base, ActionMailer::Base, ActionView::Helpers::ActiveRecordHelper::L10n, ActionView::Helpers::DateHelper, ActionView::Helpers::FormBuilder, GetText
- Defined in:
- lib/gettext_rails/tools.rb
Instance Method Summary collapse
-
#create_mofiles(options = {}) ⇒ Object
Rails version of create_mofiles.
-
#create_mofiles_org ⇒ Object
:nodoc:.
Instance Method Details
#create_mofiles(options = {}) ⇒ Object
Rails version of create_mofiles. This sets mo_root “./locale” then call original create_mofiles.
19 20 21 22 |
# File 'lib/gettext_rails/tools.rb', line 19 def create_mofiles( = {}) opts = {:verbose => true, :mo_root => "./locale"} create_mofiles_org(opts) end |
#create_mofiles_org ⇒ Object
:nodoc:
15 |
# File 'lib/gettext_rails/tools.rb', line 15 alias :create_mofiles_org :create_mofiles |