Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2024, 10:44 AM   #256
User_Z
Zealot
User_Z began at the beginning.
 
Posts: 108
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Quote:
Originally Posted by KevinH View Post
On a side note, for the specific example image you chose, it would be trivial to change the prompt from:
Already changed.
User_Z is offline   Reply With Quote
Old 06-17-2024, 10:54 AM   #257
User_Z
Zealot
User_Z began at the beginning.
 
Posts: 108
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Quote:
Originally Posted by KevinH View Post
As a compromise workaround, if you and BeckyEbook can provide a *small* (5 or less?) set of the worst cases in Sigil (i.e point me at the exact prompt in English that will specifically identify the dialog in question) where Qt's internal button translations do *not* match the prompt,...
It's a deal.
User_Z is offline   Reply With Quote
Old Today, 02:57 AM   #258
User_Z
Zealot
User_Z began at the beginning.
 
Posts: 108
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Hello.

In the test version of Sigil 2.3.0 I can't find the lines that are listed in the Transifex system under numbers 1744, 1745, 2115, 2116.

What exactly is the meaning or action that you put into the word "Rebase"?
User_Z is offline   Reply With Quote
Old Today, 05:23 AM   #259
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 721
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Various
Rebase in this context means that the identifiers of all files in the manifest section (and, of course, the spine section) in the OPF file will be updated to those that match the original file names.

That is, for example.
if there is an entry in the manifest:
Code:
<item id="id34284-ch1" href="chapter_1.xhtml" media-type="application/xhtml+xml"/>
it will be changed to such:
Code:
<item id="chapter_1_xhtml" href="chapter_1.xhtml" media-type="application/xhtml+xml"/>
id="chapter_1_xhtml" is now consistent with the file name: "chapter_1.xhtml"
Attached Thumbnails
Click image for larger version

Name:	sigil-rebase.png
Views:	9
Size:	31.4 KB
ID:	209978   Click image for larger version

Name:	sigil-rebase-completed.png
Views:	8
Size:	8.3 KB
ID:	209979  
BeckyEbook is offline   Reply With Quote
Old Today, 06:02 AM   #260
User_Z
Zealot
User_Z began at the beginning.
 
Posts: 108
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
Thank you.

For some reason I don't have such a menu item.
Attached Thumbnails
Click image for larger version

Name:	No-Rebase-menu - Sigil.png
Views:	11
Size:	60.0 KB
ID:	209981  
User_Z is offline   Reply With Quote
Old Today, 06:36 AM   #261
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 721
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Various
This option will be available in an upcoming Sigil release. I try to keep building up-to-date versions from the source code, so this option is visible with me. The new command came after the latest beta release.
BeckyEbook is offline   Reply With Quote
Old Today, 08:14 AM   #262
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,887
Karma: 5449552
Join Date: Nov 2009
Device: many
Yes, in this context the definition of "rebase" is as follows.

To "rebase" is the process of modifying data based on one specific reference to now be based on another different reference without changing its underlying functionality.

In Sigil, you are modifying all opf manifest ids from their previous naming basis (whatever that was) to now be based on their current file names without breaking any functionality.

That means making sure to properly update the spine, update the smil references in metadata, update the cover image metadata, update any bindings, updating manifest fall back properties, and any media-overlay properties just to make sure you do not break the opf.

This tool may be particularly useful after renaming files en masse so that the current manifest ids do not reflect the now changed earlier file name which can cause confusion when examining or hand editing the OPF.

This tool was added based on requests from users to "fix" manifest ids after a file was renamed like Sigil used to do but that old approach was too slow for large renames and unfortunately could result in broken functionality especially under epub3. So that practice was stopped to avoid creating bugs since the spec called for unique ids only.

Over the years people just got used to basing these ids on filenames.
KevinH is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Translating KOReader leschek KOReader 107 03-17-2023 04:19 PM
Translating using Calibre P.Jourdan Editor 5 04-29-2021 06:32 PM
Footnotes not translating HowardBrazee Calibre 7 08-14-2015 08:43 AM
Translating my plugin? silentguy Plugins 4 01-19-2011 11:00 AM
Translating MR stories Verencat Lounge 11 05-31-2009 12:00 PM


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


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