Cleanup plurals format
Change <one> to <1> in string res file Test: Update, existing tests still pass bug: 199230342 Change-Id: Ic3a5259570cb52cd1664638f3b1058c87a631c04
This commit is contained in:
@@ -509,11 +509,11 @@ public class NotificationBackend {
|
||||
context, System.currentTimeMillis() - state.lastSent, true);
|
||||
} else {
|
||||
if (state.avgSentDaily > 0) {
|
||||
return context.getResources().getQuantityString(R.plurals.notifications_sent_daily,
|
||||
state.avgSentDaily, state.avgSentDaily);
|
||||
return StringUtil.getIcuPluralsString(context, state.avgSentDaily,
|
||||
R.string.notifications_sent_daily);
|
||||
}
|
||||
return context.getResources().getQuantityString(R.plurals.notifications_sent_weekly,
|
||||
state.avgSentWeekly, state.avgSentWeekly);
|
||||
return StringUtil.getIcuPluralsString(context, state.avgSentWeekly,
|
||||
R.string.notifications_sent_weekly);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user