From f1223e62cc130df2b83592b9987bdf61610c9bd0 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 12 Jun 2018 14:32:04 -0600 Subject: [PATCH] Support sentinel values for CHAR LIMIT. For common string placements (such notification titles), we should have consistent CHAR LIMIT values that are applied universally. Strings can opt-into using these consistent values with new sentinel values which the "transconsole" tool will turn into real numbers based on the real-world UI measurements in the linked bug. The currently measured values are: NOTIF_TITLE=48 NOTIF_BODY=384 NOTIF_ACTION=24 DIALOG_TITLE=56 DIALOG_BODY=NONE DIALOG_ACTION=64 TOAST=384 Bug: 110095706 Test: manual Change-Id: I6bae3a1b5bb6a03cb50a25325b7eb75a535ee6c5 --- core/res/res/values/strings.xml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 8f469b0db3ec1..eedc2ac509ab4 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -147,19 +147,19 @@ You can\'t change the caller ID setting. - + No mobile data service - + Emergency calling unavailable - + No voice service - + No voice service or emergency calling - + Temporarily turned off by your carrier - + Temporarily turned off by your carrier for SIM %d @@ -321,18 +321,18 @@ Sync - + Can\'t sync - + Attempted to delete too many %s. - + Tablet storage is full. Delete some files to free space. - + Watch storage is full. Delete some files to free space. - + TV storage is full. Delete some files to free space. - + Phone storage is full. Delete some files to free space.