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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 1714043003: Settings People Revamp: Change Picture Minor accessibility upgrades (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix closure compile Created 4 years, 10 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
« no previous file with comments | « chrome/browser/resources/settings/people_page/compiled_resources.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 html_source->AddLocalizedString("takePhoto", 503 html_source->AddLocalizedString("takePhoto",
504 IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO); 504 IDS_SETTINGS_CHANGE_PICTURE_TAKE_PHOTO);
505 html_source->AddLocalizedString("discardPhoto", 505 html_source->AddLocalizedString("discardPhoto",
506 IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO); 506 IDS_SETTINGS_CHANGE_PICTURE_DISCARD_PHOTO);
507 html_source->AddLocalizedString("flipPhoto", 507 html_source->AddLocalizedString("flipPhoto",
508 IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO); 508 IDS_SETTINGS_CHANGE_PICTURE_FLIP_PHOTO);
509 html_source->AddLocalizedString("chooseFile", 509 html_source->AddLocalizedString("chooseFile",
510 IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE); 510 IDS_SETTINGS_CHANGE_PICTURE_CHOOSE_FILE);
511 html_source->AddLocalizedString("profilePhoto", 511 html_source->AddLocalizedString("profilePhoto",
512 IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO); 512 IDS_SETTINGS_CHANGE_PICTURE_PROFILE_PHOTO);
513 html_source->AddLocalizedString("oldPhoto",
514 IDS_SETTINGS_CHANGE_PICTURE_OLD_PHOTO);
513 html_source->AddLocalizedString( 515 html_source->AddLocalizedString(
514 "profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO); 516 "profilePhotoLoading", IDS_SETTINGS_CHANGE_PICTURE_PROFILE_LOADING_PHOTO);
515 html_source->AddLocalizedString("previewAltText", 517 html_source->AddLocalizedString("previewAltText",
516 IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT); 518 IDS_SETTINGS_CHANGE_PICTURE_PREVIEW_ALT);
517 html_source->AddLocalizedString("authorCredit", 519 html_source->AddLocalizedString("authorCredit",
518 IDS_SETTINGS_CHANGE_PICTURE_AUTHOR_TEXT); 520 IDS_SETTINGS_CHANGE_PICTURE_AUTHOR_TEXT);
519 html_source->AddLocalizedString( 521 html_source->AddLocalizedString(
520 "photoFromCamera", IDS_SETTINGS_CHANGE_PICTURE_PHOTO_FROM_CAMERA); 522 "photoFromCamera", IDS_SETTINGS_CHANGE_PICTURE_PHOTO_FROM_CAMERA);
521 html_source->AddLocalizedString("photoFlippedAccessibleText", 523 html_source->AddLocalizedString("photoFlippedAccessibleText",
522 IDS_SETTINGS_PHOTO_FLIP_ACCESSIBLE_TEXT); 524 IDS_SETTINGS_PHOTO_FLIP_ACCESSIBLE_TEXT);
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 AddSiteSettingsStrings(html_source); 907 AddSiteSettingsStrings(html_source);
906 AddUsersStrings(html_source); 908 AddUsersStrings(html_source);
907 AddWebContentStrings(html_source); 909 AddWebContentStrings(html_source);
908 910
909 policy_indicator::AddLocalizedStrings(html_source); 911 policy_indicator::AddLocalizedStrings(html_source);
910 912
911 html_source->SetJsonPath(kLocalizedStringsFile); 913 html_source->SetJsonPath(kLocalizedStringsFile);
912 } 914 }
913 915
914 } // namespace settings 916 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/people_page/compiled_resources.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698