Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#2062 closed enhancement (fixed)

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

Reported by: ramiro 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 9 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 9 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 9 years ago by ramiro

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

Changed 9 years ago by ramiro

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

comment:1 Changed 9 years ago by ramiro

  • Type changed from defect to enhancement

comment:2 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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 6 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