Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2016, 04:35 PM   #1
hermida
Junior Member
hermida began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Post About translation and error messages

Hi, folks, this is my first message and for precaution, I apologize in advance in case of messaging out place.
I work with e-books since 2009 and now I'm working on a translation of the epubcheck error messages.
Calibre has a lot of these messages translated for portuguese and I don't wanna use other technical terms, I prefer to use the existing technical terms to avoid confusion.
So, I'm digging the code for the file where the validator keeps its messages and solutions (and its translations).
Would someone indicate the file or folder where it resides?
Thanks in advance
hermida is offline   Reply With Quote
Old 04-14-2016, 10:01 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I'm confused calibre has no epubcheck error messages. calibre makes no use of epubcheck at all. If you are referring to error messages from the Check Book tool in the calibre editor, they have nothing to do with epubcheck, whatsoever.
kovidgoyal is offline   Reply With Quote
Old 04-27-2016, 03:04 PM   #3
hermida
Junior Member
hermida began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Thanks for answer!
I'm searching for the file(s) that contain these messages (marked in red)
http://colofao.com.br/wp-content/upl...-15-58-45.png:
hermida is offline   Reply With Quote
Old 04-27-2016, 03:23 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by hermida View Post
Thanks for answer!
I'm searching for the file(s) that contain these messages (marked in red)
http://colofao.com.br/wp-content/upl...-15-58-45.png:
404 is a standard System message: Not found
theducks is offline   Reply With Quote
Old 04-27-2016, 04:54 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
404 is a standard System message: Not found
@hermida - And apart from the Google + logo there is nothing in red on the image you posted

BR
BetterRed is offline   Reply With Quote
Old 04-29-2016, 06:11 PM   #6
hermida
Junior Member
hermida began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Sorry again, the url is wrong because of ":" at the end of address
- http://colofao.com.br/wp-content/upl...7-15-58-45.png -
hermida is offline   Reply With Quote
Old 04-29-2016, 08:29 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You have bogus values entered in those places:

Look the the CSS rules for font-weight:
(I cant read the CSS value) normal, bold are common values

Look at the CSS rules for page-break-before, page-break-after
never is not valid. avoid is good
theducks is offline   Reply With Quote
Old 05-02-2016, 09:26 AM   #8
hermida
Junior Member
hermida began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Hi, theducks, thanks for your reply, but I'm not searching for solutions to the file problems, I'm searching for the file that countains these error messages because I'm translating the epub check and want to use the same nomenclature.

Anyway, thanks again!
hermida is offline   Reply With Quote
Old 05-02-2016, 10:03 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,802
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by hermida View Post
Hi, theducks, thanks for your reply, but I'm not searching for solutions to the file problems, I'm searching for the file that countains these error messages because I'm translating the epub check and want to use the same nomenclature.

Anyway, thanks again!
One of the developers will need to step in and tell you which source file

Those (Translated) messages are for the: ebook-editor
theducks is offline   Reply With Quote
Old 05-02-2016, 10:39 AM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
See: https://github.com/kovidgoyal/calibre-translations

It contains all the *.po files used in localizing calibre.
eschwartz is offline   Reply With Quote
Old 05-02-2016, 10:45 AM   #11
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You dont need to find the file, you can contribute translations directly via the Transifex web interface, here: https://www.transifex.com/calibre/calibre/main/

Just choose your language and then search for the string you want to correct.

Details on how translations work in calibre are here: http://calibre-ebook.com/get-involved
kovidgoyal is offline   Reply With Quote
Old 05-02-2016, 11:08 AM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The OP seemingly wants to pull already-localized error mesages (that someone else has figured out how to word) from calibre to reuse in a new project.

Given that, I figured working with po files is probably more useful than transifex.
eschwartz is offline   Reply With Quote
Old 05-05-2016, 04:34 PM   #13
hermida
Junior Member
hermida began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: none
Thank you so much, folks!
hermida is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Messages in Calibre didiyy Devices 17 01-11-2013 03:31 PM
Trying to understand error messages GraciousMe Sigil 13 10-29-2012 08:38 AM
Help! Getting Error Messages for Covers irishd1988 Library Management 2 06-02-2012 06:06 AM
error messages on new PC huskerruth Devices 1 02-16-2011 11:56 AM
Error Messages in Calibre didiyy Introduce Yourself 4 09-10-2010 10:45 AM


All times are GMT -4. The time now is 05:31 PM.


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