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

Unified Diff: chrome/browser/ui/gtk/password_generation_bubble_gtk.cc

Issue 11829012: Localize text in password generation bubble (http://www.chromium.org/developers/design-documents/pa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/password_generation_bubble_gtk.cc
diff --git a/chrome/browser/ui/gtk/password_generation_bubble_gtk.cc b/chrome/browser/ui/gtk/password_generation_bubble_gtk.cc
index 660d5638b4201bfe5dc57b399aed4174f05055fc..393b43b6010d15ac33bd5ede71f91e823c5d933d 100644
--- a/chrome/browser/ui/gtk/password_generation_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/password_generation_bubble_gtk.cc
@@ -51,7 +51,8 @@ PasswordGenerationBubbleGtk::PasswordGenerationBubbleGtk(
// We have two lines of content. The first is the title and learn more link.
GtkWidget* title_line = gtk_hbox_new(FALSE, 0);
- GtkWidget* title = gtk_label_new("Password Suggestion");
+ GtkWidget* title = gtk_label_new(
+ l10n_util::GetStringUTF8(IDS_PASSWORD_GENERATION_BUBBLE_TITLE).c_str());
gtk_box_pack_start(GTK_BOX(title_line), title, FALSE, FALSE, 0);
GtkWidget* learn_more_link = gtk_chrome_link_button_new(
l10n_util::GetStringUTF8(IDS_LEARN_MORE).c_str());
@@ -71,7 +72,8 @@ PasswordGenerationBubbleGtk::PasswordGenerationBubbleGtk(
GTK_ENTRY(text_field_), GTK_ENTRY_ICON_SECONDARY, GetImage(IDR_RELOAD));
gtk_entry_set_icon_tooltip_text(
GTK_ENTRY(text_field_), GTK_ENTRY_ICON_SECONDARY, "Regenerate");
- GtkWidget* accept_button = gtk_button_new_with_label("Try It");
+ GtkWidget* accept_button = gtk_button_new_with_label(
+ l10n_util::GetStringUTF8(IDS_PASSWORD_GENERATION_BUTTON_TEXT).c_str());
gtk_box_pack_start(GTK_BOX(password_line), text_field_, TRUE, TRUE, 0);
gtk_box_pack_start(GTK_BOX(password_line), accept_button, TRUE, TRUE, 0);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698