-
-
Notifications
You must be signed in to change notification settings - Fork 45
CCCT-1985 Updated no data messages in different screen's #3506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
📝 WalkthroughWalkthroughThis change updates user-facing strings and layout attributes across multiple language resource files. The primary modification is renaming the notification string resource from Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
app/res/layout/fragment_work_history_earned.xml (1)
8-18: Avoid hardcoded black text color.If the parent background changes (e.g., dark theme), black text can become unreadable. Prefer a theme attribute so the empty-state text adapts to the active theme.
🛠️ Suggested change
- android:textColor="@color/black" + android:textColor="?attr/textColorPrimary"
🤖 Fix all issues with AI agents
In `@app/res/values-ti/strings.xml`:
- Line 292: The Tigrinya string identified by name "connect_no_jobs" contains
stray Thai characters (“ปรากฏ”) and must be replaced with the correct Tigrinya
text via the localization process; locate the <string name="connect_no_jobs">
entry and update its value to the proper Tigrinya translation (using your
i18n/localization workflow or translator) so the sentence is entirely in
Tigrinya and free of mixed-script characters.
app/res/values-ti/strings.xml
Outdated
| <string name="connect_last_update">ዝተመሓየሸ: %s</string> | ||
| <string name="connect_title">ኣራኽብ</string> | ||
| <string name="connect_no_jobs">ኣብ ዝኾነ ንጡፍ ዕድላት ኣይተዓደምኩምን። በይዛኹም ፀኒሕኹም ተመለሱ።</string> | ||
| <string name="connect_no_jobs">ንሕጂ ናብ ዝኾነ ዕድላት ኣይተዓደምካን። ሓንሳብ ናብ ዕድል ምስ ተዓደምካ፡ ኣብዚ ዝርዝር ክปรากฏ እዩ።</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix mixed-script text in Tigrinya string.
The connect_no_jobs translation includes Thai characters (“ปรากฏ”), which looks like an accidental copy/paste and will read incorrectly to Tigrinya users. Please replace with the correct Tigrinya wording via your localization workflow.
🤖 Prompt for AI Agents
In `@app/res/values-ti/strings.xml` at line 292, The Tigrinya string identified by
name "connect_no_jobs" contains stray Thai characters (“ปรากฏ”) and must be
replaced with the correct Tigrinya text via the localization process; locate the
<string name="connect_no_jobs"> entry and update its value to the proper
Tigrinya translation (using your i18n/localization workflow or translator) so
the sentence is entirely in Tigrinya and free of mixed-script characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaypanchal-13 can we verify this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the humans are having a chat. I'll hop back into my burrow for now. If you need me again, just tag @coderabbitai in a new comment, and I'll come hopping out!
app/res/values-fr/strings.xml
Outdated
| <string name="connect_last_update">Mis à jour: %s</string> | ||
| <string name="connect_title">Connecter</string> | ||
| <string name="connect_no_jobs">Vous n\'avez été invité à aucune opportunité active. Veuillez revenir plus tard.</string> | ||
| <string name="connect_no_jobs">Vous n’avez encore été invité à aucune opportunité. Une fois que vous êtes invité à une opportunité, elle apparaîtra dans cette liste.</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has missing \ in n\’avez.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jignesh-dimagi Yes but it is not showing or throwing any error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a difference in the actual characters, between ’ (unicode 8217) and ' (ASCII 39)
It looks like AS only wants the ASCII char to be escaped. But I think we should be consistent in which one we use, and since other places use ' we should use it here also (with the \)
|
@jaypanchal-13 Just a thought: All screen has different UI (text size, color, gravity) to show the empty screen. Shouldn't we make it uniform across all the screen? |
|
app/res/values-ti/strings.xml
Outdated
| <string name="connect_last_update">ዝተመሓየሸ: %s</string> | ||
| <string name="connect_title">ኣራኽብ</string> | ||
| <string name="connect_no_jobs">ኣብ ዝኾነ ንጡፍ ዕድላት ኣይተዓደምኩምን። በይዛኹም ፀኒሕኹም ተመለሱ።</string> | ||
| <string name="connect_no_jobs">ንሕጂ ናብ ዝኾነ ዕድላት ኣይተዓደምካን። ሓንሳብ ናብ ዕድል ምስ ተዓደምካ፡ ኣብዚ ዝርዝር ክปรากฏ እዩ።</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jaypanchal-13 can we verify this
OrangeAndGreen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a couple things to check, and looks like Conroy identified an important one also
app/res/values-fr/strings.xml
Outdated
| <string name="connect_last_update">Mis à jour: %s</string> | ||
| <string name="connect_title">Connecter</string> | ||
| <string name="connect_no_jobs">Vous n\'avez été invité à aucune opportunité active. Veuillez revenir plus tard.</string> | ||
| <string name="connect_no_jobs">Vous n’avez encore été invité à aucune opportunité. Une fois que vous êtes invité à une opportunité, elle apparaîtra dans cette liste.</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be a difference in the actual characters, between ’ (unicode 8217) and ' (ASCII 39)
It looks like AS only wants the ASCII char to be escaped. But I think we should be consistent in which one we use, and since other places use ' we should use it here also (with the \)
app/res/values/strings.xml
Outdated
|
|
||
| <string name="personalid_authentication_failed">Authenticating the biometrics on your Android device has failed. Please apply any available system updates, or try again with a different device</string> | ||
| <string name="no_channel_msg">You have no current messaging channels</string> | ||
| <string name="no_channel_msg">You’re not subscribed to any messaging channels</string> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a better question for the product team...
When I imagine seeing this message as a user the first thing that comes to mind is "How do I subscribe to some messaging channels?"
Perhaps the message should be more like the one for the opportunity list and include text like "Once you've been invited to a messaging channel, it will appear in this list."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@OrangeAndGreen Asked in slack here
|
@jaypanchal-13 I see that all those screenshots are following different text styles and margins and it would be great to use a consistent style here. |
@jaypanchal-13 It's nearly there; it's just that the margins are different. You can also confirm the style from Brendon. |
|
conroy-ricketts
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me as long as Product does not request any additional changes 👍
e68682a
Product Description
Ticket -> https://dimagi.atlassian.net/browse/CCCT-1985
Screen Shot -> Left -> before screenshot and right -> after screenshot
Technical Summary
Feature Flag
Safety Assurance
Safety story
Automated test coverage
QA Plan
Labels and Review