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{% for lang in languages %} 13 {% do SelectLanguage(lang) %} 14 15LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }} 16 17#if (BINARY == BINARY_CORE) 18 19STRINGTABLE 20BEGIN 21 IDS_DISPLAY_SERVICE_NAME "{% trans %}DISPLAY_SERVICE_NAME{% endtrans %}" 22 IDS_SERVICE_DESCRIPTION "{% trans %}SERVICE_DESCRIPTION{% endtrans %}" 23 IDS_CONTROLLER_NAME "{% trans %}CONTROLLER_NAME{% endtrans %}" 24END 25 26#endif // (BINARY == BINARY_CORE) 27 28IDD_VERIFY_CONFIG_DIALOG ICON "remoting/resources/chromoting.ico" 29 30IDD_VERIFY_CONFIG_DIALOG DIALOGEX 0, 0, 221, 106 31STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUPWINDOW | WS_CAPTION 32EXSTYLE 0 {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL | WS_EX_RTLREADING {% endif %} 33CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" 34FONT 8, "MS Shell Dlg", 400, 0, 0x1 35BEGIN 36 LTEXT "{% trans %}VERIFY_PIN_DIALOG_MESSAGE{% endtrans %}",IDC_MESSAGE,7,7,207,30 37 LTEXT "{% trans %}VERIFY_PIN_DIALOG_EMAIL_LABEL{% endtrans %}",IDC_EMAIL_LABEL,7,38,50,30 38 LTEXT "",IDC_EMAIL,60,38,110,30 39 LTEXT "{% trans %}ASK_PIN_DIALOG_LABEL{% endtrans %}",IDC_PIN_LABEL,7,55,50,30 40 EDITTEXT IDC_PIN,60,55,100,15,WS_TABSTOP | ES_PASSWORD | ES_NUMBER 41 DEFPUSHBUTTON "{% trans %}OK{% endtrans %}",IDOK,68,86,68,14,WS_TABSTOP 42 PUSHBUTTON "{% trans %}CANCEL{% endtrans %}",IDCANCEL,146,86,68,14,WS_TABSTOP 43END 44 45IDD_DISCONNECT DIALOGEX 0, 0, 145, 24 46STYLE DS_SETFONT | WS_POPUP 47EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL | WS_EX_RTLREADING {% endif %} 48FONT 9, "Microsoft Sans Serif", 400, 0, 0x0 49BEGIN 50 DEFPUSHBUTTON "{% trans %}STOP_SHARING_BUTTON{% endtrans %}",IDC_DISCONNECT,68,5,70,14 51 LTEXT "{% trans %}MESSAGE_SHARED{% endtrans %}",IDC_DISCONNECT_SHARINGWITH,18,7,43,8 52 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,6,6,1,12 53 CONTROL "",IDC_STATIC,"Static",SS_ETCHEDVERT,8,6,1,12 54END 55 56IDD_CONTINUE DIALOGEX 0, 0, 221, 58 57STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION 58EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL | WS_EX_RTLREADING {% endif %} 59CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" 60FONT 8, "MS Shell Dlg", 400, 0, 0x1 61BEGIN 62 DEFPUSHBUTTON "{% trans %}CONTINUE_BUTTON{% endtrans %}",IDC_CONTINUE_DEFAULT,116,38,98,14 63 LTEXT "{% trans %}CONTINUE_PROMPT{% endtrans %}",IDC_CONTINUE_MESSAGE,7,7,207,30 64 PUSHBUTTON "{% trans %}STOP_SHARING_BUTTON{% endtrans %}",IDC_CONTINUE_CANCEL,7,38,98,14 65END 66 67{% endfor %} 68