Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

l10n: some cleanups #6447

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions pootle/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,16 +390,17 @@ def check_settings_markup(app_configs=None, **kwargs):
if markup_filter is None:
errors.append(checks.Warning(
_("POOTLE_MARKUP_FILTER set to 'None' is deprecated."),
hint=_("Set your markup to 'html' explicitly."),
hint=_("Set POOTLE_MARKUP_FILTER explicitly to use 'html' "
"markup."),
id="pootle.W025",
))
if markup_filter in ('html', 'textile', 'restructuredtext'):
errors.append(checks.Warning(
_("POOTLE_MARKUP_FILTER is using '%s' markup, which is "
"deprecated and will be removed in future.",
"deprecated and will be removed in the future.",
markup_filter),
hint=_("Convert your staticpages to Markdown and set your "
"markup to 'markdown'."),
hint=_("Convert your static pages to Markdown and set "
"POOTLE_MARKUP_FILTER to use 'markdown' markup."),
id="pootle.W026",
))
return errors
Expand Down