Commit 28dfb8c0 authored by dzhioev@chromium.org's avatar dzhioev@chromium.org

Changed strings for first-run UI.

BUG=353192
TEST=manually
R=nkostylev@chromium.org
TBR=scheib

Review URL: https://codereview.chromium.org/216793004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260142 0039d316-1c4b-4281-b951-d872f2087c98
parent 8a0ced44
......@@ -4887,10 +4887,10 @@ All users must sign out to continue.
Howdy.
</message>
<message name="IDS_FIRST_RUN_GREETING_STEP_TEXT_1" desc="First part of message shown on the first dialog of firsr-run tutorial.">
Welcome to the Chromebook family. This is no ordinary computer.
Welcome to the <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> family. This is no ordinary computer.
</message>
<message name="IDS_FIRST_RUN_GREETING_STEP_TEXT_2" desc="Second part of message shown on the first dialog of firsr-run tutorial.">
This Chromebook was designed to deliver the best experience of the web to you.
This <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> device was designed to deliver the best experience of the web to you.
</message>
<message name="IDS_FIRST_RUN_GREETING_STEP_BUTTON" desc="Text on the button located on the first dialog of first-run tutorial.">
Take a tour
......@@ -4914,7 +4914,7 @@ All users must sign out to continue.
Have fun! We're here for you.
</message>
<message name="IDS_FIRST_RUN_HELP_STEP_TEXT_1" desc="First part of text shown on the first-run tutorial bubble pointing to help button in system tray.">
Enjoy your Chromebook. Questions? You can always get help by clicking the "?" in the status tray.
Enjoy your <ph name="SHORT_PRODUCT_NAME">$1<ex>Chrome</ex></ph> device. Questions? You can always get help by clicking the "?" in the status tray.
</message>
<message name="IDS_FIRST_RUN_HELP_STEP_TEXT_2" desc="Second part of text shown on the first-run tutorial bubble pointing to help button in system tray.">
Want to discover more awesome features?
......
......@@ -9,6 +9,7 @@
#include "chrome/browser/chromeos/first_run/first_run.h"
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/web_ui_util.h"
......@@ -28,12 +29,16 @@ bool FirstRunPrivateGetLocalizedStringsFunction::RunImpl() {
"greetingHeader",
l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_HEADER_GENERAL));
}
base::string16 product_name =
l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME);
localized_strings->SetString(
"greetingText1",
l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_1));
l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_1,
product_name));
localized_strings->SetString(
"greetingText2",
l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_2));
l10n_util::GetStringFUTF16(IDS_FIRST_RUN_GREETING_STEP_TEXT_2,
product_name));
localized_strings->SetString(
"greetingButton",
l10n_util::GetStringUTF16(IDS_FIRST_RUN_GREETING_STEP_BUTTON));
......
......@@ -14,6 +14,7 @@
#include "content/public/browser/web_ui.h"
#include "content/public/browser/web_ui_data_source.h"
#include "grit/browser_resources.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/webui/web_ui_util.h"
......@@ -41,8 +42,11 @@ void SetLocalizedStrings(base::DictionaryValue* localized_strings) {
"trayText", l10n_util::GetStringUTF16(IDS_FIRST_RUN_TRAY_STEP_TEXT));
localized_strings->SetString(
"helpHeader", l10n_util::GetStringUTF16(IDS_FIRST_RUN_HELP_STEP_HEADER));
base::string16 product_name =
l10n_util::GetStringUTF16(IDS_SHORT_PRODUCT_NAME);
localized_strings->SetString(
"helpText1", l10n_util::GetStringUTF16(IDS_FIRST_RUN_HELP_STEP_TEXT_1));
"helpText1", l10n_util::GetStringFUTF16(IDS_FIRST_RUN_HELP_STEP_TEXT_1,
product_name));
localized_strings->SetString(
"helpText2", l10n_util::GetStringUTF16(IDS_FIRST_RUN_HELP_STEP_TEXT_2));
localized_strings->SetString(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment