Skip to content

Commit 9a5081d

Browse files
committed
Fix a typo in documentation for SetLibrary
1 parent 831b071 commit 9a5081d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gotext.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ func GetLibrary() string {
155155
return lib
156156
}
157157

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

0 commit comments

Comments
 (0)