diff options
author | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 20:53:12 +0000 |
---|---|---|
committer | arv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-17 20:53:12 +0000 |
commit | c9869d09775d613ba4d8772868b0924e5e9bd189 (patch) | |
tree | 1dc59625c61c99b5bb730ca7f3b0ab5598f6c37d | |
parent | f9f152b2873ba3cf8f2db2fb77b261cb243503f6 (diff) | |
download | chromium_src-c9869d09775d613ba4d8772868b0924e5e9bd189.zip chromium_src-c9869d09775d613ba4d8772868b0924e5e9bd189.tar.gz chromium_src-c9869d09775d613ba4d8772868b0924e5e9bd189.tar.bz2 |
Fix issue where the i18n template logic was not applied to the document element.
TBR=glen@chromium.org
BUG=16965
TEST=Start with --lang=he and makes sure UI is in RTL mode
Review URL: http://codereview.chromium.org/159026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20997 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/jstemplate_builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/jstemplate_builder.cc b/chrome/common/jstemplate_builder.cc index b47fed1..bb3a78f 100644 --- a/chrome/common/jstemplate_builder.cc +++ b/chrome/common/jstemplate_builder.cc @@ -108,7 +108,7 @@ void AppendI18nTemplateSourceHtml(std::string* output) { void AppendI18nTemplateProcessHtml(std::string* output) { output->append("<script>"); - output->append("i18nTemplate.process(document.documentElement, "); + output->append("i18nTemplate.process(document, "); output->append("templateData);"); output->append("</script>"); } |