-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixes previous PR - FIX #2918 Add option for default language for file descriptions #3020
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 previous PR - FIX #2918 Add option for default language for file descriptions #3020
Conversation
…sen along with the summary
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.
✅ A review job has been created and sent to the PullRequest network.
Check the status or cancel PullRequest code review here.
Doing some testing, this doesn't seem to work once uploaded. After setting default as french, the spinner appears correct but when uploaded it says the description is English: I suspect you'll need to change something in initLanguageSpinner in DescriptionsAdapter, as currently the language code is only updated when the spinner is updated and not when it is initialized. |
Codecov Report
@@ Coverage Diff @@
## master #3020 +/- ##
========================================
Coverage ? 4.41%
========================================
Files ? 259
Lines ? 12312
Branches ? 1058
========================================
Hits ? 544
Misses ? 11729
Partials ? 39
Continue to review full report at Codecov.
|
Thanks for catching this @domdomegg , I never thought this pull request can effect templates will be passed after upload. Let me check |
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 code review was cancelled. See Details
Hi @domdomegg , I was investigating this issue and recognized that this issue also exists at master branch. See my uploads from master: I think this issue can be fixed under this same pull request though. |
As I logged at line
|
I haven't tested this yet but I think I might not have explained the issue properly. It's not that the template is missing (that's just cause Beta commons doesn't have all of them). It's that the wrong template is applied. In the uploaded example the template is English even though the setting is set to French. |
Actually restarting tests fixed the build too. So this PR is ready for testing. |
Description (required)
Fixes #2918 . Some minor changes are made on top of @olgalesan 's changes at #2949 . The PR was tested by me, and working in general. After my changes the issue of default language selection (before the user choose anything) which is phone local language is marked on preference list, along with its summary.
What changes did you make and why?
Previously only summary of default language was added, on the other hand none of the items on the list was selected.
Note: Reviewer should close #2949 after merging this PR
Tests performed (required)
Tested prodDebug API 26 emulator
Screenshots showing what changed (optional - for UI changes)
https://support.google.com/android/answer/9075928
