You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing multiple TMX files in one batch, poedit cancels the import when it encounters one file that e.g. has no translations or is malformed.
I have encountered this while trying to import hundreds of TMX files (Apple glossary files converted into TMX files). There are dozens of “empty” and occasional malformed TMX files among them that cause the import to be interrupted.
The problem seems to be on the one hand that TMX::ImportFromFile throws errors and that TMPageWindow.OnImportTMX on the other hand handles those errors by breaking out of the loop, thereby cancelling the import altogether.
Some possible improvements would be:
asking the user upon the first error whether to: (1) cancel, (2) continue or (3) continue and ignore all further errors;
ignoring some errors for batch imports only, such as the error when a file has no translations; or
showing just one dialog when the import is completed to inform the user about errors that occurred.
poedit 3.0.1 (6416)
macOS 12.3.1 (21E258)
The text was updated successfully, but these errors were encountered:
This is (temporarily) uglier, but more functional, UI. Don't terminate
imports of multiple TMX files if an error occurs, continue with the rest
of the files.
See #748.
When importing multiple TMX files in one batch, poedit cancels the import when it encounters one file that e.g. has no translations or is malformed.
I have encountered this while trying to import hundreds of TMX files (Apple glossary files converted into TMX files). There are dozens of “empty” and occasional malformed TMX files among them that cause the import to be interrupted.
The problem seems to be on the one hand that
TMX::ImportFromFile
throws errors and thatTMPageWindow.OnImportTMX
on the other hand handles those errors by breaking out of the loop, thereby cancelling the import altogether.Some possible improvements would be:
poedit 3.0.1 (6416)
macOS 12.3.1 (21E258)
The text was updated successfully, but these errors were encountered: