diff options
Diffstat (limited to 'remoting/host/ui_strings.cc')
-rw-r--r-- | remoting/host/ui_strings.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/remoting/host/ui_strings.cc b/remoting/host/ui_strings.cc index 2f88da2..d691753 100644 --- a/remoting/host/ui_strings.cc +++ b/remoting/host/ui_strings.cc @@ -11,8 +11,16 @@ namespace remoting { UiStrings::UiStrings() : direction(LTR), product_name(ASCIIToUTF16("Chromoting")), + // Audio is currently only supported for Me2Me, and not on Mac. However, + // for IT2Me, these strings are replaced during l10n, so it's fine to + // hard-code a mention of audio here. +#if defined(OS_MACOSX) disconnect_message( - ASCIIToUTF16("Your desktop is currently being shared with $1.")), + ASCIIToUTF16("Your desktop is currently shared with $1.")), +#else + disconnect_message(ASCIIToUTF16( + "Your desktop and any audio output are currently shared with $1.")), +#endif 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 |