| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "remoting/host/ui_strings.h" | |
| 6 | |
| 7 #include "base/strings/utf_string_conversions.h" | |
| 8 | |
| 9 namespace remoting { | |
| 10 | |
| 11 UiStrings::UiStrings() : | |
| 12 direction(LTR), | |
| 13 product_name(ASCIIToUTF16("Chromoting")), | |
| 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 | |
| 16 // hard-code a mention of audio here. | |
| 17 #if defined(OS_MACOSX) | |
| 18 disconnect_message( | |
| 19 ASCIIToUTF16("Your desktop is currently shared with $1.")), | |
| 20 #else | |
| 21 disconnect_message(ASCIIToUTF16( | |
| 22 "Your desktop and any audio output are currently shared with $1.")), | |
| 23 #endif | |
| 24 disconnect_button_text(ASCIIToUTF16("Disconnect")), | |
| 25 continue_prompt(ASCIIToUTF16( | |
| 26 "You are currently sharing this machine with another user. " | |
| 27 "Please confirm that you want to continue sharing.")), | |
| 28 continue_button_text(ASCIIToUTF16("Continue")), | |
| 29 stop_sharing_button_text(ASCIIToUTF16("Stop Sharing")) { | |
| 30 } | |
| 31 | |
| 32 UiStrings::~UiStrings() {} | |
| 33 | |
| 34 } // namespace remoting | |
| OLD | NEW |