From ac3b65e9bde730c1cd8f33eac94d21e9cfeaca3c Mon Sep 17 00:00:00 2001 From: Aerex Date: Fri, 12 Jul 2024 12:29:28 -0400 Subject: [PATCH] chore: fixed comment --- i18n4go/cmds/checkup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n4go/cmds/checkup.go b/i18n4go/cmds/checkup.go index 9b6523f..0214768 100644 --- a/i18n4go/cmds/checkup.go +++ b/i18n4go/cmds/checkup.go @@ -221,7 +221,7 @@ func (cu *Checkup) inspectCallExpr(translatedStrings []string, stmtMap map[strin expr := node.Fun.(*ast.SelectorExpr) if ident, ok := expr.X.(*ast.Ident); ok { funName := expr.Sel.Name - // inspect any .i18n.T() or .t() method calls (eg. i18n.T()) + // inspect any .T() or .t() method calls (eg. i18n.T()) if ident.Name == cu.options.QualifierFlag && (funName == "T" || funName == "t") { translatedStrings = cu.inspectTFunc(translatedStrings, stmtMap, *node) }