OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |