class AASM::Localizer
def translate_queue(checklist)
def translate_queue(checklist) (0...(checklist.size-1)).each do |i| begin return I18n.translate(checklist.shift, :raise => true) rescue I18n::MissingTranslationData # that's okay end end nil end
def translate_queue(checklist) (0...(checklist.size-1)).each do |i| begin return I18n.translate(checklist.shift, :raise => true) rescue I18n::MissingTranslationData # that's okay end end nil end