Skip to content
This repository has been archived by the owner on Apr 5, 2018. It is now read-only.

"Craft\TranslateModel" appearing as candidate translation string #23

Open
nickdunn opened this issue Aug 15, 2017 · 0 comments
Open

"Craft\TranslateModel" appearing as candidate translation string #23

nickdunn opened this issue Aug 15, 2017 · 0 comments

Comments

@nickdunn
Copy link

nickdunn commented Aug 15, 2017

The following line in my template is causing "Craft\TranslateModel" to appear in the list.

<option value="/en" {{ craft.locale == 'en_gb' ? 'selected="selected"' : ''}}>{{ "English"|t }}</option>

Splitting {{"English"|t}} onto a newline solves the problem.

Using v0.4.3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant