Skip to content

Commit

Permalink
Remove "resname" attribute from xliff output
Browse files Browse the repository at this point in the history
Relates: #34
  • Loading branch information
garfieldius committed Jan 7, 2025
1 parent 3adce67 commit 6b291b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions labels/xliff.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ type XliffBody struct {
// XliffUnit is a single ID + Content unit of a Xliff document
type XliffUnit struct {
ID string `xml:"id,attr,omitempty"`
ResName string `xml:"resname,attr,omitempty"`
Approved string `xml:"approved,attr,omitempty"`
Src string `xml:"source"`
To string `xml:"target,omitempty"`
Expand Down Expand Up @@ -197,8 +196,6 @@ func (c *XliffConverter) XML() LangFile {
}

u := &XliffUnit{
ResName: label.ID,
// ID is not the correct attribute for this, but is used by TYPO3
ID: label.ID,
Approved: a,
}
Expand Down

0 comments on commit 6b291b8

Please sign in to comment.