summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/DeviceInfoSettings.java
diff options
context:
space:
mode:
authorEvan Charlton <evanc@google.com>2012-11-07 16:18:17 -0800
committerEvan Charlton <evanc@google.com>2012-11-07 16:18:17 -0800
commit673130bbf8017cf0e082dc65a24609290da4daa4 (patch)
treead0570b5102466d35b9a321b0173bbb9eee9938c /src/com/android/settings/DeviceInfoSettings.java
parent4f1a09320321cc758df1d33358e6353d3614bdb0 (diff)
downloadpackages_apps_settings-673130bbf8017cf0e082dc65a24609290da4daa4.zip
packages_apps_settings-673130bbf8017cf0e082dc65a24609290da4daa4.tar.gz
packages_apps_settings-673130bbf8017cf0e082dc65a24609290da4daa4.tar.bz2
Use plurals for the developer steps countdown
When counting down how many steps are left before the user becomes a developer, use plurals so that "steps" becomes "step" correctly. Change-Id: I5dbe2c229c9e6ed0c45aaae8c303b23efc76f75d
Diffstat (limited to 'src/com/android/settings/DeviceInfoSettings.java')
-rw-r--r--src/com/android/settings/DeviceInfoSettings.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/DeviceInfoSettings.java b/src/com/android/settings/DeviceInfoSettings.java
index a4abfea..d2ff6db 100644
--- a/src/com/android/settings/DeviceInfoSettings.java
+++ b/src/com/android/settings/DeviceInfoSettings.java
@@ -191,8 +191,8 @@ public class DeviceInfoSettings extends SettingsPreferenceFragment {
if (mDevHitToast != null) {
mDevHitToast.cancel();
}
- mDevHitToast = Toast.makeText(getActivity(), getResources().getString(
- R.string.show_dev_countdown, mDevHitCountdown),
+ mDevHitToast = Toast.makeText(getActivity(), getResources().getQuantityString(
+ R.plurals.show_dev_countdown, mDevHitCountdown, mDevHitCountdown),
Toast.LENGTH_SHORT);
mDevHitToast.show();
}