Skip to content

Commit

Permalink
chore: fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerex committed Jul 12, 2024
1 parent 05c7a75 commit ac3b65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n4go/cmds/checkup.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <MODULE>.i18n.T() or <MODULE>.t() method calls (eg. i18n.T())
// inspect any <MODULE>.T() or <MODULE>.t() method calls (eg. i18n.T())
if ident.Name == cu.options.QualifierFlag && (funName == "T" || funName == "t") {
translatedStrings = cu.inspectTFunc(translatedStrings, stmtMap, *node)
}
Expand Down

0 comments on commit ac3b65e

Please sign in to comment.