![]() |
#256 |
Zealot
![]() Posts: 114
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
|
![]() |
![]() |
![]() |
#257 | |
Zealot
![]() Posts: 114
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Quote:
|
|
![]() |
![]() |
![]() |
#258 |
Zealot
![]() Posts: 114
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"? |
![]() |
![]() |
![]() |
#259 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 731
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"/> |
![]() |
![]() |
![]() |
#260 |
Zealot
![]() Posts: 114
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Thank you.
For some reason I don't have such a menu item. |
![]() |
![]() |
![]() |
#261 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 731
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.
|
![]() |
![]() |
![]() |
#262 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,948
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. |
![]() |
![]() |
![]() |
#263 |
Zealot
![]() Posts: 114
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 ". |
![]() |
![]() |
![]() |
#264 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,948
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. |
![]() |
![]() |
![]() |
#265 |
Zealot
![]() Posts: 114
Karma: 10
Join Date: Sep 2019
Location: Ukraine
Device: Computer, iPad
|
Hello KevinH.
If you place some interface element for selecting a language on the "Documentation" page of your site, you can add a user guide in other languages, not just the English version. For example, my translation of the manual. Have you thought about this? |
![]() |
![]() |
![]() |
#266 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,779
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That's not feasible. Our "Site" is auto generated by a GitHub repository. It is automatically updated by our GitHub release process to point to a specifically named artifact attached to the latest release of the Sigil User Guide GitHub repository. So it's not nearly as simple as "add an interface element." Not to mention that even if we could get it to just magically work, we'd still need to rely upon links to external sites that we have no control over. We would have to rely on others to help us fix the myriad of things that could break under such conditions.
I'd be happy to add links to third-party translations of our user guide in a subsection of our sigil-ebook.com documentation page. But it's not going to be a choose-your-language kind of option. They would also have to be links that are going to be permanently available. Last edited by DiapDealer; 08-16-2024 at 09:31 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |