trabajo-afectivo/app/helpers/translation_helper.rb

10 lines
236 B
Ruby
Raw Permalink Normal View History

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
2019-06-04 03:40:48 +00:00
module TranslationHelper
def zammad_translate(string)
Translation.translate(system_locale_via_uri&.locale, string)
end
alias zt zammad_translate
end