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

Issue 6969064: Start generating translated policy templates (Closed)

Created:
9 years, 7 months ago by gfeher
Modified:
9 years, 7 months ago
Reviewers:
tony, Jói
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Start generating translated policy templates -Add output nodes of translations into policy_templates.grd. -Copy translated string tables into the Mac bundle. -Work around the problem that the zip tool would get too long command-line arguments if all the translated templates were enumerated as arguments. -Fix importing of UTF-8 strings into the template generator BUG=61779 TEST=Check that there are translated adml, adm and html files in policy_templates.zip. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86476

Patch Set 1 #

Patch Set 2 : " #

Patch Set 3 : hack to fix too long cmdline on windows #

Patch Set 4 : activate translations for mac #

Total comments: 1

Patch Set 5 : use grit_info.py #

Total comments: 4

Patch Set 6 : address Joi's comments #

Patch Set 7 : rebase+nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+320 lines, -80 lines) Patch
M chrome/app/policy/policy_templates.grd View 1 2 3 4 5 2 chunks +217 lines, -7 lines 0 comments Download
M chrome/app/policy/policy_templates.gypi View 1 2 3 4 3 chunks +20 lines, -9 lines 0 comments Download
A chrome/tools/build/win/make_policy_zip.py View 1 2 3 4 5 6 1 chunk +78 lines, -0 lines 0 comments Download
D chrome/tools/build/win/make_zip_with_relative_entries.py View 1 2 1 chunk +0 lines, -63 lines 0 comments Download
M tools/grit/grit/format/policy_templates/policy_template_generator.py View 1 chunk +1 line, -0 lines 0 comments Download
M tools/grit/grit/format/policy_templates/template_formatter.py View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
gfeher
Hi Tony, Please review this. Let me know if you'd like me to find other ...
9 years, 7 months ago (2011-05-19 14:23:44 UTC) #1
tony
http://codereview.chromium.org/6969064/diff/10001/chrome/tools/build/win/make_policy_zip.py File chrome/tools/build/win/make_policy_zip.py (right): http://codereview.chromium.org/6969064/diff/10001/chrome/tools/build/win/make_policy_zip.py#newcode19 chrome/tools/build/win/make_policy_zip.py:19: # specified for Windows in app/policy/policy_templates.grd Hmm, is it ...
9 years, 7 months ago (2011-05-19 18:49:24 UTC) #2
Jói
I have a couple of comments; if they are off the mark or you have ...
9 years, 7 months ago (2011-05-23 13:13:51 UTC) #3
gfeher
Thanks Jói. Are you also okay with the way I use grit in make_policy_zip.py? (I ...
9 years, 7 months ago (2011-05-23 20:55:09 UTC) #4
tony
LGTM, but feel free to wait for Joi to reply.
9 years, 7 months ago (2011-05-23 21:47:29 UTC) #5
Jói
9 years, 7 months ago (2011-05-24 01:04:02 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698