Django

Code

Ticket #2062 (closed: fixed)

Opened 2 years ago

Last modified 2 years ago

[patch] new technical messages for year+month and month+day literals i18n

Reported by: ramiro Assigned to: hugo
Milestone: Component: Internationalization
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

This patch adds two new technical message IDs: YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT so the occurrences of date-related literals where only the a) year and month or b) month and day respectively are relevant can be fully localized by the translators. One (the only by now?) of these cases is the automatic Django admin app breadcrum-like feature that gets activated by the 'date_hierarchy' Admin option.

This patch only adds the base Django code. I will open another ticket with the patches for the admin app.

See also #1345

--

Regards

Attachments

partial_date_formats.diff (2.1 kB) - added by ramiro on 06/01/06 12:12:07.
Patch w/o the conf/locale/en/LC_MESSAGES/django.po changes
new_tech_mess_ids.diff (78.2 kB) - added by ramiro on 06/01/06 12:16:13.
conf/locale/en/LC_MESSAGES/django.po mods (kust adds two new transalatable strings)

Change History

06/01/06 12:12:07 changed by ramiro

  • attachment partial_date_formats.diff added.

Patch w/o the conf/locale/en/LC_MESSAGES/django.po changes

06/01/06 12:16:13 changed by ramiro

  • attachment new_tech_mess_ids.diff added.

conf/locale/en/LC_MESSAGES/django.po mods (kust adds two new transalatable strings)

06/01/06 12:20:47 changed by ramiro

  • type changed from defect to enhancement.

06/01/06 23:20:33 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [3055]) Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and added technical message IDs of the same names. Thanks, ramiro


Add/Change #2062 ([patch] new technical messages for year+month and month+day literals i18n)




Change Properties
Action