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

Unified Diff: remoting/host/ui_strings.cc

Issue 7635012: Host process i18n and Linux implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change UIStrings to UiStrings. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: remoting/host/ui_strings.cc
diff --git a/remoting/host/ui_strings.cc b/remoting/host/ui_strings.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0874a420a16700a6f5f9d2af4a3879901a895db9
--- /dev/null
+++ b/remoting/host/ui_strings.cc
@@ -0,0 +1,29 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "remoting/host/ui_strings.h"
+
+namespace remoting {
+
+UiStrings::UiStrings() :
+ direction(LTR),
+ productName("Chromoting"),
+ // The default string doesn't include the user name, so this will be
+ // missing for remoting_simple_host
+ disconnectMessage("Your desktop is currently being shared."),
+ disconnectButtonText("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
+ // the web-app will provide the correct localization for this string.
+ disconnectButtonShortcut("Ctrl+Alt+Esc"),
+ continuePrompt(
+ "You are currently sharing this machine with another user. "
+ "Please confirm that you want to continue sharing."),
+ continueButtonText("Continue"),
+ stopSharingButtonText("Stop Sharing") {
+}
+
+UiStrings::~UiStrings() { }
+
+}

Powered by Google App Engine
This is Rietveld 408576698