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

Unified Diff: tools/grit/grit/testdata/substitute_tmpl.grd

Issue 2802853003: Fix assert in grit script by always resolving template vars. (Closed)
Patch Set: style nit Created 3 years, 8 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 | « no previous file | tools/grit/grit/tool/build.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/grit/grit/testdata/substitute_tmpl.grd
diff --git a/tools/grit/grit/testdata/substitute_tmpl.grd b/tools/grit/grit/testdata/substitute_tmpl.grd
new file mode 100644
index 0000000000000000000000000000000000000000..be7b6017075e8ddb82208df760d31595aae897da
--- /dev/null
+++ b/tools/grit/grit/testdata/substitute_tmpl.grd
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
+<grit
+ base_dir="."
+ source_lang_id="en"
+ tc_project="GoogleDesktopWindowsClient"
+ latest_public_release="0"
+ current_release="1"
+ enc_check="möl">
+ <outputs>
+ <output filename="resource.h" type="rc_header" />
+ <output filename="en_${name}_resources.rc" type="rc_all" lang="en" />
+ <output filename="sv_${name}_resources.rc" type="rc_all" lang="sv" />
+ </outputs>
+ <translations>
+ <file path="substitute.xmb" lang="sv" />
+ </translations>
+ <release seq="1" allow_pseudo="false">
+ <messages first_id="8192">
+ <message name="IDS_COPYRIGHT_GOOGLE_LONG" sub_variable="true" desc="Gadget copyright notice. Needs to be updated every year.">
+ Copyright 2008 Google Inc. All Rights Reserved.
+ </message>
+ <message name="IDS_NEWS_PANEL_COPYRIGHT">
+ Google Desktop News gadget
+[IDS_COPYRIGHT_GOOGLE_LONG]
+View news that is personalized based on the articles you read.
+
+For example, if you read lots of sports news, you'll see more sports articles. If you read technology news less often, you'll see fewer of those articles.
+ </message>
+ </messages>
+ </release>
+</grit>
« no previous file with comments | « no previous file | tools/grit/grit/tool/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698