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

Unified Diff: chrome/browser/ui/webui/version_ui.cc

Issue 2908353003: [i18n] components directory to $i18n{} (Closed)
Patch Set: handle blank cohort name Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/chrome_apps/webstore_widget/app/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/version_ui.cc
diff --git a/chrome/browser/ui/webui/version_ui.cc b/chrome/browser/ui/webui/version_ui.cc
index 81fe7b3ebf7a3054fa3d6d9c069c71247f410cf1..2ef9c38209837940e9973340c8c0382c3a645a87 100644
--- a/chrome/browser/ui/webui/version_ui.cc
+++ b/chrome/browser/ui/webui/version_ui.cc
@@ -162,6 +162,8 @@ WebUIDataSource* CreateVersionUIDataSource() {
html_source->AddString(version_ui::kUpdateCohortName,
l10n_util::GetStringFUTF16(
IDS_VERSION_UI_COHORT_NAME, update_cohort_name));
+ } else {
+ html_source->AddString(version_ui::kUpdateCohortName, std::string());
Lei Zhang 2017/06/17 06:23:15 Is this because $i18n{update_cohort_name} cannot t
dschuyler 2017/06/19 19:24:53 It is by design that $i18n won't allow the mistake
}
#endif // defined(OS_WIN)
« no previous file with comments | « no previous file | components/chrome_apps/webstore_widget/app/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698