Index: tools/grit/grit/gather/policy_json.py |
diff --git a/tools/grit/grit/gather/policy_json.py b/tools/grit/grit/gather/policy_json.py |
index 0dcd831d4d5ffe8d69a01718c18d7913f1ca7f9d..9e95dc6086439bad8654f0c15fc87a574e31989a 100755 |
--- a/tools/grit/grit/gather/policy_json.py |
+++ b/tools/grit/grit/gather/policy_json.py |
@@ -18,7 +18,7 @@ from xml.parsers.expat import ExpatError |
class PolicyJson(skeleton_gatherer.SkeletonGatherer): |
'''Collects and translates the following strings from policy_templates.json: |
- - captions,descriptions and labels of policies |
+ - captions, descriptions, labels and Android app support details of policies |
- captions of enumeration items |
- misc strings from the 'messages' section |
Translatable strings may have untranslateable placeholders with the same |
@@ -145,6 +145,7 @@ class PolicyJson(skeleton_gatherer.SkeletonGatherer): |
'desc': 'Description', |
'caption': 'Caption', |
'label': 'Label', |
+ 'arc_support': 'Information about the effect on Android apps' |
} |
if item_type == 'policy': |
return '%s of the policy named %s' % (key_map[key], item['name']) |
@@ -170,7 +171,7 @@ class PolicyJson(skeleton_gatherer.SkeletonGatherer): |
depth: The level of indentation. |
''' |
self._AddIndentedNontranslateableChunk(depth, "'%s': " % key) |
- if key in ('desc', 'caption', 'label'): |
+ if key in ('desc', 'caption', 'label', 'arc_support'): |
self._AddNontranslateableChunk("'''") |
self._ParseMessage( |
item[key], |