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

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

Issue 7635012: Host process i18n and Linux implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed clang error. 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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 #ifndef REMOTING_UI_STRINGS_H_
6 #define REMOTING_UI_STRINGS_H_
7
8 #include <string>
9
10 // This struct contains localized strings to be displayed in host dialogs.
11 // For the web-app, these are loaded from the appropriate messages.json
12 // file when the plugin is created. For remoting_simple_host, they are
13 // left set to the default (English) values.
14 //
15 // Since we don't anticipate having a significant host-side UI presented
16 // in this way, a namespace containing all available strings should be
17 // a reasonable way to implement this.
18
19 namespace remoting {
20
21 struct UIStrings {
Lambros 2011/08/13 00:32:13 Optional nit: I wonder if this should be named "Ui
Jamie 2011/08/13 00:56:19 Done.
22 UIStrings();
23 ~UIStrings();
24
25 // The direction (left-to-right or right-to-left) for the current language.
26 enum Direction { RTL, LTR };
27 Direction direction;
28
29 // The product name (Chromoting or Chrome Remote Desktop).
30 std::string productName;
31
32 // The message in the disconnect dialog.
33 std::string disconnectMessage;
34
35 // The label on the disconnect dialog button, without the keyboard shortcut.
36 std::string disconnectButtonText;
37
38 // The keyboard shortcut for disconnecting clients.
39 std::string disconnectButtonShortcut;
40
41 // The confirmation prompt displayed by the continue window.
42 std::string continuePrompt;
43
44 // The label on the 'Continue' button of the continue window.
45 std::string continueButtonText;
46
47 // The label on the 'Stop Sharing' button of the continue window.
48 std::string stopSharingButtonText;
49 };
50
51 }
52
53 #endif // REMOTING_UI_STRINGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698