diff options
author | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 09:26:00 +0000 |
---|---|---|
committer | gfeher@chromium.org <gfeher@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-18 09:26:00 +0000 |
commit | 8a4c938f3a096ab1cc4a9f29a63b75f2df7c16a7 (patch) | |
tree | 6dba6c86b249801a090d298a11fa767c890caa09 /chrome/app/policy/policy_templates.grd | |
parent | a894250823ff98c8856bb71f7c8c6e05b521094e (diff) | |
download | chromium_src-8a4c938f3a096ab1cc4a9f29a63b75f2df7c16a7.zip chromium_src-8a4c938f3a096ab1cc4a9f29a63b75f2df7c16a7.tar.gz chromium_src-8a4c938f3a096ab1cc4a9f29a63b75f2df7c16a7.tar.bz2 |
Add version information to the policy templates
Add for each policy the version number of Chrome when is was introduced.
Update platform-based policy filtering to use the new template format (no
new logic introduced.) Update the HTML documentation writer to use the new
version numbers.
BUG=62500
TEST=PolicyTemplateGeneratorUnittest.testPolicyFiltering,DocWriterUnittest.testAddPolicyDetails,DocWriterUnittest.testAddPolicySection
Review URL: http://codereview.chromium.org/4704006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66601 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/policy/policy_templates.grd')
-rw-r--r-- | chrome/app/policy/policy_templates.grd | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/chrome/app/policy/policy_templates.grd b/chrome/app/policy/policy_templates.grd index 08cd727..0a44fd1 100644 --- a/chrome/app/policy/policy_templates.grd +++ b/chrome/app/policy/policy_templates.grd @@ -705,13 +705,17 @@ templates and will be translated for each locale. --> desc="Caption text of the field 'mac/linux preference name' in the summary chart of a policy in the generated documentation"> Mac/Linux preference name: </message> - <message name="IDS_POLICY_DOC_SUPPORTED_ON_PLATFORMS" - desc="Caption text of the list of 'platforms where this policy is supported' in the summary chart of a policy in the generated documentation"> - Supported on platforms: + <message name="IDS_POLICY_DOC_SUPPORTED_ON" + desc="Caption text of the list of 'products, platforms and versions where this policy is supported' in the summary chart of a policy in the generated documentation"> + Supported on: </message> - <message name="IDS_POLICY_DOC_SUPPORTED_IN_PRODUCTS" - desc="Caption text of the list of 'products where this policy is supported' in the summary chart of a policy in the generated documentation"> - Supported in products: + <message name="IDS_POLICY_DOC_SINCE_VERSION" + desc="Text in the summary chart of a policy that specifies the version number in which the policy was introduced."> + since version <ph name="SINCE_VERSION">$6<ex>8</ex></ph> + </message> + <message name="IDS_POLICY_DOC_UNTIL_VERSION" + desc="Text in the summary chart of a policy that specifies the version number after which the policy was dropped."> + until version <ph name="UNTIL_VERSION">$6<ex>10</ex></ph> </message> <message name="IDS_POLICY_DOC_SUPPORTED_FEATURES" desc="Caption text of the list of 'policy features that this policy supports' in the summary chart of a policy in the generated documentation"> |