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

Unified Diff: grit/tool/build.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/test_suite_all.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/tool/build.py
diff --git a/grit/tool/build.py b/grit/tool/build.py
index ada8c71fc6178e74f1aaf1d8c57c785d9f2820b1..5b3e91d144e0e7dcbe5d2debc41f3be63117b751 100644
--- a/grit/tool/build.py
+++ b/grit/tool/build.py
@@ -222,7 +222,8 @@ are exported to translation interchange files (e.g. XMB files), etc.
'resource_map_source', 'resource_file_map_source'):
encoding = 'cp1252'
elif output.GetType() in ('android', 'c_format', 'js_map_format', 'plist',
- 'plist_strings', 'doc', 'json'):
+ 'plist_strings', 'doc', 'json',
+ 'chrome_messages_json'):
encoding = 'utf_8'
else:
# TODO(gfeher) modify here to set utf-8 encoding for admx/adml
« no previous file with comments | « grit/test_suite_all.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698