Loading res/values/cm_strings.xml +10 −0 Original line number Diff line number Diff line Loading @@ -1239,4 +1239,14 @@ two in order to insert additional control points. \'Remove\' deletes the selecte <!-- Stay Awake while plugged in --> <string name="keep_screen_on_summary_cm">Screen will never sleep while plugged in</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings --> <plurals name="show_dev_countdown_cm"> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from enabling development settings.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from enabling development settings.</item> </plurals> <!-- [CHAR LIMIT=NONE] Device Info screen. Confirmation that developer settings are enabled --> <string name="show_dev_on_cm">You have enabled development settings!</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Okay we get it, stop pressing, you already have it on --> <string name="show_dev_already_cm">No need, you have already enabled development settings.</string> </resources> res/values/strings.xml +4 −4 Original line number Diff line number Diff line Loading @@ -34,13 +34,13 @@ <string name="device_info_default">Unknown</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings --> <plurals name="show_dev_countdown"> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from enabling development settings.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from enabling development settings.</item> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from being a developer.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from being a developer.</item> </plurals> <!-- [CHAR LIMIT=NONE] Device Info screen. Confirmation that developer settings are enabled --> <string name="show_dev_on">You have enabled development settings!</string> <string name="show_dev_on">You are now a developer!</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Okay we get it, stop pressing, you already have it on --> <string name="show_dev_already">No need, you have already enabled development settings.</string> <string name="show_dev_already">No need, you are already a developer.</string> <!-- Category headings in left-pane header menu --> <skip /> <!-- Settings main menu category heading. Wireless and networks (Wi-Fi, Bluetooth, data usage...). [CHAR LIMIT=40] --> Loading src/com/android/settings/DeviceInfoSettings.java +3 −3 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { if (mDevHitToast != null) { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on, mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on_cm, Toast.LENGTH_LONG); mDevHitToast.show(); } else if (mDevHitCountdown > 0 Loading @@ -254,7 +254,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), getResources().getQuantityString( R.plurals.show_dev_countdown, mDevHitCountdown, mDevHitCountdown), R.plurals.show_dev_countdown_cm, mDevHitCountdown, mDevHitCountdown), Toast.LENGTH_SHORT); mDevHitToast.show(); } Loading @@ -262,7 +262,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { if (mDevHitToast != null) { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_already, mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_already_cm, Toast.LENGTH_LONG); mDevHitToast.show(); } Loading Loading
res/values/cm_strings.xml +10 −0 Original line number Diff line number Diff line Loading @@ -1239,4 +1239,14 @@ two in order to insert additional control points. \'Remove\' deletes the selecte <!-- Stay Awake while plugged in --> <string name="keep_screen_on_summary_cm">Screen will never sleep while plugged in</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings --> <plurals name="show_dev_countdown_cm"> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from enabling development settings.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from enabling development settings.</item> </plurals> <!-- [CHAR LIMIT=NONE] Device Info screen. Confirmation that developer settings are enabled --> <string name="show_dev_on_cm">You have enabled development settings!</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Okay we get it, stop pressing, you already have it on --> <string name="show_dev_already_cm">No need, you have already enabled development settings.</string> </resources>
res/values/strings.xml +4 −4 Original line number Diff line number Diff line Loading @@ -34,13 +34,13 @@ <string name="device_info_default">Unknown</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Countdown for user taps to enable development settings --> <plurals name="show_dev_countdown"> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from enabling development settings.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from enabling development settings.</item> <item quantity="one">You are now <xliff:g id="step_count">%1$d</xliff:g> step away from being a developer.</item> <item quantity="other">You are now <xliff:g id="step_count">%1$d</xliff:g> steps away from being a developer.</item> </plurals> <!-- [CHAR LIMIT=NONE] Device Info screen. Confirmation that developer settings are enabled --> <string name="show_dev_on">You have enabled development settings!</string> <string name="show_dev_on">You are now a developer!</string> <!-- [CHAR LIMIT=NONE] Device Info screen. Okay we get it, stop pressing, you already have it on --> <string name="show_dev_already">No need, you have already enabled development settings.</string> <string name="show_dev_already">No need, you are already a developer.</string> <!-- Category headings in left-pane header menu --> <skip /> <!-- Settings main menu category heading. Wireless and networks (Wi-Fi, Bluetooth, data usage...). [CHAR LIMIT=40] --> Loading
src/com/android/settings/DeviceInfoSettings.java +3 −3 Original line number Diff line number Diff line Loading @@ -245,7 +245,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { if (mDevHitToast != null) { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on, mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_on_cm, Toast.LENGTH_LONG); mDevHitToast.show(); } else if (mDevHitCountdown > 0 Loading @@ -254,7 +254,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), getResources().getQuantityString( R.plurals.show_dev_countdown, mDevHitCountdown, mDevHitCountdown), R.plurals.show_dev_countdown_cm, mDevHitCountdown, mDevHitCountdown), Toast.LENGTH_SHORT); mDevHitToast.show(); } Loading @@ -262,7 +262,7 @@ public class DeviceInfoSettings extends RestrictedSettingsFragment { if (mDevHitToast != null) { mDevHitToast.cancel(); } mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_already, mDevHitToast = Toast.makeText(getActivity(), R.string.show_dev_already_cm, Toast.LENGTH_LONG); mDevHitToast.show(); } Loading