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

Unified Diff: grit/node/empty.py

Issue 9924009: Add c_format as a format option. (Closed) Base URL: https://grit-i18n.googlecode.com/svn/trunk
Patch Set: Created 8 years, 9 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/rc_unittest.py ('k') | grit/node/message.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 84f0a5120f9de9bc847b7309b76679741c10a22a..845879d239199ddc19cd006de455afe1338c06f5 100644
--- a/grit/node/empty.py
+++ b/grit/node/empty.py
@@ -42,6 +42,9 @@ class MessagesNode(GroupingNode):
if t in ['rc_all', 'rc_translateable', 'rc_nontranslateable']:
from grit.format import rc # avoid circular dep by importing here
return rc.StringTable()
+ elif t == 'c_format':
+ from grit.format import c_format
+ return c_format.StringTable()
elif t == 'js_map_format':
from grit.format import js_map_format
return js_map_format.StringTable()
« no previous file with comments | « grit/format/rc_unittest.py ('k') | grit/node/message.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698