Use a separate lang key for IV channel join button.
This commit is contained in:
parent
bf4b4ae936
commit
d5b23b5bde
3 changed files with 3 additions and 2 deletions
|
@ -999,7 +999,7 @@ section.channel > a > div.join:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
section.channel > a > div.join span:before {
|
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 {
|
section.channel > a > h4 {
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-sans);
|
||||||
|
|
|
@ -4869,6 +4869,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
|
|
||||||
"lng_iv_open_in_browser" = "Open in Browser";
|
"lng_iv_open_in_browser" = "Open in Browser";
|
||||||
"lng_iv_share" = "Share";
|
"lng_iv_share" = "Share";
|
||||||
|
"lng_iv_join_channel" = "Join";
|
||||||
|
|
||||||
// Wnd specific
|
// Wnd specific
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ namespace {
|
||||||
{ "toast-fg", &st::toastFg },
|
{ "toast-fg", &st::toastFg },
|
||||||
};
|
};
|
||||||
static const auto phrases = base::flat_map<QByteArray, tr::phrase<>>{
|
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) {
|
static const auto serialize = [](const style::color *color) {
|
||||||
const auto qt = (*color)->c;
|
const auto qt = (*color)->c;
|
||||||
|
|
Loading…
Reference in a new issue