Part of lp.translations.model.approver View In Hierarchy
| Method | __init__ | Undocumented |
| Method | approve | Approve a queue entry. |
| Method | _getOrCreateGenericTemplate | Try to find or create a template for a generic path. |
| Method | _getOrCreatePOTemplateForPath | Find the POTemplate that path should be imported into. |
Because a generic path (e.g. messages.pot) does not provide a template name, the name of the product or sourcepackagename is used when creating a new template.
| Parameters | path | The path of the template file. |
| Returns | The template or None. | |