TranslationCatalogEntry
struct · ferroui-protranslate-formats · v0.5.0
struct TranslationCatalogEntry
A normalized translation. Plurals use key.category and retain the category separately.
Members
key
key: String
culture
culture: Option<String>
value
value: String
source
source: Option<String>
comment
comment: Option<String>
context
context: Option<String>
state
state: Option<String>
plural_category
plural_category: Option<String>
format
format: Option<String>
metadata
metadata: std::collections::BTreeMap<String, String>
new
fn new(key: impl Into<String>, culture: Option<&str>, value: impl Into<String>) -> Self
base_key
fn base_key(self: &Self) -> &str
The plural group's key without its category suffix.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedDeserializeOwnedCloneDebugDefaultEqStructuralPartialEqPartialEqSerializeDeserialize<'de>
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.