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

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

Issue 21059003: Localized Chromoting Host on Mac and Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years, 4 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
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
6 #ifdef IDC_STATIC 7 #ifdef IDC_STATIC
7 #undef IDC_STATIC 8 #undef IDC_STATIC
8 #endif 9 #endif
9 #define IDC_STATIC (-1) 10 #define IDC_STATIC (-1)
10 11
12 #define STRINGIZE_NO_EXPANSION(x) #x
garykac 2013/07/31 18:52:39 Please add reference base/strings/stringize_macros
alexeypa (please no reviews) 2013/07/31 20:45:19 Done.
13 #define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
14
11 {% for lang in languages %} 15 {% for lang in languages %}
12 {% do SelectLanguage(lang) %} 16 {% do SelectLanguage(lang) %}
13 17
14 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }} 18 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
15 19
16 VS_VERSION_INFO VERSIONINFO 20 VS_VERSION_INFO VERSIONINFO
17 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }} 21 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
18 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }} 22 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
19 FILEFLAGSMASK 0x17L 23 FILEFLAGSMASK 0x17L
20 #ifdef _DEBUG 24 #ifdef _DEBUG
(...skipping 29 matching lines...) Expand all
50 VALUE "InternalName", "remoting_desktop.exe" 54 VALUE "InternalName", "remoting_desktop.exe"
51 VALUE "OriginalFilename", "remoting_desktop.exe" 55 VALUE "OriginalFilename", "remoting_desktop.exe"
52 #elif (BINARY == BINARY_HOST_ME2ME) 56 #elif (BINARY == BINARY_HOST_ME2ME)
53 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}" 57 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}"
54 VALUE "InternalName", "remoting_host.exe" 58 VALUE "InternalName", "remoting_host.exe"
55 VALUE "OriginalFilename", "remoting_host.exe" 59 VALUE "OriginalFilename", "remoting_host.exe"
56 #elif (BINARY == BINARY_HOST_PLUGIN) 60 #elif (BINARY == BINARY_HOST_PLUGIN)
57 VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% en dtrans %}" 61 VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% en dtrans %}"
58 VALUE "InternalName", "remoting_host_plugin.dll" 62 VALUE "InternalName", "remoting_host_plugin.dll"
59 VALUE "OriginalFilename", "remoting_host_plugin.dll" 63 VALUE "OriginalFilename", "remoting_host_plugin.dll"
60 VALUE "MIMEType", "application/vnd.chromium.remoting-host" 64 VALUE "MIMEType", STRINGIZE(HOST_PLUGIN_MIME_TYPE)
61 #else 65 #else
62 #error BINARY must be set to one of BINARY_XXX values. 66 #error BINARY must be set to one of BINARY_XXX values.
63 #endif 67 #endif
64 END 68 END
65 END 69 END
66 BLOCK "VarFileInfo" 70 BLOCK "VarFileInfo"
67 BEGIN 71 BEGIN
68 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }} 72 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}
69 END 73 END
70 END 74 END
71 75
72 {% endfor %} 76 {% endfor %}
OLDNEW
« no previous file with comments | « remoting/host/win/session_desktop_environment.cc ('k') | remoting/remoting.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698