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

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: rebased 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 // These marcos are copied from "base/stringize_macros.h" which cannot be
13 // included directly.
14 #define STRINGIZE_NO_EXPANSION(x) #x
15 #define STRINGIZE(x) STRINGIZE_NO_EXPANSION(x)
16
11 {% for lang in languages %} 17 {% for lang in languages %}
12 {% do SelectLanguage(lang) %} 18 {% do SelectLanguage(lang) %}
13 19
14 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }} 20 LANGUAGE {{ lang | GetPrimaryLanguage }}, {{ lang | GetSublanguage }}
15 21
16 VS_VERSION_INFO VERSIONINFO 22 VS_VERSION_INFO VERSIONINFO
17 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }} 23 FILEVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
18 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }} 24 PRODUCTVERSION {{ MAJOR }},{{ REMOTING_PATCH }},{{ BUILD }},{{ PATCH }}
19 FILEFLAGSMASK 0x17L 25 FILEFLAGSMASK 0x17L
20 #ifdef _DEBUG 26 #ifdef _DEBUG
(...skipping 29 matching lines...) Expand all
50 VALUE "InternalName", "remoting_desktop.exe" 56 VALUE "InternalName", "remoting_desktop.exe"
51 VALUE "OriginalFilename", "remoting_desktop.exe" 57 VALUE "OriginalFilename", "remoting_desktop.exe"
52 #elif (BINARY == BINARY_HOST_ME2ME) 58 #elif (BINARY == BINARY_HOST_ME2ME)
53 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}" 59 VALUE "FileDescription", "{% trans %}REMOTING_HOST_DESCRIPTION{% endtrans %}"
54 VALUE "InternalName", "remoting_host.exe" 60 VALUE "InternalName", "remoting_host.exe"
55 VALUE "OriginalFilename", "remoting_host.exe" 61 VALUE "OriginalFilename", "remoting_host.exe"
56 #elif (BINARY == BINARY_HOST_PLUGIN) 62 #elif (BINARY == BINARY_HOST_PLUGIN)
57 VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% en dtrans %}" 63 VALUE "FileDescription", "{% trans %}REMOTING_HOST_PLUGIN_DESCRIPTION{% en dtrans %}"
58 VALUE "InternalName", "remoting_host_plugin.dll" 64 VALUE "InternalName", "remoting_host_plugin.dll"
59 VALUE "OriginalFilename", "remoting_host_plugin.dll" 65 VALUE "OriginalFilename", "remoting_host_plugin.dll"
60 VALUE "MIMEType", "application/vnd.chromium.remoting-host" 66 VALUE "MIMEType", STRINGIZE(HOST_PLUGIN_MIME_TYPE)
61 #else 67 #else
62 #error BINARY must be set to one of BINARY_XXX values. 68 #error BINARY must be set to one of BINARY_XXX values.
63 #endif 69 #endif
64 END 70 END
65 END 71 END
66 BLOCK "VarFileInfo" 72 BLOCK "VarFileInfo"
67 BEGIN 73 BEGIN
68 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }} 74 VALUE "Translation", 0x{{ lang | GetLangId }}, {{ lang | GetCodepageDecimal }}
69 END 75 END
70 END 76 END
71 77
72 {% endfor %} 78 {% 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