View Single Post
Old 07-27-2011, 11:32 AM   #12
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,455
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Naderstouhy View Post
for the sorting list i modified : sort_opts.append((x, n)) to sort_opts.append((x, _(n))) then the list worked fine !!!!!

for the category i modified : cats.append((meta['name'], category, icon)) to cats.append((_(meta['name']), category, icon))
That will only work if the language of the main calibre interface is in English or the words are not translated in the language of the calibre interface. Try setting your calibre interface to Spanish and you will see that it wont work.
kovidgoyal is offline   Reply With Quote