Closed (fixed)
Project:
Internationalization
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
12 Dec 2008 at 22:49 UTC
Updated:
29 Dec 2008 at 17:22 UTC
Currently translation of views header, footer, title, and empty strings are done on the fly by calling tt() with only the first two arguments. This more or less works, but means we don't get update functionality. When a header string is changed, we'll get a new string added, with the existing one orphaned.
Instead, here as elsewhere we should be calling tt() with the $update arg set to TRUE when items are added or updated.
Attached patch does this by altering the relevant Views form and attaching a submit handler.
| Comment | File | Size | Author |
|---|---|---|---|
| i18nviews-form-alter.patch | 2.24 KB | nedjo |
Comments
Comment #1
nedjoDid some more testing and applied.