Improve couple of phrases.

This commit is contained in:
John Preston 2025-04-05 00:06:31 +05:00
parent c972485555
commit 783c5c12e9
3 changed files with 4 additions and 2 deletions

View file

@ -4766,6 +4766,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_group_call_muted_by_me_status" = "muted for you"; "lng_group_call_muted_by_me_status" = "muted for you";
"lng_group_call_invite_title" = "Invite members"; "lng_group_call_invite_title" = "Invite members";
"lng_group_call_invite_button" = "Invite"; "lng_group_call_invite_button" = "Invite";
"lng_group_call_confcall_add" = "Call";
"lng_group_call_add_to_group_one" = "{user} isn't a member of «{group}». Add them to the group?"; "lng_group_call_add_to_group_one" = "{user} isn't a member of «{group}». Add them to the group?";
"lng_group_call_add_to_group_some" = "Some of those users aren't members of «{group}». Add them to the group?"; "lng_group_call_add_to_group_some" = "Some of those users aren't members of «{group}». Add them to the group?";
"lng_group_call_add_to_group_all" = "Those users aren't members of «{group}». Add them to the group?"; "lng_group_call_add_to_group_all" = "Those users aren't members of «{group}». Add them to the group?";
@ -4932,6 +4933,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_confcall_create_link_description" = "You can create a link that will allow your friends on Telegram to join the call."; "lng_confcall_create_link_description" = "You can create a link that will allow your friends on Telegram to join the call.";
"lng_confcall_link_revoke" = "Revoke link"; "lng_confcall_link_revoke" = "Revoke link";
"lng_confcall_link_revoked_title" = "Link Revoked"; "lng_confcall_link_revoked_title" = "Link Revoked";
"lng_confcall_link_inactive" = "This link is no longer active.";
"lng_confcall_link_revoked_text" = "A new link has been generated."; "lng_confcall_link_revoked_text" = "A new link has been generated.";
"lng_confcall_link_title" = "Call Link"; "lng_confcall_link_title" = "Call Link";
"lng_confcall_link_about" = "Anyone on Telegram can join your call by following the link below."; "lng_confcall_link_about" = "Anyone on Telegram can join your call by following the link below.";

View file

@ -504,7 +504,7 @@ object_ptr<Ui::BoxContent> PrepareInviteBox(
raw->hasSelectedValue() | rpl::start_with_next([=](bool has) { raw->hasSelectedValue() | rpl::start_with_next([=](bool has) {
box->clearButtons(); box->clearButtons();
if (has) { if (has) {
box->addButton(tr::lng_group_call_invite_button(), [=] { box->addButton(tr::lng_group_call_confcall_add(), [=] {
const auto call = weak.get(); const auto call = weak.get();
if (!call) { if (!call) {
return; return;

View file

@ -902,7 +902,7 @@ void SessionNavigation::resolveConferenceCall(
_conferenceCallRequestId = 0; _conferenceCallRequestId = 0;
_conferenceCallSlug = QString(); _conferenceCallSlug = QString();
_conferenceCallResolveContextId = FullMsgId(); _conferenceCallResolveContextId = FullMsgId();
showToast(tr::lng_group_invite_bad_link(tr::now)); showToast(tr::lng_confcall_link_inactive(tr::now));
}).send(); }).send();
} }