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

Side by Side Diff: chrome/browser/extensions/extension_bookmark_manager_api.cc

Issue 7744055: bookmarks: Fix an obvious typo in IDS_BOOMARK_*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extension_bookmark_manager_api.h" 5 #include "chrome/browser/extensions/extension_bookmark_manager_api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/string_number_conversions.h" 10 #include "base/string_number_conversions.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_IMPORT_MENU)); 309 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_IMPORT_MENU));
310 localized_strings->SetString("export_menu", 310 localized_strings->SetString("export_menu",
311 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_EXPORT_MENU)); 311 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_EXPORT_MENU));
312 localized_strings->SetString("rename_folder", 312 localized_strings->SetString("rename_folder",
313 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_RENAME_FOLDER)); 313 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_RENAME_FOLDER));
314 localized_strings->SetString("edit", 314 localized_strings->SetString("edit",
315 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_EDIT)); 315 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_EDIT));
316 localized_strings->SetString("should_open_all", 316 localized_strings->SetString("should_open_all",
317 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_SHOULD_OPEN_ALL)); 317 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_SHOULD_OPEN_ALL));
318 localized_strings->SetString("open_incognito", 318 localized_strings->SetString("open_incognito",
319 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_INCOGNITO)); 319 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_INCOGNITO));
320 localized_strings->SetString("open_in_new_tab", 320 localized_strings->SetString("open_in_new_tab",
321 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_IN_NEW_TAB)); 321 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_IN_NEW_TAB));
322 localized_strings->SetString("open_in_new_window", 322 localized_strings->SetString("open_in_new_window",
323 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_IN_NEW_WINDOW)); 323 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_IN_NEW_WINDOW));
324 localized_strings->SetString("add_new_bookmark", 324 localized_strings->SetString("add_new_bookmark",
325 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_ADD_NEW_BOOKMARK)); 325 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_ADD_NEW_BOOKMARK));
326 localized_strings->SetString("new_folder", 326 localized_strings->SetString("new_folder",
327 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_NEW_FOLDER)); 327 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_NEW_FOLDER));
328 localized_strings->SetString("open_all", 328 localized_strings->SetString("open_all",
329 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_ALL)); 329 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_ALL));
330 localized_strings->SetString("open_all_new_window", 330 localized_strings->SetString("open_all_new_window",
331 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_ALL_NEW_WINDOW)); 331 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_ALL_NEW_WINDOW));
332 localized_strings->SetString("open_all_incognito", 332 localized_strings->SetString("open_all_incognito",
333 l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_OPEN_ALL_INCOGNITO)); 333 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_OPEN_ALL_INCOGNITO));
334 localized_strings->SetString("remove", 334 localized_strings->SetString("remove",
335 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_REMOVE)); 335 l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_REMOVE));
336 localized_strings->SetString("copy", 336 localized_strings->SetString("copy",
337 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_COPY)); 337 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_COPY));
338 localized_strings->SetString("cut", 338 localized_strings->SetString("cut",
339 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_CUT)); 339 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_CUT));
340 localized_strings->SetString("paste", 340 localized_strings->SetString("paste",
341 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PASTE)); 341 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PASTE));
342 localized_strings->SetString("delete", 342 localized_strings->SetString("delete",
343 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_DELETE)); 343 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_DELETE));
344 localized_strings->SetString("new_folder_name", 344 localized_strings->SetString("new_folder_name",
345 l10n_util::GetStringUTF16(IDS_BOOMARK_EDITOR_NEW_FOLDER_NAME)); 345 l10n_util::GetStringUTF16(IDS_BOOKMARK_EDITOR_NEW_FOLDER_NAME));
346 localized_strings->SetString("name_input_placeholder", 346 localized_strings->SetString("name_input_placeholder",
347 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_NAME_INPUT_PLACE_HOLDER)); 347 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_NAME_INPUT_PLACE_HOLDER));
348 localized_strings->SetString("url_input_placeholder", 348 localized_strings->SetString("url_input_placeholder",
349 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_URL_INPUT_PLACE_HOLDER)); 349 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_URL_INPUT_PLACE_HOLDER));
350 localized_strings->SetString("invalid_url", 350 localized_strings->SetString("invalid_url",
351 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_INVALID_URL)); 351 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_INVALID_URL));
352 localized_strings->SetString("recent", 352 localized_strings->SetString("recent",
353 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_RECENT)); 353 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_RECENT));
354 localized_strings->SetString("search", 354 localized_strings->SetString("search",
355 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SEARCH)); 355 l10n_util::GetStringUTF16(IDS_BOOKMARK_MANAGER_SEARCH));
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 } 472 }
473 result_.reset(json.release()); 473 result_.reset(json.release());
474 return true; 474 return true;
475 } 475 }
476 476
477 bool CanEditBookmarkManagerFunction::RunImpl() { 477 bool CanEditBookmarkManagerFunction::RunImpl() {
478 result_.reset(Value::CreateBooleanValue( 478 result_.reset(Value::CreateBooleanValue(
479 profile_->GetPrefs()->GetBoolean(prefs::kEditBookmarksEnabled))); 479 profile_->GetPrefs()->GetBoolean(prefs::kEditBookmarksEnabled)));
480 return true; 480 return true;
481 } 481 }
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/recently_used_folders_combo_model.cc ('k') | chrome/browser/importer/profile_import_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698