update Dockerfile & title translations
This commit is contained in:
parent
d1a9e53560
commit
3c4bd1b9b7
@ -5,6 +5,7 @@ ADD ./bin/mg-telegram /
|
|||||||
ADD ./templates/ /templates/
|
ADD ./templates/ /templates/
|
||||||
ADD ./web/ /web/
|
ADD ./web/ /web/
|
||||||
ADD ./translate/ /translate/
|
ADD ./translate/ /translate/
|
||||||
|
ADD ./migrations/ /migrations/
|
||||||
|
|
||||||
EXPOSE 3001
|
EXPOSE 3001
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@ func connectHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
map[string]interface{}{
|
map[string]interface{}{
|
||||||
"ButConnect": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "but_connect"}),
|
"ButConnect": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "but_connect"}),
|
||||||
"ApiKey": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "api_key"}),
|
"ApiKey": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "api_key"}),
|
||||||
|
"Title": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "title"}),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
renderTemplate(w, "home", &res)
|
renderTemplate(w, "home", &res)
|
||||||
@ -283,6 +284,7 @@ func settingsHandler(w http.ResponseWriter, r *http.Request, uid string) {
|
|||||||
"TableToken": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "table_token"}),
|
"TableToken": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "table_token"}),
|
||||||
"AddBot": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "add_bot"}),
|
"AddBot": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "add_bot"}),
|
||||||
"TableActivity": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "table_activity"}),
|
"TableActivity": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "table_activity"}),
|
||||||
|
"Title": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "title"}),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,3 +21,4 @@ missing_url_key: Missing crm url or apiKey
|
|||||||
incorrect_url: Enter the correct CRM url
|
incorrect_url: Enter the correct CRM url
|
||||||
incorrect_token: Set correct bot token
|
incorrect_token: Set correct bot token
|
||||||
add_bot: Add bot
|
add_bot: Add bot
|
||||||
|
title: Telegram transport for retailCRM
|
||||||
|
@ -21,3 +21,4 @@ missing_url_key: Отсутствует URL или apiKey
|
|||||||
incorrect_url: Введите корректный URL CRM
|
incorrect_url: Введите корректный URL CRM
|
||||||
incorrect_token: Установите корректный токен
|
incorrect_token: Установите корректный токен
|
||||||
add_bot: Добавить бота
|
add_bot: Добавить бота
|
||||||
|
title: Модуль подключения Telegram к retailCRM
|
||||||
|
Loading…
Reference in New Issue
Block a user