| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 <winresrc.h> | 5 #include <winresrc.h> |
| 6 #include "remoting/host/win/core_resource.h" | 6 #include "remoting/host/win/core_resource.h" |
| 7 #ifdef IDC_STATIC | 7 #ifdef IDC_STATIC |
| 8 #undef IDC_STATIC | 8 #undef IDC_STATIC |
| 9 #endif | 9 #endif |
| 10 #define IDC_STATIC (-1) | 10 #define IDC_STATIC (-1) |
| 11 | 11 |
| 12 {% for lang in languages %} | 12 {% for lang in languages %} |
| 13 {% do SelectLanguage(lang) %} | 13 {% do SelectLanguage(lang) %} |
| 14 | 14 |
| 15 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }} | 15 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }} |
| 16 | 16 |
| 17 #if (BINARY == BINARY_CORE) | 17 #if (BINARY == BINARY_CORE) |
| 18 | 18 |
| 19 STRINGTABLE | 19 STRINGTABLE |
| 20 BEGIN | 20 BEGIN |
| 21 IDS_DISPLAY_SERVICE_NAME "{% trans %}DISPLAY_SERVICE_NAME{% endtrans %}" | 21 IDS_DISPLAY_SERVICE_NAME "{% trans %}DISPLAY_SERVICE_NAME{% endtrans %}" |
| 22 IDS_SERVICE_DESCRIPTION "{% trans %}SERVICE_DESCRIPTION{% endtrans %}" | 22 IDS_SERVICE_DESCRIPTION "{% trans %}SERVICE_DESCRIPTION{% endtrans %}" |
| 23 IDS_CONTROLLER_NAME "{% trans %}CONTROLLER_NAME{% endtrans %}" | 23 IDS_CONTROLLER_NAME "{% trans %}CONTROLLER_NAME{% endtrans %}" |
| 24 IDS_PRODUCT_NAME "{% trans %}PRODUCT_NAME{% endtrans %}" |
| 25 IDS_SHARE_CONFIRM_DIALOG_MESSAGE "{% trans %}SHARE_CONFIRM_DIALOG_MESSAGE{% en
dtrans %}" |
| 26 IDS_SHARE_CONFIRM_DIALOG_MESSAGE_WITH_USERNAME "{% trans %}SHARE_CONFIRM_DIALO
G_MESSAGE_WITH_USERNAME{% endtrans %}" |
| 27 IDS_SHARE_CONFIRM_DIALOG_CONFIRM "{% trans %}SHARE_CONFIRM_DIALOG_CONFIRM{% en
dtrans %}" |
| 28 IDS_SHARE_CONFIRM_DIALOG_DECLINE "{% trans %}SHARE_CONFIRM_DIALOG_DECLINE{% en
dtrans %}" |
| 24 END | 29 END |
| 25 | 30 |
| 31 IDI_CHROME_REMOTE_DESKTOP ICON "remoting/resources/chromoting.ico" |
| 32 |
| 26 #endif // (BINARY == BINARY_CORE) | 33 #endif // (BINARY == BINARY_CORE) |
| 27 | 34 |
| 28 IDD_VERIFY_CONFIG_DIALOG ICON "remoting/resources/chromoting.ico" | |
| 29 | |
| 30 IDD_VERIFY_CONFIG_DIALOG DIALOGEX 0, 0, 221, 106 | 35 IDD_VERIFY_CONFIG_DIALOG DIALOGEX 0, 0, 221, 106 |
| 31 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUPWINDOW | WS_CAPTION | 36 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUPWINDOW | WS_CAPTION |
| 32 EXSTYLE 0 {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL | WS_EX_RTLREADING {% e
ndif %} | 37 EXSTYLE 0 {% if IsRtlLanguage(lang) %} | WS_EX_LAYOUTRTL | WS_EX_RTLREADING {% e
ndif %} |
| 33 CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" | 38 CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" |
| 34 FONT 8, "MS Shell Dlg", 400, 0, 0x1 | 39 FONT 8, "MS Shell Dlg", 400, 0, 0x1 |
| 35 BEGIN | 40 BEGIN |
| 36 LTEXT "{% trans %}VERIFY_PIN_DIALOG_MESSAGE{% endtrans %}",IDC_MES
SAGE,7,7,207,30 | 41 LTEXT "{% trans %}VERIFY_PIN_DIALOG_MESSAGE{% endtrans %}",IDC_MES
SAGE,7,7,207,30 |
| 37 LTEXT "{% trans %}VERIFY_PIN_DIALOG_EMAIL_LABEL{% endtrans %}",IDC
_EMAIL_LABEL,7,38,50,30 | 42 LTEXT "{% trans %}VERIFY_PIN_DIALOG_EMAIL_LABEL{% endtrans %}",IDC
_EMAIL_LABEL,7,38,50,30 |
| 38 LTEXT "",IDC_EMAIL,60,38,110,30 | 43 LTEXT "",IDC_EMAIL,60,38,110,30 |
| 39 LTEXT "{% trans %}ASK_PIN_DIALOG_LABEL{% endtrans %}",IDC_PIN_LABE
L,7,55,50,30 | 44 LTEXT "{% trans %}ASK_PIN_DIALOG_LABEL{% endtrans %}",IDC_PIN_LABE
L,7,55,50,30 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 58 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LA
YOUTRTL | WS_EX_RTLREADING {% endif %} | 63 EXSTYLE WS_EX_TOPMOST | WS_EX_TOOLWINDOW {% if IsRtlLanguage(lang) %} | WS_EX_LA
YOUTRTL | WS_EX_RTLREADING {% endif %} |
| 59 CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" | 64 CAPTION "{% trans %}PRODUCT_NAME{% endtrans %}" |
| 60 FONT 8, "MS Shell Dlg", 400, 0, 0x1 | 65 FONT 8, "MS Shell Dlg", 400, 0, 0x1 |
| 61 BEGIN | 66 BEGIN |
| 62 DEFPUSHBUTTON "{% trans %}CONTINUE_BUTTON{% endtrans %}",IDC_CONTINUE_DEFA
ULT,116,38,98,14 | 67 DEFPUSHBUTTON "{% trans %}CONTINUE_BUTTON{% endtrans %}",IDC_CONTINUE_DEFA
ULT,116,38,98,14 |
| 63 LTEXT "{% trans %}CONTINUE_PROMPT{% endtrans %}",IDC_CONTINUE_MESS
AGE,7,7,207,30 | 68 LTEXT "{% trans %}CONTINUE_PROMPT{% endtrans %}",IDC_CONTINUE_MESS
AGE,7,7,207,30 |
| 64 PUSHBUTTON "{% trans %}STOP_SHARING_BUTTON{% endtrans %}",IDC_CONTINUE_
CANCEL,7,38,98,14 | 69 PUSHBUTTON "{% trans %}STOP_SHARING_BUTTON{% endtrans %}",IDC_CONTINUE_
CANCEL,7,38,98,14 |
| 65 END | 70 END |
| 66 | 71 |
| 67 {% endfor %} | 72 {% endfor %} |
| OLD | NEW |