We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7542db0 commit 46b8b6bCopy full SHA for 46b8b6b
models/issues/comment.go
@@ -200,12 +200,12 @@ const (
200
RoleRepoContributor RoleInRepo = "contributor"
201
)
202
203
-// LocaleString returns the locale string name of the Status
+// LocaleString returns the locale string name of the role
204
func (r RoleInRepo) LocaleString(lang translation.Locale) string {
205
return lang.Tr("repo.issues.role." + string(r))
206
}
207
208
-// LocaleHelper returns the locale string name of the Status
+// LocaleHelper returns the locale string name of the role
209
func (r RoleInRepo) LocaleHelper(lang translation.Locale) string {
210
return lang.Tr("repo.issues.role." + string(r) + "_helper")
211
0 commit comments