Merge pull request #3 from Oizaro/patch-1

Make "About" string translatable
This commit is contained in:
VancedOfficial 2020-10-15 15:35:56 +03:00 committed by GitHub
commit 478fa64bde

View File

@ -163,7 +163,7 @@ public class SponsorBlockPreferenceFragment extends PreferenceFragment implement
private void addAboutCategory(Context context, PreferenceScreen screen) { private void addAboutCategory(Context context, PreferenceScreen screen) {
PreferenceCategory category = new PreferenceCategory(context); PreferenceCategory category = new PreferenceCategory(context);
screen.addPreference(category); screen.addPreference(category);
category.setTitle("About"); category.setTitle(str("about"));
{ {
Preference preference = new Preference(context); Preference preference = new Preference(context);