Sha256: 378918daf57cf07a805f4d3b461191e931e6672c70bad10bfbba6933a005c97e
Contents?: true
Size: 462 Bytes
Versions: 8
Compression:
Stored size: 462 Bytes
Contents
module LocalesHelpers # translate a string, useful in the feature descriptions, to a key to find # the complete message in the locale files def message_to_locale_key(msg) case msg.downcase when /the meeting is not running/ key = 'bigbluebutton_rails.rooms.errors.auth.not_running' when /authentication failure/ key = 'bigbluebutton_rails.rooms.errors.auth.failure' else key = '' end end end World(LocalesHelpers)
Version data entries
8 entries across 8 versions & 1 rubygems