mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Improve auto-delete settings phrase.
This commit is contained in:
@@ -1725,6 +1725,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_delete_for_me_hint#one" = "This will delete it just for you.";
|
||||
"lng_delete_for_me_hint#other" = "This will delete them just for you.";
|
||||
"lng_edit_auto_delete_settings" = "Edit Auto-Delete Settings";
|
||||
"lng_enable_auto_delete" = "Enable Auto-Delete";
|
||||
"lng_selected_unsend_about_user_one" = "You can also delete the message you sent from {user}'s inbox by checking \"Unsend my messages\".";
|
||||
"lng_selected_unsend_about_user#one" = "You can also delete the {count} message you sent from {user}'s inbox by checking \"Unsend my messages\".";
|
||||
"lng_selected_unsend_about_user#other" = "You can also delete the {count} messages you sent from {user}'s inbox by checking \"Unsend my messages\".";
|
||||
|
||||
@@ -675,7 +675,9 @@ void DeleteMessagesBox::prepare() {
|
||||
_wipeHistoryPeer->updateFull();
|
||||
_autoDeleteSettings.create(
|
||||
this,
|
||||
tr::lng_edit_auto_delete_settings(tr::now),
|
||||
(_wipeHistoryPeer->messagesTTL()
|
||||
? tr::lng_edit_auto_delete_settings(tr::now)
|
||||
: tr::lng_enable_auto_delete(tr::now)),
|
||||
st::boxLinkButton);
|
||||
_autoDeleteSettings->setClickedCallback([=] {
|
||||
getDelegate()->show(
|
||||
|
||||
Reference in New Issue
Block a user