Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Translations
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 22:10 UTC
Updated:
20 Oct 2011 at 23:20 UTC
In my language (Slovenian) and I believe there are other occurrences, the ellipse must be preceded by a space. Views - when trimming a field to a maximum length with the 'Add an ellipsis' option turned on - adds the ellipsis without the space.
Drupal truncate_utf8 function wraps the three dots in t(), allowing that punctuation to be translated. Would there be any drawbacks if the same method was used here?
I am attaching a patch with that change.
| Comment | File | Size | Author |
|---|---|---|---|
| views-translate-ellipsis.patch | 390 bytes | primsi |
Comments
Comment #1
dawehnerSure this makes absolute sense. Thanks for providing a patch! Commited to 7.x-3.x
I'm wondering what you think about using truncate_utf8 here? If you think it's worth to change feel free to post another issue.