Cleanup some plurals in Settings
Change <one> to <1> in string res file, and update related java files. Test: Update, existing test still pass. bug: 199230342 Change-Id: Idd0ba3c6adc060da21574d98f8ed765fae00cef8
This commit is contained in:
@@ -142,9 +142,8 @@ public class AppsPreferenceController extends BasePreferenceController implement
|
||||
@Override
|
||||
protected void onCountComplete(int num) {
|
||||
if (!mRecentApps.isEmpty()) {
|
||||
mSeeAllPref.setTitle(
|
||||
mContext.getResources().getQuantityString(R.plurals.see_all_apps_title,
|
||||
num, num));
|
||||
mSeeAllPref.setTitle(StringUtil.getIcuPluralsString(mContext, num,
|
||||
R.string.see_all_apps_title));
|
||||
} else {
|
||||
mAllAppsInfoPref.setSummary(mContext.getString(R.string.apps_summary, num));
|
||||
}
|
||||
|
Reference in New Issue
Block a user