Skip to content

Commit

Permalink
Fix typo in documentation
Browse files Browse the repository at this point in the history
There is no `NewPoTranslator` function, it's called `NewPo` instead.
  • Loading branch information
der-lyse committed Sep 26, 2023
1 parent 6f739b6 commit d160694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion po.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Example:
func main() {
// Create po object
po := gotext.NewPoTranslator()
po := gotext.NewPo()
// Parse .po file
po.ParseFile("/path/to/po/file/translations.po")
Expand Down

0 comments on commit d160694

Please sign in to comment.