diff --git a/Telegram/Resources/langs/lang.strings b/Telegram/Resources/langs/lang.strings index 4fd2ddbba2..a4fe1d4106 100644 --- a/Telegram/Resources/langs/lang.strings +++ b/Telegram/Resources/langs/lang.strings @@ -1688,6 +1688,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL "lng_profile_set_photo_for_from_clipboard" = "Set From Clipboard"; "lng_profile_set_photo_for_about" = "You can replace {user}'s photo with another photo that only you will see."; "lng_profile_photo_reset" = "Reset to Original"; +"lng_profile_photo_reset_button" = "Reset"; "lng_profile_photo_reset_sure" = "Are you sure you want to reset {user}'s photo to the original?"; "lng_profile_photo_from_clipboard" = "From clipboard"; "lng_profile_suggest_sure" = "You can suggest {user} to set this photo for their Telegram profile."; diff --git a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp index eae56c342c..a55c575100 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_contact_box.cpp @@ -658,7 +658,7 @@ void Controller::setupPhotoButtons() { _window->session().api().peerPhoto().clearPersonal(_user); close(); }, - .confirmText = tr::lng_profile_photo_reset(tr::now), + .confirmText = tr::lng_profile_photo_reset_button(tr::now), })); });