Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

This is not a public project

This project is archived and is in readonly mode.

starting a translation with an interpolation without quotations provokes error

#3456

In a YAML translation file the translation

time_ago: {{duration}} ago

provokes an error: "syntax error" raised during the YAML file parsing

whereas

time_ago: ago {{duration}}

or

time_ago: '{{duration}} ago'

or

time_ago: "{{duration}} ago"

do not

Tested with Rails 2.3.4

This is an edge case, maybe just mentioning it in the doc is enough if it is hard to fix.

Reported by Florent2 · November 3rd, 2009 @ 08:43 PM

State: stale
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • State changed from new to stale
    • Importance changed from to

    Marking ticket as stale. If this is still an issue please leave a comment with suggested changes, creating a patch with tests, rebasing an existing patch or just confirming the issue on a latest release or master/branches.

    October 6th, 2010 @ 06:36 AM