Skip to content

Commit

Permalink
Add comment to Text
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelacaron committed Oct 29, 2024
1 parent 57c5eab commit 2aafe62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Basic-Car-Maintenance/Shared/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
}
},
"^[%lld contributions](inflect: true)" : {

"comment" : "the number of contributions by a contributor"
},
"🦄 Mikaela Caron - Maintainer" : {
"comment" : "Link to maintainer Github account.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ struct ContributorsProfileView: View {

VStack(alignment: .leading) {
Text(contributor.login).bold()
Text("^[\(contributor.contributions) contributions](inflect: true)")
Text(
"^[\(contributor.contributions) contributions](inflect: true)",
comment: "the number of contributions by a contributor"
)
.foregroundStyle(.secondary)
}
}
Expand Down

0 comments on commit 2aafe62

Please sign in to comment.