Capitalize the pronoun "I"
This commit is contained in:
parent
4298ee1e67
commit
de79b26f57
|
@ -464,6 +464,9 @@ func (g *english) randomPronoun(plural bool) (string, error) {
|
||||||
return "", fmt.Errorf("[pronoun] ID: %d; %v", ids[rid], err)
|
return "", fmt.Errorf("[pronoun] ID: %d; %v", ids[rid], err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if pronoun.Word == "i" {
|
||||||
|
return strings.ToUpper(pronoun.Word), nil
|
||||||
|
}
|
||||||
return pronoun.Word, nil
|
return pronoun.Word, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue