Skip to content

Commit 46b8b6b

Browse files
committed
fix comment
1 parent 7542db0 commit 46b8b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/issues/comment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,12 @@ const (
200200
RoleRepoContributor RoleInRepo = "contributor"
201201
)
202202

203-
// LocaleString returns the locale string name of the Status
203+
// LocaleString returns the locale string name of the role
204204
func (r RoleInRepo) LocaleString(lang translation.Locale) string {
205205
return lang.Tr("repo.issues.role." + string(r))
206206
}
207207

208-
// LocaleHelper returns the locale string name of the Status
208+
// LocaleHelper returns the locale string name of the role
209209
func (r RoleInRepo) LocaleHelper(lang translation.Locale) string {
210210
return lang.Tr("repo.issues.role." + string(r) + "_helper")
211211
}

0 commit comments

Comments
 (0)