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>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1933f7eb76
Коммит
987eddce1f
3
Makefile
3
Makefile
@@ -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/...
|
||||
|
||||
Ссылка в новой задаче
Block a user