Skip to content

Commit

Permalink
Fix a typo in documentation for SetLibrary
Browse files Browse the repository at this point in the history
  • Loading branch information
m-horky committed Dec 19, 2023
1 parent 4ec5f39 commit f7ff9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotext.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func GetLibrary() string {
return lib
}

// SetLibrary sets the root path for the loale directories and files to be used at package level.
// SetLibrary sets the root path for the locale directories and files to be used at package level.
// It reloads the corresponding Translation file.
func SetLibrary(lib string) {
globalConfig.Lock()
Expand Down

0 comments on commit f7ff9bf

Please sign in to comment.