It would be nice if imagecache presets where listed in a more human friendly form in the image details form. This should really be fixed in the imagecache module (believe they've done that in drupal 8.x), but I don't think that will be done, but i made a quite unintrusive patch adding an option for imagecache preset names to be translateble in wysywig image upload. It solves this problem in a simple but perhaps not ideal way.

Comments

gnucifer’s picture

Just wrapping the options in t is as I already pointed a pretty bad way of solving this, besides not being a general solution it will not work for english only sites. I will look into submitting a new patch with a more flexible approach.

gnucifer’s picture

Patch above is broken, new one:

gnucifer’s picture

Better solution.

eugenmayer’s picture

interesting approach. Anybody tested that patch? I would like to take that one in, seems useful

Thank you for your contribution?

gnucifer’s picture

Would be great if it could be commited! Discovered I made a slight mistake though, will send a new patch tomorrow.

gnucifer’s picture