Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#33383 closed Bug (invalid)

Inconsistent capitalization in admin's msgid "the web/Web site today"

Reported by: Carsten Fuchs Owned by: nobody
Component: contrib.admin Version: 4.0
Severity: Normal Keywords:
Cc: Claude Paroz Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In the admin, some locales use the message id
"Thanks for spending some quality time with the web site today."
and others use
"Thanks for spending some quality time with the Web site today."

Using ack to count the number of occurrences:

django/contrib/admin/locale$ ack -c -h -I "the web site today"
31
django/contrib/admin/locale$ ack -c -h -I "the Web site today"
65

If I understand things correctly, if the message id with lowercase "web" is used, all translations based on the uppercase variant cannot be found, and vice versa?

Change History (3)

comment:1 by Carsten Fuchs, 3 years ago

Component: Uncategorizedcontrib.admin
Type: UncategorizedBug

Specifically, locale de used to use Web up to Django 3.2 whereas Django 4.0 uses web, but I think that this is a generic issue.

comment:2 by Mariusz Felisiak, 3 years ago

Cc: Claude Paroz added
Resolution: invalid
Status: newclosed

We don't update locales without any new translated strings that's why for some languages you can still find web instead of Web. As far as I'm aware this doesn't cause extra issues because translations would be missing anyway.

comment:3 by Claude Paroz, 3 years ago

I confirm the diagnostic. Updating all po files even when no translations have been added/fixed on Transifex would give huge diffs/commits (including binary .mo files) without any added value. So when you see occurrences of Web, that means that translators didn't do their job (on time) :-)

Note: See TracTickets for help on using tickets.
Back to Top