summaryrefslogtreecommitdiff
path: root/django/core/management/commands/compilemessages.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2024-08-27 21:31:07 +0200
committerClaude Paroz <claude@2xlibre.net>2024-08-30 13:39:04 +0200
commit2c1f27d0d0346889e3af3b1be03e39e7117b1165 (patch)
treee040d3b366798108ce635ad4ea5f36d6192417d0 /django/core/management/commands/compilemessages.py
parent2ff00251f929cc3e014dd447f6847196e66e69b8 (diff)
Dropped safeguards against very old versions of gettext.
gettext 0.19 was released in 2014.
Diffstat (limited to 'django/core/management/commands/compilemessages.py')
-rw-r--r--django/core/management/commands/compilemessages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/management/commands/compilemessages.py b/django/core/management/commands/compilemessages.py
index eddf31b794..c56e2a237c 100644
--- a/django/core/management/commands/compilemessages.py
+++ b/django/core/management/commands/compilemessages.py
@@ -79,8 +79,8 @@ class Command(BaseCommand):
if find_command(self.program) is None:
raise CommandError(
- "Can't find %s. Make sure you have GNU gettext "
- "tools 0.15 or newer installed." % self.program
+ f"Can't find {self.program}. Make sure you have GNU gettext "
+ "tools 0.19 or newer installed."
)
basedirs = [os.path.join("conf", "locale"), "locale"]