From 7efb92fb895b22f73f943b191f2da02527a55cd3 Mon Sep 17 00:00:00 2001 From: jdufault Date: Thu, 25 Jun 2015 18:26:16 -0700 Subject: Add utility methods for device type translation messages. The high-level goal is to remove hard-coded device-types in UI strings; these utility methods make it very easy to substitute in the correct device-type at runtime. This CL uses a method introduced in https://codereview.chromium.org/1204783005. These utility methods are used in the following CL's: - https://codereview.chromium.org/1172053004 - https://codereview.chromium.org/1175803002 - https://codereview.chromium.org/1164423011 - https://codereview.chromium.org/1173823002 - https://codereview.chromium.org/1176673002 - https://codereview.chromium.org/1170373003 - https://codereview.chromium.org/1175813002 A presubmit check is introduced in a later CL to prevent accidentally hard-coding device-type messages (https://codereview.chromium.org/1171063003). BUG=341356 Review URL: https://codereview.chromium.org/1206063002 Cr-Commit-Position: refs/heads/master@{#336313} --- ash/ash_chromeos_strings.grdp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ash/ash_chromeos_strings.grdp') diff --git a/ash/ash_chromeos_strings.grdp b/ash/ash_chromeos_strings.grdp index dec9def..35b98fd 100644 --- a/ash/ash_chromeos_strings.grdp +++ b/ash/ash_chromeos_strings.grdp @@ -3,6 +3,23 @@ Everything in this file is wrapped in . --> + + + Chromebase + + + Chromebit + + + Chromebook + + + Chromebox + + + Chrome device + + Low-power charger connected -- cgit v1.1