This is my first message to the forum :-)
Now the problem.
I've downloaded the Simple Controls Gallery available at this link:
It works like a charm... but the problem I have is that I want to change that "Prev", "Next", "Pause" and "Play" labels in order to translate them to my language.
I see the file that has to be changed is the simplegallery.js. I've been able to change the "Pause" and "Play" labels. Going to line 87:
and going to line 92:
But the "Prev" and "Next" labels is not so easy. It looks like this is the line that should have to be changed (line 146):
I don't know why, but if I try to change the labels then I loose the functionality of going to the next/previous image. Anybody knows why?
var title=(i==0? 'Prev' : (i==1)? (setting.ispaused? 'Play' : 'Pause') : 'Next')
Could anybody help me?