Thread: Enchanced ctb
View Single Post
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:	548
Size:	54.5 KB
ID:	58659  
Attached Files
File Type: zip ctb800_src.zip (40.5 KB, 426 views)
File Type: zip ctb800sg.zip (56.2 KB, 424 views)

Last edited by yuri_b; 09-23-2010 at 12:07 PM. Reason: Fixed installer
yuri_b is offline   Reply With Quote