Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-22-2010, 06:47 PM   #1
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
Enchanced ctb for DR800/1000

Hi

I have a lot ebook in russina, so I add to alpha bar a language support.

Addition are done as language depended string, that describes alphabar and functions that builds it.

For every language it can be added by additions new string to [].po file.
Example from ru.po:
#: ../src/fileview.c:1980
msgid "#,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X ,Y,Z"
msgstr "#,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X ,Y,Z|А,Б,В,Г,Д,Е,Ё,Ж,З,И,Й,К,Л,М,Н, О,П,Р,С,Т,У,Ф,Х,Ц,Ч,Ш,Щ,Ъ,Ы,Ь,Э,Ю ,Я"

As you can see:
',' - separate a letter
'|' - separates a column

See attached picture:

As an addition:
- Russian support for dr800sg, based on work of Vladislav Dikonov
(not all translated yet)
- changed sourses.

you can send me language po files with added strings, to add support for this bar in other languages.
This is working in QEMU and my IREX800sg, but still have to be checked, so use it on your risk.

Steps to install:
1. enable SD card folders browsing
2. connect device to your computer using the USB cable
3. unzip package in root directory
You should have something like:
Code:

SD card
/Programs
_ctb800sg (directory)
Install (directory)

6. go to SD_card/Install folder and run InstallCtb800sg.desktop


Yura
Attached Thumbnails
Click image for larger version

Name:	Screenshot-QEMU.png
Views:	165
Size:	54.5 KB
ID:	58659  
Attached Files
File Type: zip ctb800_src.zip (40.5 KB, 106 views)
File Type: zip ctb800sg.zip (56.2 KB, 117 views)

Last edited by yuri_b; 09-23-2010 at 12:07 PM. Reason: Fixed installer
yuri_b is offline   Reply With Quote
Old 09-23-2010, 06:48 AM   #2
repods
Addict
repods is on a distinguished road
 
Posts: 223
Karma: 72
Join Date: Jan 2010
Device: irex DR-800S, M92S
very well done.. good job..
btw do you have this e-book in russian language ? :
Безопасность Oracle глазами аудитора. Нападение и защита
the autor is Александр Поляков (Alexander Polyakov)
ISBN 978-5-94074-517-4
it seems it has not still been translated ..
a real pity..
repods is offline   Reply With Quote
 
Enthusiast
Old 09-23-2010, 12:08 PM   #3
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
Quote:
Originally Posted by repods View Post
btw do you have this e-book in russian language ? :
Безопасность Oracle глазами аудитора. Нападение и защита
the autor is Александр Поляков (Alexander Polyakov)
ISBN 978-5-94074-517-4
it seems it has not still been translated ..
a real pity..
Thanks
No I don't have this book.
yuri_b is offline   Reply With Quote
Old 09-27-2010, 01:53 PM   #4
Loo
Member
Loo began at the beginning.
 
Posts: 23
Karma: 16
Join Date: Apr 2010
Location: Moscow
Device: IREX DR 800
Hello,
May be i do something wrong. Should it work for folder names too?
Thanks,
Loo is offline   Reply With Quote
Old 09-28-2010, 03:53 AM   #5
yuri_b
Connoisseur
yuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enoughyuri_b will become famous soon enough
 
Posts: 71
Karma: 592
Join Date: Aug 2010
Device: irex dr800sg DR1000S
This is comments from source file:
// clicking on same letter twice jumps to file with initial, otherwise jump to directory

i.e. after first click it will loo first for directory, else for file


Just creates 4 directories in russian and english, all works in QEMU.

later will check on device also.

Last edited by yuri_b; 09-28-2010 at 03:59 AM.
yuri_b is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR800 Building ctb dima_tr iRex Developer's Corner 6 06-30-2010 04:47 AM


All times are GMT -4. The time now is 12:09 AM.


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