![]() |
#1081 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 750
Karma: 1323
Join Date: Dec 2009
Device: PRS-505, PRS-600, iPad 16GB Wifi, Kindle Voyage, Nexus 6, Razr HD
|
Kartu, I didn't get to download the latest beta last weekend. I just downloaded it and found that I have to have a dictionary in .dic format to make this function work. Is there a free dic that I can download to give it a test drive?
|
![]() |
![]() |
![]() |
#1082 |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Mike
This should work (I guess it's the webster's dictionary from Clemenseken's thread): https://www.mobileread.com/forums/att...1&d=1273246333 This thread has a number of dictionaries, if you'd need more than one: https://www.mobileread.com/forums/showthread.php?t=22320 And last, you can create your own dictionary files, it's format is: <word><space><space><translation><endofline> PS 1.1.1beta will be released within an hour. |
![]() |
![]() |
Advert | |
|
![]() |
#1083 |
Enthusiast
![]() ![]() ![]() Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
|
Mike
here's an English-German dictionary. kartu Could you remove the -n parameter from the grep command in the Addon? This removes the line number from the output. It also seems like the text in the search field gets replaced by the result of the search. Edit: For some reason the attachments didn't show up. |
![]() |
![]() |
![]() |
#1084 | |
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
1.1.1beta is out. In short, known bugs were fixed, BookHistory jumps directly to the book, all details will be posted on changelog page.
Duglum Quote:
|
|
![]() |
![]() |
![]() |
#1085 |
Connoisseur
![]() Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
|
Kartu
The changelog of 1.1.1 beta has a typo: it should be Simplified Chinese instead of Traditional Chinese. |
![]() |
![]() |
Advert | |
|
![]() |
#1086 | |
Enthusiast
![]() ![]() ![]() Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
|
Quote:
The way it should work is that the resulting string gets cut into lineNo, term and definition and that the inputLine is set to term and the textfield below to the definition, but instead the textfield has the whole result string and the inputLine everything except the lineNo. My guess is that this happens because the variable termIdx is never set, but my JavascriptFu is too weak to debug this ![]() |
|
![]() |
![]() |
![]() |
#1087 |
Enthusiast
![]() Posts: 41
Karma: 86
Join Date: Jul 2009
Device: PRS-505
|
How dictionary could be started in PRS+? Is it possible to introduce dictionary by some button when reading book or is it still necessary to remove/insert SD?
|
![]() |
![]() |
![]() |
#1088 |
Enthusiast
![]() ![]() ![]() Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
|
m-land
You can assign the action "Dictionary" to a key in PRS+-Settings -> Key Bindings. For example, if you assign the action to "Hold Vol+" in Global settings, the dictionary opens whereever you are when you hold the Vol+ key on the bottom. |
![]() |
![]() |
![]() |
#1089 | ||
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
thawk
Quote:
m-land What Duglum said, plus via menu. No need to insert/remove anything. Actually also no need to have SD/MS card. Duglum Quote:
|
||
![]() |
![]() |
![]() |
#1090 | |
Enthusiast
![]() ![]() ![]() Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
|
Quote:
linenumber:term[space][space]definition[line break] The command is then piped through "head -n 1" which outputs only the first row in case of multiple results. As far as I understand the code the first thing that is done is search the position in the string-array at which the colon is. Then it saves everything before that position into the variable lineNo. After that the variable term is set to the slice of the string from colon + 1 to termIdx, which should indicate the position of the two spaces in the string. termIdx was never set, however. |
|
![]() |
![]() |
![]() |
#1091 |
Enthusiast
![]() ![]() ![]() Posts: 41
Karma: 282
Join Date: Jun 2009
Device: Sony PRS-505
|
I got it. Replace line 191-201 in dictionary.js with
Code:
// get position of colon var colonIdx = res.indexOf(':'); // get line number lineNo = Number(res.slice(0, colonIdx)); // remove line from string res = res.slice(colonIdx + 1, res.length - 1); // split remaining string at double space var split = res.split(" "); // put string into textfields this.inputLine.setValue(split[0]); // term this.printLines(txtFormat(split[1])); // definition ![]() |
![]() |
![]() |
![]() |
#1092 |
Member
![]() ![]() ![]() ![]() ![]() Posts: 14
Karma: 468
Join Date: Apr 2009
Location: Shenzhen, China
Device: Sony PRS 505
|
Native Chinese support is great, other updates are nice too. Many thanks, Kartu.
|
![]() |
![]() |
![]() |
#1093 |
beginner
![]() Posts: 7
Karma: 56
Join Date: Feb 2009
Device: Kindle, historically PRS-505
|
By the way, I tried turning epub userstyle off, is there any way to turn it on again(without reflashing whole reader)?
I also cant seem to get working corrected version of Czech.js, I tried to change file in beta tester pack, but it doesnt have any effect, and when I reflashed again with prs+ czech language stayed there. Do I have to reflash it first with original 1.1 US firmware and then prs+? EDIT: I figured it out, I was putting betatester pack on internal memory instead of card ![]() Thanks Last edited by Hobogen; 05-12-2010 at 04:56 PM. |
![]() |
![]() |
![]() |
#1094 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 318
Karma: 1846
Join Date: Dec 2009
Device: PRS-505
|
Kartu, you say in the new realeased 1.1.1 "Don't forget to remove old beta pack, before installing this. (they are not compatible)", so what should i do to install this release?
thanks |
![]() |
![]() |
![]() |
#1095 | ||
PRS+ author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,637
Karma: 2446233
Join Date: Dec 2007
Device: Sony PRS-300, 505, 600, 650, 950
|
Quote:
Quote:
Duglum Thanks, I'll add the fix to repository. ![]() |
||
![]() |
![]() |
![]() |
|
![]() |
||||
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 |