Commit e09bdc27 authored by Joon Ahn's avatar Joon Ahn Committed by Commit Bot

diagnostics: register power routine result text

Since chromium:2559554 is still WIP, separating out this text asset to make it easier to track the strings deadline.

Bug: 1125150
Test: browser_tests --gtest_filter=Diagnostics*
Change-Id: I66c714b5fa46bd0b81452034b29f10b9924e4173
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2559593
Commit-Queue: Zentaro Kavanagh <zentaro@chromium.org>
Reviewed-by: default avatarZentaro Kavanagh <zentaro@chromium.org>
Auto-Submit: Joon Ahn <joonbug@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831059}
parent b9d7176e
......@@ -705,6 +705,13 @@ Try tapping the mic to ask me anything.
<message name="IDS_DIAGNOSTICS_MEMORY_ROUTINE_TEXT" desc="The text for the memory routine." translateable="false">
Memory
</message>
<message name="IDS_CHARGE_TEST_RESULT" desc="The result text for charging routine." translateable="true">
Charged <ph name="RATE">$1<ex>10%</ex></ph> in <ph name="NUM_SECONDS">$1<ex>10</ex></ph> seconds.
</message>
<!-- TODO(joonbug): verify this string since it's not present in the mock -->
<message name="IDS_DISCHARGE_TEST_RESULT" desc="The result text for discharging routine." translateable="false">
Discharged <ph name="RATE">$1<ex>10%</ex></ph> in <ph name="NUM_SECONDS">$1<ex>10</ex></ph> seconds.
</message>
<!-- Quick Answers -->
<message name="IDS_QUICK_ANSWERS_DEFINITION_TITLE_TEXT" desc="The title text format string used for Quick Answers definition result card. The first placeholder contains the source query text and the second placeholder contains the phonetics.">
......
d305ca9ee1ae6cb18466a4cd76321a90694a227d
\ No newline at end of file
......@@ -45,6 +45,7 @@ void AddDiagnosticsStrings(content::WebUIDataSource* html_source) {
{"chargeFullDesign", IDS_DIAGNOSTICS_DESIGNED_FULL_CHARGE_LABEL},
{"chargeFullNow", IDS_DIAGNOSTICS_NOW_FULL_CHARGE_LABEL},
{"chargeNow", IDS_DIAGNOSTICS_CHARGE_NOW_LABEL},
{"chargeTestResultText", IDS_CHARGE_TEST_RESULT},
{"cpuCacheRoutineText", IDS_DIAGNOSTICS_CPU_CACHE_ROUTINE_TEXT},
{"cpuChipText", IDS_DIAGNOSTICS_CPU_CHIP_TEXT},
{"cpuFloatingPointAccuracyRoutineText",
......@@ -68,6 +69,7 @@ void AddDiagnosticsStrings(content::WebUIDataSource* html_source) {
{"cycleCountTooltipText", IDS_DIAGNOSTICS_CYCLE_COUNT_TOOLTIP_TEXT},
{"deviceInfo", IDS_DIAGNOSTICS_DEVICE_INFO_TEXT},
{"diagnosticsTitle", IDS_DIAGNOSTICS_TITLE},
{"dischargeTestResultText", IDS_DISCHARGE_TEST_RESULT},
{"learnMore", IDS_DIANOSTICS_LEARN_MORE_LABEL},
{"memoryAvailable", IDS_DIAGNOSTICS_MEMORY_AVAILABLE_LABEL},
{"memoryRoutineText", IDS_DIAGNOSTICS_MEMORY_ROUTINE_TEXT},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment