Translate rendering settings

This commit is contained in:
Victor Shcherb 2012-06-16 19:35:47 +02:00
parent db2629d346
commit d7e4286d97

View file

@ -400,7 +400,7 @@ public class SettingsActivity extends PreferenceActivity implements OnPreference
ListPreference lp = new ListPreference(this); ListPreference lp = new ListPreference(this);
lp.setOnPreferenceChangeListener(this); lp.setOnPreferenceChangeListener(this);
lp.setKey(custom.getId()); lp.setKey(custom.getId());
lp.setTitle(getStringPropertyName(custom.getId(), p.getName())); lp.setTitle(getStringPropertyName(p.getAttrName(), p.getName()));
lp.setSummary(getStringPropertyDescription(p.getAttrName(), p.getDescription())); lp.setSummary(getStringPropertyDescription(p.getAttrName(), p.getDescription()));
cat.addPreference(lp); cat.addPreference(lp);