mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 07:07:08 +02:00
Remove a couple of unused lang keys.
This commit is contained in:
parent
4e3f917a2c
commit
9f887237eb
2 changed files with 2 additions and 8 deletions
Telegram
|
@ -1254,10 +1254,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_action_you_proximity_reached" = "You are now within {distance} from {user}";
|
||||
"lng_action_you_theme_changed" = "You changed chat theme to {emoji}";
|
||||
"lng_action_theme_changed" = "{from} changed chat theme to {emoji}";
|
||||
"lng_action_theme_changed_channel" = "Channel theme changed to {emoji}";
|
||||
"lng_action_you_theme_disabled" = "You disabled chat theme";
|
||||
"lng_action_theme_disabled" = "{from} disabled chat theme";
|
||||
"lng_action_theme_disabled_channel" = "Channel theme disabled";
|
||||
"lng_action_proximity_distance_m#one" = "{count} meter";
|
||||
"lng_action_proximity_distance_m#other" = "{count} metres";
|
||||
"lng_action_proximity_distance_km#one" = "{count} km";
|
||||
|
|
|
@ -435,18 +435,14 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
|
|||
auto result = PreparedText{};
|
||||
const auto text = qs(action.vemoticon());
|
||||
if (!text.isEmpty()) {
|
||||
if (isPost()) {
|
||||
result.text = tr::lng_action_theme_changed_channel(tr::now, lt_emoji, text);
|
||||
} else if (_from->isSelf()) {
|
||||
if (_from->isSelf()) {
|
||||
result.text = tr::lng_action_you_theme_changed(tr::now, lt_emoji, text);
|
||||
} else {
|
||||
result.links.push_back(fromLink());
|
||||
result.text = tr::lng_action_theme_changed(tr::now, lt_from, fromLinkText(), lt_emoji, text);
|
||||
}
|
||||
} else {
|
||||
if (isPost()) {
|
||||
result.text = tr::lng_action_theme_disabled_channel(tr::now);
|
||||
} else if (_from->isSelf()) {
|
||||
if (_from->isSelf()) {
|
||||
result.text = tr::lng_action_you_theme_disabled(tr::now);
|
||||
} else {
|
||||
result.links.push_back(fromLink());
|
||||
|
|
Loading…
Add table
Reference in a new issue