浏览代码

Spelling Errors

Super high priority, eh??
Samuel Kelemen 8 年之前
父节点
当前提交
d71319185c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      translator.go

+ 2 - 2
translator.go

@@ -22,7 +22,7 @@ type Translator interface {
 	locales.Translator
 
 	// adds a normal translation for a particular language/locale
-	// {#} is the only replacement type accepted and are add infintium
+	// {#} is the only replacement type accepted and are ad infinitum
 	// eg. one: '{0} day left' other: '{0} days left'
 	Add(key interface{}, text string, override bool) error
 
@@ -93,7 +93,7 @@ func newTranslator(trans locales.Translator) Translator {
 }
 
 // Add adds a normal translation for a particular language/locale
-// {#} is the only replacement type accepted and are add infintium
+// {#} is the only replacement type accepted and are ad infinitum
 // eg. one: '{0} day left' other: '{0} days left'
 func (t *translator) Add(key interface{}, text string, override bool) error {