diff --git a/.circleci/config.yml b/.circleci/config.yml index eeab5abb02..62b81d7a50 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,7 +60,7 @@ jobs: steps: # Taken from https://github.com/entur/owasp-orb/blob/master/src/%40orb.yml#L349-L361 - owasp/generate_cache_keys: - cache_key: commmandline-default-cache-key-v6 + cache_key: commmandline-default-cache-key-v7 - owasp/restore_owasp_cache - run: name: Update OWASP Dependency-Check Database @@ -421,7 +421,7 @@ workflows: - setup - check-mocks: requires: - - setup + - setup - build-api-spec: requires: - setup diff --git a/Makefile b/Makefile index 1bc36f5ea1..ab52d77321 100644 --- a/Makefile +++ b/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/... diff --git a/go.tools.mod b/go.tools.mod index e7deea0c94..21e6b07865 100644 --- a/go.tools.mod +++ b/go.tools.mod @@ -4,7 +4,7 @@ go 1.14 require ( github.com/jstemmer/go-junit-report v0.9.1 // indirect - github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20210103185547-4c12aa739237 // indirect + github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201216181404-3faa6075089a // indirect github.com/philhofer/fwd v1.0.0 // indirect github.com/reflog/struct2interface v0.6.1 // indirect github.com/tinylib/msgp v1.1.2 // indirect diff --git a/go.tools.sum b/go.tools.sum index 793e0cd5c7..5afd3ad27b 100644 --- a/go.tools.sum +++ b/go.tools.sum @@ -74,6 +74,7 @@ github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201001222518-667645 github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201001222518-66764584f346/go.mod h1:3gKozJI8n2Y/vW37GfnFWAdehGXe5yZlt+HykK6Y3DM= github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201013204121-e463fcd00ba8 h1:6wiKDdS/MMY0Jht12lRZJq1zv5eHEd4fK60SwkUVGjA= github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201013204121-e463fcd00ba8/go.mod h1:3gKozJI8n2Y/vW37GfnFWAdehGXe5yZlt+HykK6Y3DM= +github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20201216181404-3faa6075089a/go.mod h1:3gKozJI8n2Y/vW37GfnFWAdehGXe5yZlt+HykK6Y3DM= github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20210103185547-4c12aa739237 h1:w6GQs7SU6abD0QXKoqwd4bpEzNaW1xKwpeftBpIX1Do= github.com/mattermost/mattermost-utilities/mmgotool v0.0.0-20210103185547-4c12aa739237/go.mod h1:3gKozJI8n2Y/vW37GfnFWAdehGXe5yZlt+HykK6Y3DM= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= diff --git a/i18n/en.json b/i18n/en.json index 6ebf8943c0..633e771565 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -3220,7 +3220,7 @@ }, { "id": "api.user.get_authorization_code.endpoint.app_error", - "translation": "" + "translation": "Failed to get authorization code." }, { "id": "api.user.get_uploads_for_user.forbidden.app_error",