|
Localized Chromoting Host on Windows.
This CL introduces remoting/tools/localize.py script. The script is based on Jinja2 templating language. It is used to generate localizable resources (string table, dialogs, message table and version information) from a common template. The translated strings are taken from json files (used by the webapp as well), which, in turn, are generated from remoting_strings.grd.
Collateral changes:
- Branding of Window resources has been moved to remoting_strings.grd. .ver files are not used anymore.
- Updated verify_resources.py so that it could recognize strings used by Jinja2 templates.
- Fixed the dialog layouts for RTL languages.
TBR=cpu@chromium.org
BUG= 155204
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=210591
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1201 lines, -298 lines) |
Patch |
 |
M |
remoting/branding_Chrome
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
remoting/branding_Chromium
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
D |
remoting/host/plugin/remoting_host_plugin.ver
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
D |
remoting/host/remoting_host_messages.mc
|
View
|
|
1 chunk |
+0 lines, -61 lines |
1 comment
|
Download
|
 |
D |
remoting/host/win/core.rc
|
View
|
|
1 chunk |
+0 lines, -87 lines |
0 comments
|
Download
|
 |
A |
remoting/host/win/core.rc.jinja2
|
View
|
1
2
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/host/win/core_resource.h
|
View
|
1
2
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
A |
remoting/host/win/host_messages.mc.jinja2
|
View
|
1
2
|
1 chunk |
+89 lines, -0 lines |
0 comments
|
Download
|
 |
D |
remoting/host/win/remoting_core.ver
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
remoting/host/win/remoting_desktop.ver
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
D |
remoting/host/win/remoting_host.ver
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
A |
remoting/host/win/version.rc.jinja2
|
View
|
1
2
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/remoting.gyp
|
View
|
1
2
3
4
|
19 chunks |
+170 lines, -45 lines |
0 comments
|
Download
|
 |
M |
remoting/resources/remoting_strings.grd
|
View
|
|
3 chunks |
+69 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/tools/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
remoting/tools/localize.py
|
View
|
1
2
3
4
5
|
1 chunk |
+718 lines, -0 lines |
0 comments
|
Download
|
 |
M |
remoting/tools/verify_resources.py
|
View
|
1
2
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
D |
remoting/version.rc.version
|
View
|
|
1 chunk |
+0 lines, -65 lines |
0 comments
|
Download
|
Total messages: 13 (1 generated)
|