File tree 5 files changed +5
-5
lines changed
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ const (
139
139
maxPrimary = illegalOffset + 1
140
140
)
141
141
142
- // implicitPrimary returns the primary weight for the a rune
142
+ // implicitPrimary returns the primary weight for the given rune
143
143
// for which there is no entry for the rune in the collation table.
144
144
// We take a different approach from the one specified in
145
145
// https://unicode.org/reports/tr10/#Implicit_Weights,
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ func (d *Decoder) setError(err error) {
257
257
// Language returns the language in which the message is being rendered.
258
258
//
259
259
// The destination language may be a child language of the language used for
260
- // encoding. For instance, a decoding language of "pt-PT"" is consistent with an
260
+ // encoding. For instance, a decoding language of "pt-PT" is consistent with an
261
261
// encoding language of "pt".
262
262
func (d * Decoder ) Language () language.Tag { return d .tag }
263
263
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ const (
354
354
maxPrimary = illegalOffset + 1
355
355
)
356
356
357
- // implicitPrimary returns the primary weight for the a rune
357
+ // implicitPrimary returns the primary weight for the given rune
358
358
// for which there is no entry for the rune in the collation table.
359
359
// We take a different approach from the one specified in
360
360
// https://unicode.org/reports/tr10/#Implicit_Weights,
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ type Config struct {
58
58
// 1. From the Language field in the file.
59
59
// 2. If not present, from a valid language tag in the filename, separated
60
60
// by dots (e.g. "en-US.json" or "incoming.pt_PT.xmb").
61
- // 3. If not present, from a the closest subdirectory in which the file
61
+ // 3. If not present, from the closest subdirectory in which the file
62
62
// is contained that parses as a valid language tag.
63
63
TranslationsPattern string
64
64
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ func loadUnicodeData() {
235
235
}
236
236
}
237
237
238
- // compactCCC converts the sparse set of CCC values to a continguous one,
238
+ // compactCCC converts the sparse set of CCC values to a contiguous one,
239
239
// reducing the number of bits needed from 8 to 6.
240
240
func compactCCC () {
241
241
m := make (map [uint8 ]uint8 )
You can’t perform that action at this time.
0 commit comments