Closed (fixed)
Project:
Colorbox
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2011 at 20:28 UTC
Updated:
9 Jul 2012 at 10:41 UTC
when you create a view and open grouped images in lightbox ( so that you can click next/prev) there is a text "image 1 of 9" which is directly taken from the /sites/all/libraries/colorbox/colorbox/jquery...
instead the variable "colorbox_text_current" should be loaded so you can translate this string.
Comments
Comment #1
frjo commentedYes, if you use the colorbox-load or colorbox-inline features some settings was missing. I must have thought they where not needed.
I have committed fixes for this to 6-dev as well as 7-dev.
Please try them out and report back here. If it works for you I will make it part of the next release.
Comment #2
tribsel commentedhad same problem, just tried 6-dev and it worked.
Comment #3
frjo commentedComment #5
michèle commentedHi
I reopen this issue. It seems that the 7-dev-changes have been disappeared in the meanwhile.
To be able to translate the "current" text, I had to add the t-Function to line 187:
Regards, Michèle
Comment #6
lsolesen commented@frjo Can you confirm that there still is a problem in the 7.x-version?
Comment #7
frjo commentedhook_variable_info should be implemented so variables in Colorbox are translatable via i18n module. Will try to fix that.
Comment #8
frjo commentedOops, I have already implemented hook_variable_info :-).
To use it you need i18n module plus the Variable module.
http://drupal.org/project/i18n
http://drupal.org/project/variable