Closed (fixed)
Project:
@font-your-face
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2011 at 16:25 UTC
Updated:
10 Dec 2011 at 00:40 UTC
Views translates the strings that are used in the admin interface. In the View there is a Yes/No field that is used as a CSS selector, eg:
div.fontyourface-footer.enabled-Yes and div.fontyourface-footer.enabled-No. However, when using the site in another language, the HTML is translated which caused the CSS selectors to stop working. In my case, a Dutch website, this becomes:
div.fontyourface-footer.enabled-Ja and div.fontyourface-footer.enabled-Nee.
Comments
Comment #1
sreynen commentedViews only translates the default boolean field, so I fixed this by defining a new field without translation. I forgot to re-export the view the first time, so this is broken into two commits: 1, 2. I tested with Spanish, but this should work in any language now.