Skip to content

Commit

Permalink
fix issue to SET the correct translation.
Browse files Browse the repository at this point in the history
  • Loading branch information
donseba committed Feb 3, 2024
1 parent f282add commit 3ebd7be
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
Expand Up @@ -241,7 +241,7 @@ func (do *Domain) Set(id, str string) {
trans = NewTranslation()
trans.ID = id
trans.Set(str)
do.translations[str] = trans
do.translations[id] = trans
}
}

Expand Down Expand Up @@ -277,7 +277,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
}
}

Expand Down

0 comments on commit 3ebd7be

Please sign in to comment.