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

Side by Side Diff: remoting/host/win/core.rc.template

Issue 18323017: Localized Chromoting Host on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 2013 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 <winresrc.h>
6 #include "remoting/host/win/core_resource.h"
7 #ifdef IDC_STATIC
8 #undef IDC_STATIC
9 #endif
10 #define IDC_STATIC (-1)
11
12 // Known Chromoting binaries
13 #define BINARY_CORE 1
14 #define BINARY_DESKTOP 2
15 #define BINARY_HOST_ME2ME 3
16 #define BINARY_HOST_PLUGIN 4
17
18 {% for lang in languages %}
19 {% do SelectLanguage(lang) %}
20
21 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
22
23 #if (BINARY == BINARY_CORE)
24
25 STRINGTABLE
26 BEGIN
27 IDS_DISPLAY_SERVICE_NAME "{% trans %}DISPLAY_SERVICE_NAME{% endtrans %}"
28 IDS_SERVICE_DESCRIPTION "{% trans %}SERVICE_DESCRIPTION{% endtrans %}"
29 IDS_CONTROLLER_NAME "{% trans %}CONTROLLER_NAME{% endtrans %}"
30 END
31
32 #endif // (BINARY == BINARY_CORE)
33
34 IDD_VERIFY_CONFIG_DIALOG ICON "remoting/resources/chromoting.ico"
35
36 IDD_VERIFY_CONFIG_DIALOG DIALOGEX 0, 0, 221, 106
37 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUPWINDOW | WS_CAPTION
38 EXSTYLE 0 {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL {% endif %}
39 CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}"
40 FONT 8, "MS Shell Dlg", 400, 0, 0x1
41 BEGIN
42 LTEXT "{% trans %}VERIFY_PIN_DIALOG_MESSAGE{% endtrans %}",IDC_MES SAGE,7,7,207,30
43 LTEXT "{% trans %}VERIFY_PIN_DIALOG_EMAIL_LABEL{% endtrans %}",IDC _EMAIL_LABEL,7,38,50,30
44 LTEXT "",IDC_EMAIL,60,38,110,30
45 LTEXT "{% trans %}ASK_PIN_DIALOG_LABEL{% endtrans %}",IDC_PIN_LABE L,7,55,50,30
46 EDITTEXT IDC_PIN,60,55,100,15,WS_TABSTOP | ES_PASSWORD | ES_NUMBER
47 DEFPUSHBUTTON "{% trans %}OK{% endtrans %}",IDOK,68,86,68,14,WS_TABSTOP
48 PUSHBUTTON "{% trans %}CANCEL{% endtrans %}",IDCANCEL,146,86,68,14,WS_T ABSTOP
49 END
50
51 IDD_DISCONNECT DIALOGEX 0, 0, 145, 24
52 STYLE DS_SETFONT | WS_POPUP
53 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LA YOUTRTL {% endif %}
54 FONT 9, "Microsoft Sans Serif", 400, 0, 0x0
55 BEGIN
56 DEFPUSHBUTTON "{% trans %}DISCONNECT_OTHER_BUTTON{% endtrans %}",IDC_DISCO NNECT,68,5,70,14
57 LTEXT "{% trans %}MESSAGE_SHARED{% endtrans %}",IDC_DISCONNECT_SHA RINGWITH,18,7,43,8
58 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,6,6,1,12
59 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,8,6,1,12
60 END
61
62 IDD_CONTINUE DIALOGEX 0, 0, 221, 58
63 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
64 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LA YOUTRTL {% endif %}
65 CAPTION "kTitle"
66 FONT 8, "MS Shell Dlg", 400, 0, 0x1
67 BEGIN
68 DEFPUSHBUTTON "{% trans %}CONTINUE_BUTTON{% endtrans %}",IDC_CONTINUE_DEFA ULT,116,38,98,14
69 LTEXT "{% trans %}CONTINUE_PROMPT{% endtrans %}",IDC_CONTINUE_MESS AGE,7,7,207,30
70 PUSHBUTTON "{% trans %}STOP_SHARING_BUTTON{% endtrans %}",IDC_CONTINUE_ CANCEL,7,38,98,14
71 END
72
73 {% endfor %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698