Use a separate lang key for IV channel join button.

This commit is contained in:
John Preston 2024-03-14 10:55:21 +04:00
parent bf4b4ae936
commit d5b23b5bde
3 changed files with 3 additions and 2 deletions

View file

@ -999,7 +999,7 @@ section.channel > a > div.join:hover {
text-decoration: underline;
}
section.channel > a > div.join span:before {
content: var(--td-lng-group-call-join);
content: var(--td-lng-iv-join-channel);
}
section.channel > a > h4 {
font-family: var(--font-sans);

View file

@ -4869,6 +4869,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_iv_open_in_browser" = "Open in Browser";
"lng_iv_share" = "Share";
"lng_iv_join_channel" = "Join";
// Wnd specific

View file

@ -76,7 +76,7 @@ namespace {
{ "toast-fg", &st::toastFg },
};
static const auto phrases = base::flat_map<QByteArray, tr::phrase<>>{
{ "group-call-join", tr::lng_group_call_join },
{ "iv-join-channel", tr::lng_iv_join_channel },
};
static const auto serialize = [](const style::color *color) {
const auto qt = (*color)->c;