translation_helper.rb 243 B

123456789
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. module TranslationHelper
  3. def zammad_translate(string, *)
  4. Translation.translate(system_locale_via_uri&.locale, string, *)
  5. end
  6. alias zt zammad_translate
  7. end