fix: Move integration text to translation file (#1463)

- Move integration text to translation file
- Split switch_locale
This commit is contained in:
Pranav Raj S
2020-11-30 16:24:54 +05:30
committed by GitHub
parent d51c5d5768
commit 64733ca3bc
9 changed files with 38 additions and 16 deletions

View File

@@ -10,11 +10,11 @@ class Integrations::App
end
def name
params[:name]
I18n.t("integration_apps.#{params[:i18n_key]}.name")
end
def description
params[:description]
I18n.t("integration_apps.#{params[:i18n_key]}.description")
end
def logo