-
Notifications
You must be signed in to change notification settings - Fork 26
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
dashboard: better strings (fixes #3683) #3684
Conversation
which deprecation was this solving? |
I apologize I should have renamed the issue. This was for clearing up the warnings. @Okuro3499 |
@rlam20 you could add that warning to the issue description |
@@ -80,6 +81,7 @@ class DashboardActivity : DashboardElementActivity(), OnHomeItemClickListener, N | |||
super.attachBaseContext(LocaleHelper.onAttach(base)) | |||
} | |||
|
|||
@SuppressLint("SetTextI18n") |
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.
android studio give a suggestion on a better way to handle this instead of suppressing String literal in setText can not be translated. Use Android resources instead
activityDashboardBinding.appBarBell.appTitleName.text = "$name's Planet" | ||
activityDashboardBinding.appBarBell.appTitleName.text = name + getString(R.string.planet) |
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 changes how the text appears
current on masterGideon's planet
on this branchGideon planet
-
warning is still not resolved Follow this link on how to resolve it solution link
- default and lite don't have the same changes
- we have some conflicts
fixes #3683