Use a separate lang key for reset photo button.

This commit is contained in:
John Preston
2025-11-20 14:14:08 +04:00
parent 233f6ed13b
commit 4f5007ea64
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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.";
@@ -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),
}));
});