diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 01:32:30 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-03 01:32:30 +0000 |
commit | ab0a9651b308bce418735aaa87a906f118467ff3 (patch) | |
tree | 43adaf7c02b39221a3b001299a2282cfa9dbc73c /remoting/host/ui_strings.cc | |
parent | 6a8de98af94c4dc13d1c16faf301945bde9d131b (diff) | |
download | chromium_src-ab0a9651b308bce418735aaa87a906f118467ff3.zip chromium_src-ab0a9651b308bce418735aaa87a906f118467ff3.tar.gz chromium_src-ab0a9651b308bce418735aaa87a906f118467ff3.tar.bz2 |
Mention audio in the 'connected' message for Linux and WIndows.
BUG=153361
Review URL: https://chromiumcodereview.appspot.com/11045004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159825 0039d316-1c4b-4281-b951-d872f2087c98
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 |