06-17-2024, 10:44 AM | #256 |
Zealot
Posts: 112
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
|
06-17-2024, 10:54 AM | #257 | |
Zealot
Posts: 112
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Quote:
|
|
08-05-2024, 02:57 AM | #258 |
Zealot
Posts: 112
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"? |
08-05-2024, 05:23 AM | #259 |
Guru
Posts: 722
Karma: 2296998
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"/> Code:
<item id="chapter_1_xhtml" href="chapter_1.xhtml" media-type="application/xhtml+xml"/> |
08-05-2024, 06:02 AM | #260 |
Zealot
Posts: 112
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Thank you.
For some reason I don't have such a menu item. |
08-05-2024, 06:36 AM | #261 |
Guru
Posts: 722
Karma: 2296998
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.
|
08-05-2024, 08:14 AM | #262 |
Sigil Developer
Posts: 7,901
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. |
08-05-2024, 10:44 AM | #263 |
Zealot
Posts: 112
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Lines
Updates each Manifest ID to reflect its current file name Rebase cancelled: %1, XML not well formed. Rebase completed. appear in the program's status bar? It would be good to write in the "Context" section something like "MainWindow Menu", "MainWindow Status Bar ". |
08-05-2024, 12:31 PM | #264 |
Sigil Developer
Posts: 7,901
Karma: 5449552
Join Date: Nov 2009
Device: many
|
What transifex provides for translators is not under my control. That said, I have just posted links to a current master Beta2 build in the thread looking for Volunteers to update to User Guide.
That build is up to date (even with translations). Transifex does typically list the source file and line, so it is easy to use Sigil's github website to see what/how that string is used. See for example: https://github.com/search?q=repo%3AS....%22&type=code And it shows it is used in a Warning Dialog. Last edited by KevinH; 08-05-2024 at 12:37 PM. |
|
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 |