-
Notifications
You must be signed in to change notification settings - Fork 531
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
#Fixes 3868 : Add label for splash activity #3868
#Fixes 3868 : Add label for splash activity #3868
Conversation
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.
@BenHenning PTAL
app/src/main/res/values/strings.xml
Outdated
@@ -461,6 +461,7 @@ | |||
<string name="correct_submitted_answer_with_append">Correct submitted answer: %s</string> | |||
<string name="incorrect_submitted_answer">Incorrect submitted answer</string> | |||
<string name="incorrect_submitted_answer_with_append">Incorrect submitted answer: %s</string> | |||
<string name="splash_activity_title">Splash Activity</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.
Instead of Splash Activity
this should be Oppia
. @BenHenning Any thoughts on this one?
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.
Yes, 'Oppia' sounds correct. We should use the existing untranslated string for that purpose (https://github.com/oppia/oppia-android/blob/develop/app/src/main/res/values/untranslated_strings.xml#L3).
Hi @bkaur-bkj, it looks like some changes were requested on this pull request by @rt4914. PTAL. Thanks! |
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.
Leaving one follow-up comment.
app/src/main/res/values/strings.xml
Outdated
@@ -461,6 +461,7 @@ | |||
<string name="correct_submitted_answer_with_append">Correct submitted answer: %s</string> | |||
<string name="incorrect_submitted_answer">Incorrect submitted answer</string> | |||
<string name="incorrect_submitted_answer_with_append">Incorrect submitted answer: %s</string> | |||
<string name="splash_activity_title">Splash Activity</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.
Yes, 'Oppia' sounds correct. We should use the existing untranslated string for that purpose (https://github.com/oppia/oppia-android/blob/develop/app/src/main/res/values/untranslated_strings.xml#L3).
@rt4914 sir, PTAL I not understood why these checks are failing |
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.
@bkaur-bkj PTAL.
Make sure you always run the test cases if you have added/updated tests.
app/src/sharedTest/java/org/oppia/android/app/splash/SplashActivityTest.kt
Outdated
Show resolved
Hide resolved
@bkaur-bkj Can you run the test case on |
Test cases result on Expresso, Splash activity has Correct Label test has passed Test cases result on Robolectric, 3 ignored but Splash activity has Correct Label test has passed |
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.
LGTM, thanks.
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.
Thanks @bkaur-bkj. LGTM!
Unassigning @BenHenning since they have already approved the PR. |
Merging since CI is now passing (I needed to restart a few stalled workflows). |
Explanation
Fix part of #3602 Added Label for Splash Activity
Added label and Testcase and removed the file name from exempted list.
Essential Checklist