Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2524 closed defect (fixed)

[patch] generic create_update lacks use of i18n

Reported by: mir@… Owned by: hugo
Component: Internationalization Version: dev
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

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@… 18 years ago.
patch

Download all attachments as: .zip

Change History (2)

by mir@…, 18 years ago

Attachment: views_i18n.diff added

patch

comment:1 by Adrian Holovaty, 18 years ago

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