Closed (fixed)
Project:
Image javascript crop
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2013 at 11:12 UTC
Updated:
15 Dec 2013 at 13:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ianthomas_ukThe problem is this line
'#title' => $imagecrop->getInCroppingMode() ? t('Select other style to '. $action) : t('Select style to preview'),$action shouldn't be passed to t() in this way and should be translatable itself.
Comment #2
ianthomas_ukHere is a patch that converts the untranslatable 'Select other style to $action' to either 'Select style to crop' or 'Select other style to preview'. The other is added because you can't go back to preview by re-selected the same style.
Comment #3
ianthomas_ukCommitted and pushed to 7.x-1.x. Thanks.