Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#2524 closed defect (fixed)

[patch] generic create_update lacks use of i18n

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


These user messages miss the gettext()-markup:

  • The %s was created successfully
  • The %s was updated successfully.
  • The %s was deleted.

The attached patch changes this, but does not bring translations.

NB: I used %(...)s because translations might not use the model name at all. For example, in German the right article depends on the model name in a way that would require a full dictionary to get it right automatically.

Attachments (1)

views_i18n.diff (2.8 KB) - added by mir@… 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by mir@…

Attachment: views_i18n.diff added


comment:1 Changed 10 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [3559]) Fixed #2524 -- Added i18n hooks in create_update generic views. Thanks, mir@…

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