Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#2062 closed enhancement (fixed)

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

Reported by: Ramiro Morales Owned by: hugo
Component: Internationalization Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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 (2)

partial_date_formats.diff (2.1 KB ) - added by Ramiro Morales 19 years ago.
Patch w/o the conf/locale/en/LC_MESSAGES/django.po changes
new_tech_mess_ids.diff (78.2 KB ) - added by Ramiro Morales 19 years ago.
conf/locale/en/LC_MESSAGES/django.po mods (kust adds two new transalatable strings)

Download all attachments as: .zip

Change History (5)

by Ramiro Morales, 19 years ago

Attachment: partial_date_formats.diff added

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

by Ramiro Morales, 19 years ago

Attachment: new_tech_mess_ids.diff added

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

comment:1 by Ramiro Morales, 19 years ago

Type: defectenhancement

comment:2 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by call_of_duty_6, 16 years ago

good idea thank you allso see here *rapidshre search engine

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