Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2476353007: MD Settings: ignore 0% updates on help/about page (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 {"aboutGetHelpUsingChrome", IDS_SETTINGS_GET_HELP_USING_CHROME}, 186 {"aboutGetHelpUsingChrome", IDS_SETTINGS_GET_HELP_USING_CHROME},
187 187
188 #if defined(GOOGLE_CHROME_BUILD) 188 #if defined(GOOGLE_CHROME_BUILD)
189 {"aboutReportAnIssue", IDS_SETTINGS_ABOUT_PAGE_REPORT_AN_ISSUE}, 189 {"aboutReportAnIssue", IDS_SETTINGS_ABOUT_PAGE_REPORT_AN_ISSUE},
190 #endif 190 #endif
191 191
192 {"aboutRelaunch", IDS_SETTINGS_ABOUT_PAGE_RELAUNCH}, 192 {"aboutRelaunch", IDS_SETTINGS_ABOUT_PAGE_RELAUNCH},
193 {"aboutUpgradeCheckStarted", IDS_SETTINGS_ABOUT_UPGRADE_CHECK_STARTED}, 193 {"aboutUpgradeCheckStarted", IDS_SETTINGS_ABOUT_UPGRADE_CHECK_STARTED},
194 {"aboutUpgradeRelaunch", IDS_SETTINGS_UPGRADE_SUCCESSFUL_RELAUNCH}, 194 {"aboutUpgradeRelaunch", IDS_SETTINGS_UPGRADE_SUCCESSFUL_RELAUNCH},
195 {"aboutUpgradeUpdating", IDS_SETTINGS_UPGRADE_UPDATING}, 195 {"aboutUpgradeUpdating", IDS_SETTINGS_UPGRADE_UPDATING},
196 {"aboutUpgradeUpdatingPercent", IDS_SETTINGS_UPGRADE_UPDATING_PERCENT},
196 197
197 #if defined(OS_CHROMEOS) 198 #if defined(OS_CHROMEOS)
198 {"aboutArcVersionLabel", IDS_SETTINGS_ABOUT_PAGE_ARC_VERSION}, 199 {"aboutArcVersionLabel", IDS_SETTINGS_ABOUT_PAGE_ARC_VERSION},
199 {"aboutBuildDateLabel", IDS_VERSION_UI_BUILD_DATE}, 200 {"aboutBuildDateLabel", IDS_VERSION_UI_BUILD_DATE},
200 {"aboutChannelBeta", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_BETA}, 201 {"aboutChannelBeta", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_BETA},
201 {"aboutChannelDev", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_DEV}, 202 {"aboutChannelDev", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_DEV},
202 {"aboutChannelLabel", IDS_SETTINGS_ABOUT_PAGE_CHANNEL}, 203 {"aboutChannelLabel", IDS_SETTINGS_ABOUT_PAGE_CHANNEL},
203 {"aboutChannelStable", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_STABLE}, 204 {"aboutChannelStable", IDS_SETTINGS_ABOUT_PAGE_CURRENT_CHANNEL_STABLE},
204 {"aboutCheckForUpdates", IDS_SETTINGS_ABOUT_PAGE_CHECK_FOR_UPDATES}, 205 {"aboutCheckForUpdates", IDS_SETTINGS_ABOUT_PAGE_CHECK_FOR_UPDATES},
205 {"aboutCommandLineLabel", IDS_VERSION_UI_COMMAND_LINE}, 206 {"aboutCommandLineLabel", IDS_VERSION_UI_COMMAND_LINE},
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1766 #endif 1767 #endif
1767 AddUsersStrings(html_source); 1768 AddUsersStrings(html_source);
1768 AddWebContentStrings(html_source); 1769 AddWebContentStrings(html_source);
1769 1770
1770 policy_indicator::AddLocalizedStrings(html_source); 1771 policy_indicator::AddLocalizedStrings(html_source);
1771 1772
1772 html_source->SetJsonPath(kLocalizedStringsFile); 1773 html_source->SetJsonPath(kLocalizedStringsFile);
1773 } 1774 }
1774 1775
1775 } // namespace settings 1776 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698