Skip to content

Commit

Permalink
Merge pull request #65 from akissa/master
Browse files Browse the repository at this point in the history
Minor documentation fixes
  • Loading branch information
leonelquinteros committed Jun 8, 2022
2 parents 59de4ff + 1a80e8e commit 6998e37
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mo.go
Expand Up @@ -35,14 +35,14 @@ Example:
)
func main() {
// Create po object
po := gotext.NewMoTranslator()
// Create mo object
mo := gotext.NewMo()
// Parse .po file
po.ParseFile("/path/to/po/file/translations.mo")
// Parse .mo file
mo.ParseFile("/path/to/po/file/translations.mo")
// Get Translation
fmt.Println(po.Get("Translate this"))
fmt.Println(mo.Get("Translate this"))
}
*/
Expand Down

0 comments on commit 6998e37

Please sign in to comment.