Closed (fixed)
Project:
Corner
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 Dec 2008 at 20:22 UTC
Updated:
6 Jan 2009 at 09:58 UTC
The picture-text should be translateable so that internationalization is not a problem.
Comments
Comment #1
kirie commentedAbsolutely - thanks
Comment #2
kirie commentedActually - according to the Drupal docs "custom data from user input or other non-code sources should not be passed through t()" (see http://api.drupal.org/api/function/t). Do you have an idea how I could handle it? One way you could work around this is to override the corner.tpl.php file and output your custom HTML with the image title wrapped in a t().
Comment #3
lomz commentedI am no programmer, but http://drupal.org/project/comment_count_image has a translateable image.
Comment #4
druvision commentedThe following two requirements will cover it:
Comment #5
kirie commentedI think I prefer option one there - using GD to overlay text on images usually doesn't produce a satisfactory result, and there are a bunch of other considerations with that approach too (different positioning of the text for different languages etc). Thanks for the reference to the i18n_block module - I'll have a look at that one and see what I can come up with. I'll start working on this as soon as I've gotten the 6.x.1.0 release out the door (soon I hope).
Comment #6
kirie commented