Skip to content

Commit

Permalink
Merge pull request #1534 from ansible/patchback/backports/stable-2.17…
Browse files Browse the repository at this point in the history
…/8abd1c22ba37d9e33557813ba5c100da1aae9cad/pr-1530

[PR #1530/8abd1c22 backport][stable-2.17] fix minor typo in Makefile
  • Loading branch information
oraNod authored May 28, 2024
2 parents af2a2d6 + 4a1fe3d commit b521cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docsite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ gettext: gettext_structure gettext_generate_rst

generate-po:
ifeq ($(LANGUAGES),)
@echo 'LANGUAGES is not defined. It is mandatory. LANGUAGES should be a comma separated list of languages to support. (Exampe: fr,es)'
@echo 'LANGUAGES is not defined. It is mandatory. LANGUAGES should be a comma separated list of languages to support. (Example: fr,es)'
else
(cd docs/docsite/; sphinx-intl update -w 0 -d rst/locales -p "$(POTDIR)" -l $(LANGUAGES))
endif

needs-translation:
ifeq ($(LANGUAGES),)
@echo 'LANGUAGES is not defined. It is mandatory. LANGUAGES should be a comma separated list of languages to support. (Exampe: fr,es)'
@echo 'LANGUAGES is not defined. It is mandatory. LANGUAGES should be a comma separated list of languages to support. (Example: fr,es)'
else
(cd docs/docsite/; sphinx-intl stat -d rst/locales -l $(LANGUAGES) | grep -E ' [1-9][0-9]* (fuzzy|untranslated)' | sort)
endif
Expand Down

0 comments on commit b521cb1

Please sign in to comment.