Code

Opened 8 years ago

Closed 8 years ago

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

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

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by mir@…

patch

comment:1 Changed 8 years ago by adrian

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

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.