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

Side by Side Diff: remoting/host/disconnect_window.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/disconnect_window.h" 5 #include "remoting/host/disconnect_window.h"
6 6
7 // TODO(jamiewalch): Remove this file once all platforms pick up the
8 // localized versions from ui_strings.h
9
7 namespace remoting { 10 namespace remoting {
8 // TODO(garykac): These strings should be localized.
9 const char DisconnectWindow::kTitle[] = "Remoting"; 11 const char DisconnectWindow::kTitle[] = "Remoting";
10 const char DisconnectWindow::kSharingWith[] = "Sharing with: "; 12 const char DisconnectWindow::kSharingWith[] = "Sharing with: ";
11 const char DisconnectWindow::kDisconnectButton[] = "Disconnect"; 13 const char DisconnectWindow::kDisconnectButton[] = "Disconnect";
12 14
13 const char DisconnectWindow::kDisconnectKeysLinux[] = " (Ctrl+Alt+Esc)"; 15 const char DisconnectWindow::kDisconnectKeysLinux[] = " (Ctrl+Alt+Esc)";
14 // For Mac: Ctrl+Option+Esc 16 // For Mac: Ctrl+Option+Esc
15 // Ctrl: U+2303 = 0xE2 0x8C 0x83 (utf8) 17 // Ctrl: U+2303 = 0xE2 0x8C 0x83 (utf8)
16 // Option: U+2325 = 0xE2 0x8C 0xA5 (utf8) 18 // Option: U+2325 = 0xE2 0x8C 0xA5 (utf8)
17 // Escape: According to http://en.wikipedia.org/wiki/Esc_key, the ISO 9995 19 // Escape: According to http://en.wikipedia.org/wiki/Esc_key, the ISO 9995
18 // standard specifies the U+238B glyph for Escape. Although this 20 // standard specifies the U+238B glyph for Escape. Although this
19 // doesn't appear to be in common use. 21 // doesn't appear to be in common use.
20 const char DisconnectWindow::kDisconnectKeysMac[] = 22 const char DisconnectWindow::kDisconnectKeysMac[] =
21 " (\xE2\x8C\x83+\xE2\x8C\xA5+Esc)"; 23 " (\xE2\x8C\x83+\xE2\x8C\xA5+Esc)";
22 const char DisconnectWindow::kDisconnectKeysWin[] = " (Ctrl+Alt+Esc)"; 24 const char DisconnectWindow::kDisconnectKeysWin[] = " (Ctrl+Alt+Esc)";
23 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698