View Single Post
Old 03-08-2010, 04:09 AM   #704
kartu
PRS+ author
kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.kartu ought to be getting tired of karma fortunes by now.
 
Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
surquizu
Quote:
Kartu, here you have the files translated into Spanish and Catalan for localization. I added the KeyBindings.js, TextEncoding.js and EpubUserStyle.js.

Do you want another translation (main.xml,...)? you tell me.
Thanks, but it's not a final version yet. I plan to move localization files into "languages/<language name>" subfolders, and probably have 1 lang file (i.e. BrowseFolders.lang.js or BrowseFolders.lang) per addon (to allow concurrent modifications) that would then be combined into one language file by the build script.

I'll ask you to translate them, when they are finished.

VICTORSJG
Quote:
Kartu i'd prepared the PageIndex.js for localization and incorporated pages left and pages left per at the original scripts.
Thanks, I'll have a look.

Joember
Quote:
Kartu, I changed the percentage calculation in PageIndex.js to:

per=Math.floor((i/c)*100);
This seems to solve both the "0.%" problem, and the rounding issue.
Thanks, I'll have a look.

Quote:
Can I also recommend that instead of rounding the number up or down, the percentage always be rounded down?
Makes sense.

thawk
Quote:
I've made a Simplified Chinese installer language file. Hope you can add it into the next release.
Cool, I'll add it to the installer.

Last edited by kartu; 03-08-2010 at 04:35 AM.
kartu is offline   Reply With Quote