Part of lp.translations.interfaces.translationmessage View In Hierarchy
Method | getByID | Return the TranslationMessage with the given ID or None. |
Method | selectDirect | Return sequence of `TranslationMessage`s matching arguments. |
Method | preloadDetails | Preload lots of details for `TranslationMessage`s. |
Method | preloadPOFilesAndSequences | Preload browser_pofile and sequence for `TranslationMessage`s. |
Return sequence of `TranslationMessage`s matching arguments. This is meant for maintenance use. If you find yourself using it anywhere except in a manually-run script, try something else. :param where: An SQL WHERE clause describing which messages to return. :param order_by: An SQL ORDER BY clause.
Preload lots of details for `TranslationMessage`s. If need_pofile is True, pofile may be left None to indicate that an arbitrary `POFile` containing that message may be picked, or set to a specific `POFile` in which all the messages must exist. In either case, all messages must be for the same language.