OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "remoting/host/ui_strings.h" | 5 #include "remoting/host/ui_strings.h" |
6 | 6 |
7 #include "base/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 | 8 |
9 namespace remoting { | 9 namespace remoting { |
10 | 10 |
11 UiStrings::UiStrings() : | 11 UiStrings::UiStrings() : |
12 direction(LTR), | 12 direction(LTR), |
13 product_name(ASCIIToUTF16("Chromoting")), | 13 product_name(ASCIIToUTF16("Chromoting")), |
14 // Audio is currently only supported for Me2Me, and not on Mac. However, | 14 // Audio is currently only supported for Me2Me, and not on Mac. However, |
15 // for IT2Me, these strings are replaced during l10n, so it's fine to | 15 // for IT2Me, these strings are replaced during l10n, so it's fine to |
16 // hard-code a mention of audio here. | 16 // hard-code a mention of audio here. |
17 #if defined(OS_MACOSX) | 17 #if defined(OS_MACOSX) |
18 disconnect_message( | 18 disconnect_message( |
19 ASCIIToUTF16("Your desktop is currently shared with $1.")), | 19 ASCIIToUTF16("Your desktop is currently shared with $1.")), |
20 #else | 20 #else |
21 disconnect_message(ASCIIToUTF16( | 21 disconnect_message(ASCIIToUTF16( |
22 "Your desktop and any audio output are currently shared with $1.")), | 22 "Your desktop and any audio output are currently shared with $1.")), |
23 #endif | 23 #endif |
24 disconnect_button_text(ASCIIToUTF16("Disconnect")), | 24 disconnect_button_text(ASCIIToUTF16("Disconnect")), |
25 continue_prompt(ASCIIToUTF16( | 25 continue_prompt(ASCIIToUTF16( |
26 "You are currently sharing this machine with another user. " | 26 "You are currently sharing this machine with another user. " |
27 "Please confirm that you want to continue sharing.")), | 27 "Please confirm that you want to continue sharing.")), |
28 continue_button_text(ASCIIToUTF16("Continue")), | 28 continue_button_text(ASCIIToUTF16("Continue")), |
29 stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) { | 29 stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) { |
30 } | 30 } |
31 | 31 |
32 UiStrings::~UiStrings() {} | 32 UiStrings::~UiStrings() {} |
33 | 33 |
34 } // namespace remoting | 34 } // namespace remoting |
OLD | NEW |