This project is archived and is in readonly mode.

#4675 ✓committed
yury

TranslationHelper#translate joins array

Reported by yury | May 23rd, 2010 @ 09:13 PM | in 2.3.8

if array of keys is passed to TranslationHelper#t it joins array of translations instead of returning array.

Suspected commit http://github.com/rails/rails/commit/2310aef29be306704c0361f1188200...

even in tests expected behavior is replaced with strange one

-    assert_equal ["foo", "bar"], translate(["foo", "bar"])
+    assert_equal "foobar", translate(["foo", "bar"])

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages