blob: bdd0c4abeeba9d9942d29581025866e4c0bc7608 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
// 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.
#ifndef REMOTING_HOST_UI_STRINGS_H_
#define REMOTING_HOST_UI_STRINGS_H_
#include "base/string16.h"
// This struct contains localized strings to be displayed in host dialogs.
// For the web-app, these are loaded from the appropriate messages.json
// file when the plugin is created. For remoting_simple_host, they are
// left set to the default (English) values.
//
// Since we don't anticipate having a significant host-side UI presented
// in this way, a namespace containing all available strings should be
// a reasonable way to implement this.
namespace remoting {
struct UiStrings {
UiStrings();
~UiStrings();
// The direction (left-to-right or right-to-left) for the current language.
enum Direction { RTL, LTR };
Direction direction;
// The product name (Chromoting or Chrome Remote Desktop).
string16 product_name;
// The message in the disconnect dialog.
string16 disconnect_message;
// The label on the disconnect dialog button, without the keyboard shortcut.
string16 disconnect_button_text;
// The label on the disconnect dialog button, with the keyboard shortcut.
string16 disconnect_button_text_plus_shortcut;
// The confirmation prompt displayed by the continue window.
string16 continue_prompt;
// The label on the 'Continue' button of the continue window.
string16 continue_button_text;
// The label on the 'Stop Sharing' button of the continue window.
string16 stop_sharing_button_text;
};
}
#endif // REMOTING_HOST_UI_STRINGS_H_
|