app/helpers/admin/i18n_helper.rb
# Provides a localised status for the given model.
#
# === Parameters
#
# [object] the model instance or class you want the localisation for
# [prompt] the status you want the localisation for
# [defaults] any defaults you wished passed to I18n.translate
#
# === I18n Keys
#
# This function will try the following I18n keys, in order
#
# * admin.status.models.[model_key].[prompt]
# * admin.status.[prompt]
Provides a localised status for the given model.
Parameters

[object] the model instance or class you want the localisation for
[prompt] the status you want the localisation for
[defaults] any defaults you wished passed to I18n.translate

I18n Keys

This function will try the following I18n keys, in order


Provides a localised status for the given model . Parameters [ object ] the model instance or class you want the localisation for [ prompt ] the status you want the localisation for [ defaults ] any defaults you wished passed to I18n . translate I18n Keys This function will try the following I18n keys in order
def status_t( object, status, defaults = {} )
    fallthru_t( object, status, [ 'status' ], defaults )
  end
def status_t ( object , status , defaults = { } ) fallthru_t ( object , status , [ 'status' ] , defaults ) end
Provides a localised status for the given model.
Provides a localised status for the given model .
object
status
defaults