Part of lp.translations.model.translationpolicy View In Hierarchy
Known subclasses: lp.registry.model.distribution.Distribution, lp.registry.model.product.Product, lp.registry.model.projectgroup.ProjectGroup, lp.translations.tests.test_translationpolicy.TranslationPolicyImplementation
ITranslationPolicy
.Method | getInheritedTranslationPolicy | Get any ITranslationPolicy objects that this one inherits. |
Method | isTranslationsOwner | Is person one of the owners of these translations? |
Method | getTranslationGroups | See ITranslationPolicy . |
Method | getTranslators | See ITranslationPolicy . |
Method | getEffectiveTranslationPermission | See ITranslationPolicy . |
Method | invitesTranslationEdits | See ITranslationPolicy . |
Method | invitesTranslationSuggestions | See ITranslationPolicy . |
Method | allowsTranslationEdits | See ITranslationPolicy . |
Method | allowsTranslationSuggestions | See ITranslationPolicy . |
Method | _hasSpecialTranslationPrivileges | Does this person have special translation editing rights here? |
Method | _canTranslate | Is person in a position to translate? |
Method | _getTranslator | Retrieve one (TranslationGroup, Translator, Person) tuple. |
ITranslationPolicy
objects that this one inherits.
To be overridden by the implementing class. A Product
may
inherit a policy from a ProjectGroup
it's in.
person
one of the owners of these translations?
To be overridden by the implementing class if it grants special translation rights to certain people.
person
in a position to translate?
Someone who has declined the translations relicensing agreement is not. Someone who hasn't decided on the agreement yet is, but may be redirected to a form to sign first.