Skip to content

Commit 1a80e8e

Browse files
authored
Fix minor typos
Fix comments to ensure correct docs generated
1 parent e5a058f commit 1a80e8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mo.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ Example:
3535
)
3636
3737
func main() {
38-
// Create po object
39-
po := gotext.NewMo()
38+
// Create mo object
39+
mo := gotext.NewMo()
4040
41-
// Parse .po file
42-
po.ParseFile("/path/to/po/file/translations.mo")
41+
// Parse .mo file
42+
mo.ParseFile("/path/to/po/file/translations.mo")
4343
4444
// Get Translation
45-
fmt.Println(po.Get("Translate this"))
45+
fmt.Println(mo.Get("Translate this"))
4646
}
4747
4848
*/

0 commit comments

Comments
 (0)