summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 21:11:18 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-09 21:11:18 +0000
commit3cb4e1c695e282e1d1507b92b3b1cd7433419e7e (patch)
treea4e90956f7b89cade9bf17437bb9a7b20ba126ad /chrome
parent457cff17114fc77406302053edf5f6e4a73a221e (diff)
downloadchromium_src-3cb4e1c695e282e1d1507b92b3b1cd7433419e7e.zip
chromium_src-3cb4e1c695e282e1d1507b92b3b1cd7433419e7e.tar.gz
chromium_src-3cb4e1c695e282e1d1507b92b3b1cd7433419e7e.tar.bz2
GTK Theme: Localize "GTK Theme" button.
Review URL: http://codereview.chromium.org/149411 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/generated_resources.grd3
-rw-r--r--chrome/browser/gtk/options/content_page_gtk.cc3
2 files changed, 5 insertions, 1 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 3e62a36..6b2e5d3 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -3164,6 +3164,9 @@ each locale. -->
<message name="IDS_THEMES_GROUP_NAME" desc="The title of the themes group">
Themes:
</message>
+ <message name="IDS_THEMES_GTK_BUTTON" desc="The button to choose GTK colors and icons as the current theme.">
+ Set to GTK+ theme
+ </message>
<message name="IDS_THEMES_RESET_BUTTON" desc="The button to reset your theme">
Reset to default theme
</message>
diff --git a/chrome/browser/gtk/options/content_page_gtk.cc b/chrome/browser/gtk/options/content_page_gtk.cc
index 1130912..1ababe2 100644
--- a/chrome/browser/gtk/options/content_page_gtk.cc
+++ b/chrome/browser/gtk/options/content_page_gtk.cc
@@ -172,7 +172,8 @@ GtkWidget* ContentPageGtk::InitThemesGroup() {
GtkWidget* hbox = gtk_hbox_new(FALSE, gtk_util::kLabelSpacing);
// GTK theme button.
- GtkWidget* gtk_theme_button = gtk_button_new_with_label("GTK Theme");
+ GtkWidget* gtk_theme_button = gtk_button_new_with_label(
+ l10n_util::GetStringUTF8(IDS_THEMES_GTK_BUTTON).c_str());
g_signal_connect(G_OBJECT(gtk_theme_button), "clicked",
G_CALLBACK(OnGtkThemeButtonClicked), this);
gtk_box_pack_start(GTK_BOX(hbox), gtk_theme_button, FALSE, FALSE, 0);