Opened 11 years ago

Closed 11 years ago

Last modified 8 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: UI/UX:

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 11 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 11 years ago.
conf/locale/en/LC_MESSAGES/django.po mods (kust adds two new transalatable strings)

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Ramiro Morales

Attachment: partial_date_formats.diff added

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

Changed 11 years ago by Ramiro Morales

Attachment: new_tech_mess_ids.diff added

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

comment:1 Changed 11 years ago by Ramiro Morales

Type: defectenhancement

comment:2 Changed 11 years ago by Adrian Holovaty

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 Changed 8 years ago by call_of_duty_6

good idea thank you allso see here *rapidshre search engine

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