Quote:
Originally Posted by Terisa de morgan
Here you can find the Spanish translation if you're interested.
|
So it worked ok for you? There was one thing that bugged me when I added the translation in th original code:
Code:
id_map = {}
for i, title, last_modified, isbn in extracted_ids:
mi = Metadata(_('Unknown'))
mi.isbn = isbn
id_map[i] = mi
edit_metadata_action = self.gui.iactions['Edit Metadata']
edit_metadata_action.apply_metadata_changes(id_map,
callback=self._mark_and_display_results)
mi = Metadata(_('Unknown')) was used and it caused a problem when I added the translation. I changed it to use mi = Metadata(title) instead and it seem to be working, but I don't understand why _('Unknown') was used in the first place, and if the change I made can have unwanted consequences?