Commit 3530cf95 authored by dbeam's avatar dbeam Committed by Commit bot

Split revision into separate field on about:version.

R=agable@chromium.org
BUG=414994

Review URL: https://codereview.chromium.org/582003003

Cr-Commit-Position: refs/heads/master@{#295615}
parent f6711179
......@@ -6942,6 +6942,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_ABOUT_VERSION_UNOFFICIAL" desc="unofficial build on the about:version page">
Developer Build
</message>
<message name="IDS_ABOUT_VERSION_REVISION" desc="label for the revision on the about:version page">
Revision
</message>
<message name="IDS_ABOUT_VERSION_OS" desc="label for the OS on the about:version page">
OS
</message>
......
......@@ -45,9 +45,14 @@ about:version template page
</if>
<if expr="not is_android">
<span i18n-content="version"></span>
(<span i18n-content="official">
</span> <span i18n-content="cl"></span>)
(<span i18n-content="official"></span>)
<span i18n-content="version_modifier"></span>
</td>
</tr>
<tr>
<td class="label" i18n-content="revision"></td>
<td class="version">
<span i18n-content="cl"></span>
</if>
</td>
</tr>
......
......@@ -86,6 +86,7 @@ content::WebUIDataSource* CreateVersionUIDataSource(Profile* profile) {
"copyright",
l10n_util::GetStringFUTF16(IDS_ABOUT_VERSION_COPYRIGHT,
base::IntToString16(exploded_time.year)));
html_source->AddLocalizedString("revision", IDS_ABOUT_VERSION_REVISION);
html_source->AddString("cl", version_info.LastChange());
html_source->AddLocalizedString("official",
version_info.IsOfficialBuild() ? IDS_ABOUT_VERSION_OFFICIAL :
......
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