Skip to content

Commit d160694

Browse files
committed
Fix typo in documentation
There is no `NewPoTranslator` function, it's called `NewPo` instead.
1 parent 6f739b6 commit d160694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

po.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example:
2525
2626
func main() {
2727
// Create po object
28-
po := gotext.NewPoTranslator()
28+
po := gotext.NewPo()
2929
3030
// Parse .po file
3131
po.ParseFile("/path/to/po/file/translations.po")

0 commit comments

Comments
 (0)