Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-25-2010, 01:02 PM   #886
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by kartu View Post
surquizu
Done, thanks.
Attention, Kartu:

Have you updated well the file? I think they should not be spaces in the instructions "+ String.fromCharCode (XXX) +" .

look at the example:
Attached Thumbnails
Click image for larger version

Name:	Image1.jpg
Views:	271
Size:	25.6 KB
ID:	50489  
surquizu is offline   Reply With Quote
Old 04-25-2010, 01:08 PM   #887
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
No, it's ok. Those spaced do not matter.

By the way, String.fromCharCode (XXX) is not needed, you can directly type characters, just save file in UTF-8 format. (for example jedit allows you to easily choose file encoding)
kartu is offline   Reply With Quote
Advert
Old 04-28-2010, 06:19 AM   #888
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
I've added "building PRS+" wiki page, for developers:
http://code.google.com/p/prs-plus/wiki/BuildingPRSPlus

It also allows to comfortably modify files.
kartu is offline   Reply With Quote
Old 04-28-2010, 07:05 AM   #889
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
The URL in the wiki page is wrong, it should point to

hg clone https://build.prs-plus.googlecode.com/hg/ .

Otherwise the ant-script worked fine and the Installer was built successfully. Unfortunately I don't have an SD-Card with me, so I can't test it yet. Looking forward to it

Duglum
Duglum is offline   Reply With Quote
Old 04-28-2010, 07:13 AM   #890
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
Duglum
Fixed. Thanks for pointing out.

PS
Quote:
Unfortunately I don't have an SD-Card with me, so I can't test it yet. Looking forward to it
You could try to start it from the internal memory, if that's the only problem.

PPS
Haha, building successfully doesn't guarantee it would work. You need a right combination of versions.

Firmware: 1.1.0beta
Installer: 1.1.0beta
Code: tip (no code revision is marked 1.1.0beta as I am waiting for kravitz to merge his work into repository and some translations are still being finalized)

should work, however.

Last edited by kartu; 04-28-2010 at 07:19 AM.
kartu is offline   Reply With Quote
Advert
Old 04-28-2010, 08:26 AM   #891
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
Quote:
Originally Posted by kartu View Post
You could try to start it from the internal memory, if that's the only problem.
My Internal Memory was almost full, but I simply removed all the books and tried it. The translation works really nice, finally my reader is in german again, thank you very much

Some problems I have run into so far:
1. Apparently some characters are not in the default font (see screenshot). This also happens when starting the installer on a "fresh" firmware 1.1.00.18040, the fourth language from the top (I assume russian?) just shows up as blocks.
2. The clock addon shows "Clock.TITLE" as title in PRS+ Settings when using english locale.
3. My epub css files aren't shown anymore. The path in the addon points to Core.config.root + "epub/", but I didn't find a place where config.root is set. Can I simply add it to user.config or does this affect other areas as well?
4. When I use "Force install PRS+ Script" from the expert mode, I get a fsk error, code = -41, which means too little space available in /Data, according to another thread on this board. The partition has 181MB of free space though.
Attached Thumbnails
Click image for larger version

Name:	2010-4-28.jpg
Views:	257
Size:	32.8 KB
ID:	50683  
Duglum is offline   Reply With Quote
Old 04-28-2010, 08:38 AM   #892
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
Duglum
1) It's not missing chars issue, but rather encoding issue. I'll need to investigate how that happened. Works fine for me. Maybe has to do with system locale used when building.
2) The same as 1), could you post contents of the property file that you've used to build it?
3) That's clearly a bug, will be fixed today or tomorrow.
4) You shouldn't have that option in installers menu... ^^ As there is no "script" anymore. JS files are compressed and put into /opt/.... As a side effect it also solves "games icons are shown in pictures" and problems with internal memory file system corruptions.

PS
Quote:
The path in the addon points to Core.config.root + "epub/", but I didn't find a place where config.root is set. Can I simply add it to user.config or does this affect other areas as well?
As a quick fix you could modify file in temp subfolder, to use absolute path "/Data/database/system/PRSPlus/epub/" (heck, I don't remember whether / in the end is needed ) and then do:
ant dobuild
then install.

User config now could be used only on SD cards. (b:\user.config) =/

PPS
After fixing known bugs, official 1.1.0 beta will be released.

Last edited by kartu; 04-28-2010 at 08:48 AM.
kartu is offline   Reply With Quote
Old 04-28-2010, 09:06 AM   #893
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
1&2) I'm using an english (US) version of WinXP with "Language for non-Unicode programs", keyboard layout and all the rest set to German. I left the prs.properties untouched:

FW_VER=tip
SC_VER=tip
PRSP_VER=1.1.0beta
INSTALLER_VER=tip

3) The temporary fix works fine (used a path with / in the end), thanks.
4) Ah, I see. I thought I'd read about that somewhere. Well, the option is still there.

PS

There are some strings that aren't quite ideal in the german translation, I'll try to find better wording where necessary.

Last edited by Duglum; 04-28-2010 at 09:19 AM.
Duglum is offline   Reply With Quote
Old 04-28-2010, 09:17 AM   #894
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
1&2) The file is fine:
http://code.google.com/p/prs-plus/so.../core_zLang.js
so something happens when build script is running, weird.

4) Figured that it's because I forgot to "push" committed changes.
kartu is offline   Reply With Quote
Old 04-28-2010, 10:14 AM   #895
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
The Installer works as intended now, I guess, "Force install PRS+ Script" and "Set to update mode" are gone.

Attached is the output from the build process, there don't seem to be any errors though. Could it be a problem with the ant-version used? In my case it's 1.8.0.

Also attached is the updated german translation, now 99% of the strings fit on the screen and in some cases the wording is much better.

So long,
Duglum
Attached Files
File Type: zip German.zip (5.2 KB, 171 views)
File Type: txt build.txt (45.1 KB, 181 views)
Duglum is offline   Reply With Quote
Old 04-28-2010, 10:22 AM   #896
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
Duglum
No, ant itself couldn't cause this. yui compressor/mercurial could. Can you send me core_zLang.js file from the \tmp\script\505\core\ subfolder and tmp-core.js, tmp-core-min.js from tmp subfolder?

I've uploaded corrected German translation, thanks.

Last edited by kartu; 04-28-2010 at 10:26 AM.
kartu is offline   Reply With Quote
Old 04-28-2010, 10:27 AM   #897
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
There you go.
Attached Files
File Type: zip files.zip (22.0 KB, 158 views)
Duglum is offline   Reply With Quote
Old 04-28-2010, 10:39 AM   #898
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
Seems like concat fails, adding parameter encoding="UTF-8" to concat calls (lines 104 & 109) should fix the problem.

PS
I've uploaded fix to repository.

Last edited by kartu; 04-28-2010 at 10:44 AM.
kartu is offline   Reply With Quote
Old 04-28-2010, 11:00 AM   #899
Duglum
Enthusiast
Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.Duglum has a complete set of Star Wars action figures.
 
Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
The characters in language selection are shown correctly with the concat-fix.

As for the clock addon, there seems to be a line missing in English.js:

TITLE: "Clock",

This fixes the problem for me.
Duglum is offline   Reply With Quote
Old 04-28-2010, 11:00 AM   #900
klawong
Enthusiast
klawong has learned how to buy an e-book online
 
Posts: 29
Karma: 96
Join Date: Mar 2010
Location: Ruhrpott
Device: Sony PRS-505 (incl.: PRS+ 1.1.3)
"key bindings" by PRS+

Reading downloaded newspapers by "calibre":

When reading a book, I always turn over the pages by pressing the "center button" - to my mind the easiest way, because the thumb fits perfectly in there.
However, this button is needed to "Enter" an article within newspapers downloaded by calibre.

My Question:
Is there any possibility with PRS+ to add the "Enter"-function in order to combine it with another key than the "center button" set as "default"?

Last edited by klawong; 04-28-2010 at 01:08 PM.
klawong is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using HD Folders as Collections on Sony PRS-505 fglaysher Calibre 8 07-26-2010 09:55 PM
Enhanced Firmware for V3 keng2000 HanLin eBook 12 04-12-2010 09:30 AM
Poll: Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 70 02-18-2009 06:34 PM
Sony Reader PRS-505 upgrade to Sony PRS-700 Kris777 Sony Reader 23 12-08-2008 06:56 AM
Sub folders in firmware v1.08 Prince Hal Amazon Kindle 28 10-23-2008 03:20 PM


All times are GMT -4. The time now is 10:11 AM.


MobileRead.com is a privately owned, operated and funded community.