Skip to content
Snippets Groups Projects
Commit df728c37 authored by estade@chromium.org's avatar estade@chromium.org
Browse files

Use correct string for standard font slider.

BUG=63842
TEST=none

Review URL: http://codereview.chromium.org/6325011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71904 0039d316-1c4b-4281-b951-d872f2087c98
parent 99957094
No related merge requests found
...@@ -6309,16 +6309,16 @@ Keep your key file in a safe place. You will need it to create new versions of y ...@@ -6309,16 +6309,16 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SUB_DIALOG_FONT_TITLE" desc="Title that appears in the sub-dialogue for Font within Fonts and Encoding tab"> <message name="IDS_FONT_LANGUAGE_SETTING_FONT_SUB_DIALOG_FONT_TITLE" desc="Title that appears in the sub-dialogue for Font within Fonts and Encoding tab">
Font Font
</message> </message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_STANDARD_LABEL" desc="Label of the standard fonts section of the Fonts and Encoding tab">
Standard font
</message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SERIF_LABEL" desc="Dialog label for Serif font selection"> <message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SERIF_LABEL" desc="Dialog label for Serif font selection">
Serif Font: Serif Font:
</message> </message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SANS_SERIF_LABEL" desc="Dialog label for Sans Serif font selection"> <message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SANS_SERIF_LABEL" desc="Dialog label for Sans Serif font selection">
Sans-Serif Font: Sans-Serif Font:
</message> </message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_FIXED_WIDTH_LABEL" desc="Label of the fixed-width fonts section of the Fonts and Encoding tab"> <message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_STANDARD_LABEL" desc="Label of the standard fonts section of the Fonts and Encoding subpage">
Standard font:
</message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_FIXED_WIDTH_LABEL" desc="Label of the fixed-width fonts section of the Fonts and Encoding subpage">
Fixed-width font: Fixed-width font:
</message> </message>
<message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_BUTTON_LABEL" desc="Button label for font selection"> <message name="IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_BUTTON_LABEL" desc="Button label for font selection">
......
...@@ -35,8 +35,9 @@ void FontSettingsHandler::GetLocalizedValues( ...@@ -35,8 +35,9 @@ void FontSettingsHandler::GetLocalizedValues(
localized_strings->SetString("fontSettingsTitle", localized_strings->SetString("fontSettingsTitle",
l10n_util::GetStringUTF16(IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE)); l10n_util::GetStringUTF16(IDS_FONT_LANGUAGE_SETTING_FONT_TAB_TITLE));
localized_strings->SetString("fontSettingsStandard", localized_strings->SetString("fontSettingsStandard",
l10n_util::GetStringUTF16( dom_options_util::StripColon(
IDS_FONT_LANGUAGE_SETTING_FONT_SUB_DIALOG_FONT_TITLE)); l10n_util::GetStringUTF16(
IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_STANDARD_LABEL)));
localized_strings->SetString("fontSettingsFixedWidth", localized_strings->SetString("fontSettingsFixedWidth",
dom_options_util::StripColon( dom_options_util::StripColon(
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
...@@ -47,12 +48,6 @@ void FontSettingsHandler::GetLocalizedValues( ...@@ -47,12 +48,6 @@ void FontSettingsHandler::GetLocalizedValues(
localized_strings->SetString("fontSettingsEncoding", localized_strings->SetString("fontSettingsEncoding",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
IDS_FONT_LANGUAGE_SETTING_FONT_SUB_DIALOG_ENCODING_TITLE)); IDS_FONT_LANGUAGE_SETTING_FONT_SUB_DIALOG_ENCODING_TITLE));
localized_strings->SetString("fontSettingsSerifLabel",
l10n_util::GetStringUTF16(
IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SERIF_LABEL));
localized_strings->SetString("fontSettingsSansSerifLabel",
l10n_util::GetStringUTF16(
IDS_FONT_LANGUAGE_SETTING_FONT_SELECTOR_SANS_SERIF_LABEL));
localized_strings->SetString("fontSettingsSizeLabel", localized_strings->SetString("fontSettingsSizeLabel",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
IDS_FONT_LANGUAGE_SETTING_FONT_SIZE_SELECTOR_LABEL)); IDS_FONT_LANGUAGE_SETTING_FONT_SIZE_SELECTOR_LABEL));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment