1
0
mirror of synced 2024-11-22 04:26:01 +03:00

update Dockerfile & title translations

This commit is contained in:
Alex Lushpai 2018-05-24 11:33:04 +03:00
parent d1a9e53560
commit 3c4bd1b9b7
4 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ ADD ./bin/mg-telegram /
ADD ./templates/ /templates/
ADD ./web/ /web/
ADD ./translate/ /translate/
ADD ./migrations/ /migrations/
EXPOSE 3001

View File

@ -92,6 +92,7 @@ func connectHandler(w http.ResponseWriter, r *http.Request) {
map[string]interface{}{
"ButConnect": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "but_connect"}),
"ApiKey": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "api_key"}),
"Title": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "title"}),
},
}
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"}),
"AddBot": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "add_bot"}),
"TableActivity": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "table_activity"}),
"Title": localizer.MustLocalize(&i18n.LocalizeConfig{MessageID: "title"}),
},
}

View File

@ -21,3 +21,4 @@ missing_url_key: Missing crm url or apiKey
incorrect_url: Enter the correct CRM url
incorrect_token: Set correct bot token
add_bot: Add bot
title: Telegram transport for retailCRM

View File

@ -21,3 +21,4 @@ missing_url_key: Отсутствует URL или apiKey
incorrect_url: Введите корректный URL CRM
incorrect_token: Установите корректный токен
add_bot: Добавить бота
title: Модуль подключения Telegram к retailCRM