diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/language.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/langs/language.go b/langs/language.go index 42aefda5e..9b96ec0a0 100644 --- a/langs/language.go +++ b/langs/language.go @@ -92,7 +92,7 @@ type Language struct { collator *Collator location *time.Location - // Error during initialization. Will fail the buld. + // Error during initialization. Will fail the build. initErr error } @@ -223,7 +223,7 @@ func (l Languages) AsOrdinalSet() map[string]int { } // IsMultihost returns whether there are more than one language and at least one of -// the languages has baseURL specificed on the language level. +// the languages has baseURL specified on the language level. func (l Languages) IsMultihost() bool { if len(l) <= 1 { return false @@ -326,7 +326,7 @@ type Collator struct { // CompareStrings compares a and b. // It returns -1 if a < b, 1 if a > b and 0 if a == b. // Note that the Collator is not thread safe, so you may want -// to aquire a lock on it before calling this method. +// to acquire a lock on it before calling this method. func (c *Collator) CompareStrings(a, b string) int { return c.c.CompareString(a, b) } |