class Glossync::MissingTranslationHandler::Default
The default handler, simply returns the error message
Public Instance Methods
handle(error, _who, _field, _locale)
click to toggle source
handles an I18n MissingTranslation error @param error the error thrown by I18n, should always be a MissingTranslation @param who the self of the class that caught the error @param field the field that has a missing translation @param locale the locale that was being translated to @return [String]
# File lib/glossync/missing_translation_handler.rb, line 14 def handle(error, _who, _field, _locale) error.message end