Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: remoting/host/ui_strings.cc

Issue 20985002: Localized Chromoting Host on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/ui_strings.h ('k') | remoting/host/win/core.rc.jinja2 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « remoting/host/ui_strings.h ('k') | remoting/host/win/core.rc.jinja2 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698