Closed afischerdev closed 5 months ago
@afischerdev very nice, there are a lot of strings!
Please use String.format(...)
with the positional arguments as seen here.
@devemux86
Please use String.format(...)
Thanks for the suggestion. I started that way but getString with parameter was working as well. Why do you think this is a better way?
@afischerdev
Although the other method is Android specific, Android shows warnings when we build a release apk. So I had to use in the other pull request the known Java method which passes all tests without issues.
@devemux86 Ok, I'll have an eye on that.
@afischerdev there are more texts we need to move to strings.xml
:
All dialogs in BInstallerActivity.java#L344 titles / messages / buttons:
DIALOG_CONFIRM_DELETE_ID
DIALOG_CONFIRM_NEXTSTEPS_ID
DIALOG_CONFIRM_GETDIFFS_ID
DIALOG_NEW_APP_NEEDED_ID
Moved more hardcoded strings to resource. Initial pull request was #645 Please note: this contains no translations.