Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to translate the placeholder attribute of a input element?

54 views
Skip to first unread message

André Fiedler

unread,
Sep 29, 2014, 5:28:30 PM9/29/14
to tools...@lists.mozilla.org
I've tried this:

<jabberID {
*name: "Jabber ID"
placeholder: "tes...@example.org"
}>

<input type="email" placeholder="y...@example.org" data-l10n-id="jabberID">

But it seems not to work. How do I achieve this?

Thanks again! André

Zibi Braniecki

unread,
Sep 29, 2014, 8:50:58 PM9/29/14
to mozilla-t...@lists.mozilla.org
Hi Andre,

What you did here is you created a value that is a Hash object.

Instead you need to use attributes:

<jabberID "Jabber ID"
placeholder: "tes...@example.org">

zb.
0 new messages