| Index: remoting/host/ui_strings.cc
|
| diff --git a/remoting/host/ui_strings.cc b/remoting/host/ui_strings.cc
|
| index 760643f6b38d26922d566c702a1ecc85dfe09b69..99c59b32f87349e05feb84069ea3e5974acb9efd 100644
|
| --- a/remoting/host/ui_strings.cc
|
| +++ b/remoting/host/ui_strings.cc
|
| @@ -4,24 +4,26 @@
|
|
|
| #include "remoting/host/ui_strings.h"
|
|
|
| +#include "base/utf_string_conversions.h"
|
| +
|
| namespace remoting {
|
|
|
| UiStrings::UiStrings() :
|
| direction(LTR),
|
| - product_name("Chromoting"),
|
| - // The default string doesn't include the user name, so this will be
|
| - // missing for remoting_simple_host
|
| - disconnect_message("Your desktop is currently being shared."),
|
| - disconnect_button_text("Disconnect"),
|
| + product_name(ASCIIToUTF16("Chromoting")),
|
| + disconnect_message(
|
| + ASCIIToUTF16("Your desktop is currently being shared with $1.")),
|
| + disconnect_button_text(ASCIIToUTF16("Disconnect")),
|
| // This is the wrong shortcut on Mac OS X, but remoting_simple_host
|
| // doesn't have a bundle (and hence no dialog) on that platform and
|
| // the web-app will provide the correct localization for this string.
|
| - disconnect_button_shortcut("Ctrl+Alt+Esc"),
|
| - continue_prompt(
|
| + disconnect_button_text_plus_shortcut(
|
| + ASCIIToUTF16("Disconnect (Ctrl+Alt+Esc)")),
|
| + continue_prompt(ASCIIToUTF16(
|
| "You are currently sharing this machine with another user. "
|
| - "Please confirm that you want to continue sharing."),
|
| - continue_button_text("Continue"),
|
| - stop_sharing_button_text("Stop Sharing") {
|
| + "Please confirm that you want to continue sharing.")),
|
| + continue_button_text(ASCIIToUTF16("Continue")),
|
| + stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) {
|
| }
|
|
|
| UiStrings::~UiStrings() { }
|
|
|