Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #include <windows.h> | |
| 2 | |
| 3 #include "host_configurer_resource.h" | |
| 4 | |
| 5 IDD_MAIN DIALOGEX 0, 0, 180, 74 | |
| 6 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | |
| 7 FONT 8, "MS Sans Serif" | |
| 8 { | |
| 9 PUSHBUTTON "Start host" IDC_START_HOST, 65, 8, 50, 14 | |
|
Sergey Ulanov
2012/10/11 01:15:24
These strings need to be localizeable. It might be
alexeypa (please no reviews)
2012/10/11 16:57:52
If we are going to do localization in Windows way,
alexeypa (please no reviews)
2012/10/11 16:57:52
nit: indentation.
simonmorris
2012/10/11 21:27:35
This can be addressed in a separate CL, when we've
simonmorris
2012/10/11 21:27:35
This can be addressed in a separate CL, when we've
simonmorris
2012/10/11 21:27:35
Done.
Sergey Ulanov
2012/10/15 23:44:26
That's ok, but it's better to think about it soone
| |
| 10 PUSHBUTTON "Change PIN" IDC_CHANGE_PIN 65, 30, 50, 14 | |
| 11 PUSHBUTTON "Stop host" IDC_STOP_HOST 65, 52, 50, 14 | |
| 12 } | |
| 13 | |
| 14 IDD_START_HOST DIALOGEX 0, 0, 350, 120 | |
| 15 STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | |
| 16 FONT 8, "MS Sans Serif" | |
| 17 { | |
| 18 LTEXT "Host name", IDC_HOST_NAME_LABEL, 8, 10, 50, 14 | |
| 19 EDITTEXT IDC_HOST_NAME, 60, 8, 150, 14 | |
| 20 LTEXT "PIN", IDC_PIN_LABEL, 8, 30, 50, 14 | |
| 21 EDITTEXT IDC_PIN, 60, 28, 70, 14, ES_PASSWORD | ES_NUMBER | |
| 22 LTEXT "Confirm PIN", IDC_CONFIRM_PIN_LABEL, 8, 50, 50, 14 | |
| 23 EDITTEXT IDC_CONFIRM_PIN, 60, 48, 70, 14, ES_PASSWORD | ES_NUMBER | |
| 24 CHECKBOX "", IDC_CONSENT, 8, 68, 350, 30 | |
| 25 PUSHBUTTON "OK" IDOK, 8, 100, 50, 14 | |
| 26 PUSHBUTTON "Cancel" IDCANCEL, 66, 100, 50, 14 | |
| 27 } | |
| 28 | |
| 29 STRINGTABLE | |
| 30 { | |
| 31 #ifdef OFFICIAL_BUILD | |
| 32 IDS_TITLE, "Chrome Remote Desktop Host Configurer" | |
|
Sergey Ulanov
2012/10/11 01:15:24
These will need to me moved to string_resources.gr
alexeypa (please no reviews)
2012/10/11 16:57:52
Let's talk offline about this. There are some Wind
simonmorris
2012/10/11 21:27:35
This can be addressed in a separate CL, when we've
simonmorris
2012/10/11 21:27:35
This can be addressed in a separate CL, when we've
| |
| 33 IDS_CONSENT, "Help us improve Chrome Remote Desktop by allowing us to collect \ | |
| 34 usage statistics and crash reports." | |
| 35 #else | |
| 36 IDS_TITLE, "Chromoting Host Configurer" | |
| 37 IDS_CONSENT, "Help us improve Chromoting by allowing us to collect \ | |
| 38 usage statistics and crash reports." | |
| 39 #endif | |
| 40 IDS_SAME_PIN, "Please enter the same PIN in both boxes." | |
| 41 IDS_HOST_START_SUCCEEDED, "The host has started." | |
| 42 IDS_HOST_START_FAILED, "Couldn't start the host." | |
| 43 IDS_INVALID_PIN, "Please choose a PIN of at least 6 digits." | |
| 44 IDS_USE_BROWSER, "After you press OK, a browser will start. \ | |
| 45 Use it to sign on to your Google account, and to give \ | |
| 46 the host the permissions it needs." | |
| 47 } | |
| OLD | NEW |