pub struct TranslationTemplateDiff {
pub active: Option<bool>,
pub date_last_updated: Option<DateTime<Utc>>,
pub description: Option<String>,
pub exported_in_languagepacks: Option<bool>,
pub format: Option<Format>,
pub name: Option<String>,
pub owner_link: Option<Url>,
pub path: Option<String>,
pub priority: Option<String>,
pub translation_domain: Option<String>,
}Expand description
Representation of the translation_template-diff resource
Fields§
§active: Option<bool>Template is active
If unchecked, people can no longer change the template’s translations.
date_last_updated: Option<DateTime<Utc>>Date for last update
description: Option<String>Description
Please provide a brief description of the content of this translation template, for example, telling translators if this template contains strings for end-users or other developers.
exported_in_languagepacks: Option<bool>Include translations for this template in language packs?
Check this box if this template is part of a language pack so its translations should be exported that way.
format: Option<Format>File format for the source file
name: Option<String>Template name
The name of this PO template, for example ‘evolution-2.2’. Each translation template has a unique name in its package. It’s important to get this correct, because Launchpad will recommend alternative translations based on the name.
owner_link: Option<Url>Owner
The owner of the template in Launchpad can edit the template and change it’s status, and can also upload new versions of the template when a new release is made or when the translation strings have been changed during development.
path: Option<String>Path of the template in the source tree, including filename.
priority: Option<String>Priority
A number that describes how important this template is. Often there are multiple templates, and you can use this as a way of indicating which are more important and should be translated first. Pick any number - higher priority templates will generally be listed first.
translation_domain: Option<String>Translation domain
The translation domain for a translation template. Used with PO file format when generating MO files for inclusion in language pack or MO tarball exports.
Implementations§
Source§impl TranslationTemplateDiff
impl TranslationTemplateDiff
Trait Implementations§
Source§impl Clone for TranslationTemplateDiff
impl Clone for TranslationTemplateDiff
Source§fn clone(&self) -> TranslationTemplateDiff
fn clone(&self) -> TranslationTemplateDiff
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more