Chromium Code Reviews| Index: remoting/host/ui_strings.cc |
| diff --git a/remoting/host/ui_strings.cc b/remoting/host/ui_strings.cc |
| index 760643f6b38d26922d566c702a1ecc85dfe09b69..babde24b96966a7b2a91ff68f9df17e20007f100 100644 |
| --- a/remoting/host/ui_strings.cc |
| +++ b/remoting/host/ui_strings.cc |
| @@ -4,24 +4,28 @@ |
| #include "remoting/host/ui_strings.h" |
| +#include "base/utf_string_conversions.h" |
| + |
| namespace remoting { |
| UiStrings::UiStrings() : |
| direction(LTR), |
| - product_name("Chromoting"), |
| + product_name(ASCIIToUTF16("Chromoting")), |
| // The default string doesn't include the user name, so this will be |
| // missing for remoting_simple_host |
|
Jamie
2011/08/18 18:44:26
This comment can be removed now.
|
| - disconnect_message("Your desktop is currently being shared."), |
| - disconnect_button_text("Disconnect"), |
| + 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() { } |