-
Notifications
You must be signed in to change notification settings - Fork 0
Add default_scope to translation method in views
License
tandibar/translation_default_scope
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
TranslationDefaultScope ======================= You can specify a default_scope in any view which is always merged into translate and t (of I18n). Example ======= self.default_scope = [:always, :prepend, :this, :scope] ... t(:key, :scope => [:to, :be, :appended]) # calls t(:key, :scope => [:always, :prepend, :this, :scope, :to, :be, :appended]) Copyright (c) 2009 Caroo GmbH, released under the MIT license
About
Add default_scope to translation method in views
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published