summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-16 18:24:51 +0000
committerjungshik@google.com <jungshik@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-16 18:24:51 +0000
commit13d250c124f2bd55540161b4ab00112e88a6c62d (patch)
tree827fde2cde515b262268eaa720b0f93631544d73 /chrome
parent72f69195721eb1ce249186f56d8ea14ebe254ba9 (diff)
downloadchromium_src-13d250c124f2bd55540161b4ab00112e88a6c62d.zip
chromium_src-13d250c124f2bd55540161b4ab00112e88a6c62d.tar.gz
chromium_src-13d250c124f2bd55540161b4ab00112e88a6c62d.tar.bz2
A trivial fix for localizing 'Bookmark bar' (folder name) in exported 'bookmarks.html' file.
BUG=6957 Review URL: http://codereview.chromium.org/46008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11746 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/bookmarks/bookmark_html_writer.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_html_writer.cc b/chrome/browser/bookmarks/bookmark_html_writer.cc
index b3ed5af..de4c4ad 100644
--- a/chrome/browser/bookmarks/bookmark_html_writer.cc
+++ b/chrome/browser/bookmarks/bookmark_html_writer.cc
@@ -15,6 +15,8 @@
#include "chrome/browser/bookmarks/bookmark_codec.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/history/history_types.h"
+#include "chrome/common/l10n_util.h"
+#include "grit/generated_resources.h"
#include "net/base/escape.h"
#include "net/base/file_stream.h"
#include "net/base/net_errors.h"
@@ -257,7 +259,7 @@ class Writer : public Task {
if (folder_type == history::StarredEntry::BOOKMARK_BAR) {
if (!Write(kBookmarkBar))
return false;
- title = L"Bookmark Bar";
+ title = l10n_util::GetString(IDS_BOOMARK_BAR_FOLDER_NAME);
} else if (!Write(kFolderAttributeEnd)) {
return false;
}