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

Side by Side Diff: remoting/host/win/version.rc.jinja2

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 #ifdef IDC_STATIC
7 #undef IDC_STATIC
8 #endif
9 #define IDC_STATIC (-1)
10
11 {% for lang in languages %}
12 {% do SelectLanguage(lang) %}
13
14 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
15
16 VS_VERSION_INFO VERSIONINFO
17 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
18 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
19 FILEFLAGSMASK 0x17L
20 #ifdef _DEBUG
21 FILEFLAGS 0x1L
22 #else
23 FILEFLAGS 0x0L
24 #endif
25 FILEOS 0x4L
26 #if (BINARY == BINARY_CORE) || (BINARY == BINARY_HOST_PLUGIN)
27 FILETYPE VFT_DLL
28 #else
29 FILETYPE VFT_APP
30 #endif
31 FILESUBTYPE 0x0L
32 BEGIN
33 BLOCK "StringFileInfo"
34 BEGIN
35 BLOCK "{{ lang | GetLangId }}{{ lang | GetCodepage }}"
36 BEGIN
37 VALUE "CompanyName", "{% trans %}COMPANY_NAME{% endtrans %}"
38 VALUE "FileVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ PATC H }}"
39 VALUE "LegalCopyright", "{% trans %}COPYRIGHT{% endtrans %}"
40 VALUE "ProductName", "{% trans %}PRODUCT_NAME{% endtrans %}"
41 VALUE "ProductVersion", "{{ MAJOR }}.{{ REMOTING_PATCH }}.{{ BUILD }}.{{ P ATCH }}"
42 VALUE "LastChange", "{{ LASTCHANGE }}"
43 VALUE "Official Build", "{{ official_build }}"
44 #if (BINARY == BINARY_CORE)
45 VALUE "FileDescription", "{% trans %}REMOTING_CORE_DESCRIPTION{% endtrans %}"
46 VALUE "InternalName", "remoting_core.dll"
47 VALUE "OriginalFilename", "remoting_core.dll"
48 #elif (BINARY == BINARY_DESKTOP)
49 VALUE "FileDescription", "{% trans %}REMOTING_DESKTOP_DESCRIPTION{% endtra ns %}"
50 VALUE "InternalName", "remoting_desktop.exe"
51 VALUE "OriginalFilename", "remoting_desktop.exe"
52 #elif (BINARY == BINARY_HOST_ME2ME)
53 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}"
54 VALUE "InternalName", "remoting_host.exe"
55 VALUE "OriginalFilename", "remoting_host.exe"
56 #elif (BINARY == BINARY_HOST_PLUGIN)
57 VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% en dtrans %}"
58 VALUE "InternalName", "remoting_host_plugin.dll"
59 VALUE "OriginalFilename", "remoting_host_plugin.dll"
60 VALUE "MIMEType", "application/vnd.chromium.remoting-host"
61 #else
62 #error BINARY must be set to one of BINARY_XXX values.
63 #endif
64 END
65 END
66 BLOCK "VarFileInfo"
67 BEGIN
68 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}
69 END
70 END
71
72 {% endfor %}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698