Versions in this module Expand all Collapse all v1 v1.0.3 Dec 24, 2023 Changes in this version + type Comment struct + ExtractedComment string + Flags []string + PrevMsgContext string + PrevMsgId string + ReferenceFile []string + ReferenceLine []int + StartLine int + TranslatorComment string + func (p *Comment) GetFuzzy() bool + func (p *Comment) SetFuzzy(fuzzy bool) + func (p Comment) String() string + type File struct + Messages []Message + MimeHeader Header + SourceLanguage language.Tag + func Load(data []byte) (*File, error) + func LoadFile(path string) (*File, error) + func (f *File) Data() []byte + func (f *File) Save(name string) error + func (f *File) SetSourceLanguage(language language.Tag) + func (f *File) String() string + type Header struct + ContentTransferEncoding string + ContentType string + Language string + LanguageTeam string + LastTranslator string + MimeVersion string + PORevisionDate string + POTCreationDate string + PluralForms string + ProjectIdVersion string + ReportMsgidBugsTo string + UnknowFields map[string]string + XGenerator string + func (p Header) String() string + type Message struct + MsgContext string + MsgId string + MsgIdPlural string + MsgStr string + MsgStrPlural []string + func (p Message) String() string