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

Unified Diff: grit/format/chrome_messages_json_unittest.py

Issue 138903021: Strip IDS_ as well as IDR_ in the chrome_messages_json generator. (Closed) Base URL: http://grit-i18n.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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/chrome_messages_json.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: grit/format/chrome_messages_json_unittest.py
===================================================================
--- grit/format/chrome_messages_json_unittest.py (revision 147)
+++ grit/format/chrome_messages_json_unittest.py (working copy)
@@ -49,22 +49,22 @@
output = buf.getvalue()
test = u"""
{
- "IDS_SIMPLE_MESSAGE": {
+ "SIMPLE_MESSAGE": {
"message": "Simple message."
},
- "IDS_QUOTES": {
+ "QUOTES": {
"message": "element\\u2019s \\u201c%s\\u201d attribute"
},
- "IDS_PLACEHOLDERS": {
+ "PLACEHOLDERS": {
"message": "%1$d error, %2$d warning"
},
- "IDS_STARTS_WITH_SPACE": {
+ "STARTS_WITH_SPACE": {
"message": "(%d)"
},
- "IDS_DOUBLE_QUOTES": {
+ "DOUBLE_QUOTES": {
"message": "A \\"double quoted\\" message."
},
- "IDS_BACKSLASH": {
+ "BACKSLASH": {
"message": "\\\\"
}
}
« no previous file with comments | « grit/format/chrome_messages_json.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698