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

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

Issue 1865373002: MD Settings: Certificate manager, polish "no certificates" text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 8 months 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
« no previous file with comments | « chrome/browser/resources/settings/certificate_manager_page/certificate_list.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 }; 196 };
197 AddLocalizedStringsBulk(html_source, localized_strings, 197 AddLocalizedStringsBulk(html_source, localized_strings,
198 arraysize(localized_strings)); 198 arraysize(localized_strings));
199 } 199 }
200 #endif 200 #endif
201 201
202 #if defined(USE_NSS_CERTS) 202 #if defined(USE_NSS_CERTS)
203 void AddCertificateManagerStrings(content::WebUIDataSource* html_source) { 203 void AddCertificateManagerStrings(content::WebUIDataSource* html_source) {
204 LocalizedString localized_strings[] = { 204 LocalizedString localized_strings[] = {
205 {"certificateManagerPageTitle", IDS_SETTINGS_CERTIFICATE_MANAGER}, 205 {"certificateManagerPageTitle", IDS_SETTINGS_CERTIFICATE_MANAGER},
206 {"certificateManagerNoCertificates",
207 IDS_SETTINGS_CERTIFICATE_MANAGER_NO_CERTIFICATES},
206 {"certificateManagerYourCertificates", 208 {"certificateManagerYourCertificates",
207 IDS_SETTINGS_CERTIFICATE_MANAGER_YOUR_CERTIFICATES}, 209 IDS_SETTINGS_CERTIFICATE_MANAGER_YOUR_CERTIFICATES},
208 {"certificateManagerYourCertificatesDescription", 210 {"certificateManagerYourCertificatesDescription",
209 IDS_SETTINGS_CERTIFICATE_MANAGER_YOUR_CERTIFICATES_DESCRIPTION}, 211 IDS_SETTINGS_CERTIFICATE_MANAGER_YOUR_CERTIFICATES_DESCRIPTION},
210 {"certificateManagerServers", IDS_SETTINGS_CERTIFICATE_MANAGER_SERVERS}, 212 {"certificateManagerServers", IDS_SETTINGS_CERTIFICATE_MANAGER_SERVERS},
211 {"certificateManagerServersDescription", 213 {"certificateManagerServersDescription",
212 IDS_SETTINGS_CERTIFICATE_MANAGER_SERVERS_DESCRIPTION}, 214 IDS_SETTINGS_CERTIFICATE_MANAGER_SERVERS_DESCRIPTION},
213 {"certificateManagerAuthorities", 215 {"certificateManagerAuthorities",
214 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES}, 216 IDS_SETTINGS_CERTIFICATE_MANAGER_AUTHORITIES},
215 {"certificateManagerAuthoritiesDescription", 217 {"certificateManagerAuthoritiesDescription",
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 #endif 938 #endif
937 AddUsersStrings(html_source); 939 AddUsersStrings(html_source);
938 AddWebContentStrings(html_source); 940 AddWebContentStrings(html_source);
939 941
940 policy_indicator::AddLocalizedStrings(html_source); 942 policy_indicator::AddLocalizedStrings(html_source);
941 943
942 html_source->SetJsonPath(kLocalizedStringsFile); 944 html_source->SetJsonPath(kLocalizedStringsFile);
943 } 945 }
944 946
945 } // namespace settings 947 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/certificate_manager_page/certificate_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698