Skip to content

Commit

Permalink
Address Domain Set and SetN bug. Fixes #99
Browse files Browse the repository at this point in the history
  • Loading branch information
leonelquinteros authored Jun 5, 2024
1 parent c7c2135 commit b119ef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domain.go
Original file line number Diff line number Diff line change
@@ -242,7 +242,7 @@ func (do *Domain) Set(id, str string) {
trans = NewTranslation()
trans.ID = id
trans.Set(str)
do.translations[str] = trans
do.translations[id] = trans
}
}

@@ -278,7 +278,7 @@ func (do *Domain) SetN(id, plural string, n int, str string) {
trans.ID = id
trans.PluralID = plural
trans.SetN(pluralForm, str)
do.translations[str] = trans
do.translations[id] = trans
}
}

0 comments on commit b119ef1

Please sign in to comment.