Add check for empty src translation strings (#16575)

* Add check for empty src translation strings

* Update check-deps version

* Fix translation and app layers and mocks

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Elisabeth Kulzer
2021-01-04 21:22:34 +01:00
коммит произвёл GitHub
родитель 1933f7eb76
Коммит 987eddce1f
5 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@@ -218,9 +218,10 @@ i18n-extract: ## Extract strings for translation from the source code
$(GO) get -modfile=go.tools.mod github.com/mattermost/mattermost-utilities/mmgotool
$(GOBIN)/mmgotool i18n extract --portal-dir=""
i18n-check: ## Exit on empty translation strings except in english base file
i18n-check: ## Exit on empty translation strings and translation source strings
$(GO) get -modfile=go.tools.mod github.com/mattermost/mattermost-utilities/mmgotool
$(GOBIN)/mmgotool i18n clean-empty --portal-dir="" --check
$(GOBIN)/mmgotool i18n check-empty-src --portal-dir=""
store-mocks: ## Creates mock files.
$(GO) get -modfile=go.tools.mod github.com/vektra/mockery/...