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

Unified Diff: grit/node/empty.py

Issue 11152002: Add support for messages.json format used to localize Chrome extensions. (Closed) Base URL: http://git.chromium.org/external/grit-i18n.git@master
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « grit/format/js_map_format_unittest.py ('k') | grit/test_suite_all.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/node/empty.py
diff --git a/grit/node/empty.py b/grit/node/empty.py
index 4407791d6dfd5d99a8f34a24f718c8ac5fbdc7d4..8502204288f753891c25e035b12c25e544282424 100644
--- a/grit/node/empty.py
+++ b/grit/node/empty.py
@@ -49,6 +49,9 @@ class MessagesNode(GroupingNode):
elif t == 'js_map_format':
from grit.format import js_map_format
return js_map_format.StringTable()
+ elif t == 'chrome_messages_json':
+ from grit.format import chrome_messages_json
+ return chrome_messages_json.StringTable()
elif t == 'android':
from grit.format import android_xml
return android_xml.ResourcesElement()
« no previous file with comments | « grit/format/js_map_format_unittest.py ('k') | grit/test_suite_all.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698