You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(mobile): issue list row accessibility label says "1 comment" for one comment - #43367
On mobile, each row of the issue list carries a screen-reader label that, when the issue has comments, ends with the comment count. Its plural message has only an other form, so an issue with exactly one comment is announced as "1 comments". The visible row shows only the number, so the mistake is heard but not seen.
Change
IssueListRow.tsx now uses {count, plural, one {{count} comment} other {{count} comments}}, the same message the mobile review sheet and diff comment threads already use. Every mobile catalog already has that message with the right plural forms for its language, so each of the 10 catalogs only loses the now-unused key for the old other-only message (vp run i18n:check passes). Two or more comments still read "N comments". The web issue list row shows the count without a spoken comment label, so it has nothing to fix.
Scope
Bug fix: one source line plus the unused catalog key, so no issue.
Verification
Setup. Android 17 emulator (foldable, unfolded) and iOS 27.1 simulator (iPhone Duo), light theme. A fresh isolated dev server named "Test machine", with fresh data and no sample threads, connected to a local Forgejo with a sample sample/project repository holding three open issues with 0, 1 and 2 comments. The same server served both commits. Only the Metro bundle changed, and each bundle was checked for the commit's message. Steps. Issues → read each row's accessibility label from the app's accessibility tree.
Android: the one-comment issue is announced as "1 comments"
Android: the one-comment issue is announced as "1 comment"
iOS: the one-comment issue is announced as "1 comments"
iOS: the one-comment issue is announced as "1 comment"
The strip at the bottom of each image lists all three rows' labels, copied from the accessibility tree. On both platforms the two-comment issue reads "2 comments" and the issue with no comments has no comment part, on both commits. vp run check:changed passes on 224f04a. An AI agent ran every check.
Issue #3, Add a search box to settings, Open, by sample, 2 comments
Issue #2, Dark mode toggle does not persist, Open, by sample, 1 comments
Issue #1, Typo in the welcome screen, Open, by sample
Issue #3, Add a search box to settings, Open, by sample, 2 comments
Issue #2, Dark mode toggle does not persist, Open, by sample, 1 comment
Issue #1, Typo in the welcome screen, Open, by sample
Not shown.
Web and desktop: their issue rows show the comment count without a spoken label.
Other languages: their catalogs already had the right translation for this message, so their output does not change.
…one comment
The plural string had no one branch, so screen readers announced "1 comments"; it now reuses the existing "{count} comment" message, already translated in every catalog.
Reviewing files that changed from the base of the PR and between 224f04a and eb67e04.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The issue row’s accessibility label now uses a singular form for one comment. The pluralized comment-count translation entries were removed from ten locale files.
Changes: Comment-count accessibility label
Layer / File(s)
Summary
Label and translation updates apps/mobile/src/features/issues/IssueListRow.tsx, apps/mobile/src/i18n/translations/*.json
The accessibility message defines a singular form for one comment. The pluralized comment-count translation entries were removed from ten locale files.
Screen readers on mobile will announce "1 comment" instead of "1 comments" for a single-comment issue. No merge-blocking risk was identified.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title states the main change: the mobile issue list row accessibility label now says "1 comment" for a single comment instead of "1 comments". It is a fix, specific, and matches the diff in IssueL…
Description check
The description follows the template well. It has Problem, Change, Scope, and Verification sections. It explains the plural bug, the one-line source fix with the unused catalog key removal, why no iss…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title states the main change: the mobile issue list row accessibility label now says "1 comment" for a single comment instead of "1 comments". It is a fix, specific, and matches the diff in IssueListRow.tsx and the catalog cleanup.
Full details: Description check
Explanation
The description follows the template well. It has Problem, Change, Scope, and Verification sections. It explains the plural bug, the one-line source fix with the unused catalog key removal, why no issue is needed for this small obvious bug, and gives detailed before/after verification on Android and iOS with accessibility labels and images. The template's optional agent-model line is present, and the title is conventional. It does not link an issue, but the Scope section explains why none is needed, as the template allows for small obvious fixes.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 65fc371 and 224f04a.
Files selected for processing: 11
apps/mobile/src/features/issues/IssueListRow.tsx
apps/mobile/src/i18n/translations/de.json
apps/mobile/src/i18n/translations/en.json
apps/mobile/src/i18n/translations/es.json
apps/mobile/src/i18n/translations/fr.json
apps/mobile/src/i18n/translations/ja.json
apps/mobile/src/i18n/translations/ko.json
apps/mobile/src/i18n/translations/pt-BR.json
apps/mobile/src/i18n/translations/ru.json
apps/mobile/src/i18n/translations/sv.json
apps/mobile/src/i18n/translations/zh.json
Files with no reviewable changes: 10
apps/mobile/src/i18n/translations/de.json
apps/mobile/src/i18n/translations/en.json
apps/mobile/src/i18n/translations/es.json
apps/mobile/src/i18n/translations/fr.json
apps/mobile/src/i18n/translations/ja.json
apps/mobile/src/i18n/translations/ko.json
apps/mobile/src/i18n/translations/pt-BR.json
apps/mobile/src/i18n/translations/ru.json
apps/mobile/src/i18n/translations/sv.json
apps/mobile/src/i18n/translations/zh.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Created synthetic GitLab issues with 0, 1, and 2 comments. On each commit's isolated server and native Android bundle: pair → Pulls → Pull requests, switch list → Issues → inspect row accessibility labels.
Environment: pooled Pixel 9, Android API 36, English, light theme, 1080×2424. Images show native fixture-row crops plus verbatim accessibility labels extracted from the device. Fixture crops were stable across captures at least 500 ms apart.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:S10-29 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On mobile, each row of the issue list carries a screen-reader label that, when the issue has comments, ends with the comment count. Its plural message has only an
otherform, so an issue with exactly one comment is announced as "1 comments". The visible row shows only the number, so the mistake is heard but not seen.Change
IssueListRow.tsxnow uses{count, plural, one {{count} comment} other {{count} comments}}, the same message the mobile review sheet and diff comment threads already use. Every mobile catalog already has that message with the right plural forms for its language, so each of the 10 catalogs only loses the now-unused key for the oldother-only message (vp run i18n:checkpasses). Two or more comments still read "N comments". The web issue list row shows the count without a spoken comment label, so it has nothing to fix.Scope
Bug fix: one source line plus the unused catalog key, so no issue.
Verification
Setup. Android 17 emulator (foldable, unfolded) and iOS 27.1 simulator (iPhone Duo), light theme. A fresh isolated dev server named "Test machine", with fresh data and no sample threads, connected to a local Forgejo with a sample
sample/projectrepository holding three open issues with 0, 1 and 2 comments. The same server served both commits. Only the Metro bundle changed, and each bundle was checked for the commit's message.Steps. Issues → read each row's accessibility label from the app's accessibility tree.
Android: the one-comment issue is announced as "1 comments"
Android: the one-comment issue is announced as "1 comment"
iOS: the one-comment issue is announced as "1 comments"
iOS: the one-comment issue is announced as "1 comment"
The strip at the bottom of each image lists all three rows' labels, copied from the accessibility tree. On both platforms the two-comment issue reads "2 comments" and the issue with no comments has no comment part, on both commits.
vp run check:changedpasses on 224f04a. An AI agent ran every check.Accessibility labels
b8ef060 (same on Android and iOS):
224f04a (same on Android and iOS):
Not shown.
Generated with Claude Opus 5.5 in T3 Code Nightly