Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2016 at 10:30 UTC
Updated:
1 Feb 2016 at 13:34 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
edurenye commentedComment #3
edurenye commentedMaybe it's better if we just fix it first and then we add the message with the other test in the parent issue as this test is failing.
Comment #4
berdirFunctionally, this doesn't make a difference, that's what t( returns.
This is confusing, why create an object only to get the string out a again? This also means we don't test the value of the placeholder anymore.
Those objects can be casted to a string, why didn't that work?
Comment #5
edurenye commentedIn the first point, I did that because I had a warning saying that only literals should be passed to t() when possible.
Maybe this counts as an impossible case? Not sure.
Fixed the second point.
Comment #7
edurenye commentedFixed the error.
Comment #8
berdirThanks, committed.