mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-04 16:45:12 +00:00
Remove a couple of unused lang keys.
This commit is contained in:
@@ -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_proximity_reached" = "You are now within {distance} from {user}";
|
||||||
"lng_action_you_theme_changed" = "You changed chat theme to {emoji}";
|
"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" = "{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_you_theme_disabled" = "You disabled chat theme";
|
||||||
"lng_action_theme_disabled" = "{from} 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#one" = "{count} meter";
|
||||||
"lng_action_proximity_distance_m#other" = "{count} metres";
|
"lng_action_proximity_distance_m#other" = "{count} metres";
|
||||||
"lng_action_proximity_distance_km#one" = "{count} km";
|
"lng_action_proximity_distance_km#one" = "{count} km";
|
||||||
|
@@ -435,18 +435,14 @@ void HistoryService::setMessageByAction(const MTPmessageAction &action) {
|
|||||||
auto result = PreparedText{};
|
auto result = PreparedText{};
|
||||||
const auto text = qs(action.vemoticon());
|
const auto text = qs(action.vemoticon());
|
||||||
if (!text.isEmpty()) {
|
if (!text.isEmpty()) {
|
||||||
if (isPost()) {
|
if (_from->isSelf()) {
|
||||||
result.text = tr::lng_action_theme_changed_channel(tr::now, lt_emoji, text);
|
|
||||||
} else if (_from->isSelf()) {
|
|
||||||
result.text = tr::lng_action_you_theme_changed(tr::now, lt_emoji, text);
|
result.text = tr::lng_action_you_theme_changed(tr::now, lt_emoji, text);
|
||||||
} else {
|
} else {
|
||||||
result.links.push_back(fromLink());
|
result.links.push_back(fromLink());
|
||||||
result.text = tr::lng_action_theme_changed(tr::now, lt_from, fromLinkText(), lt_emoji, text);
|
result.text = tr::lng_action_theme_changed(tr::now, lt_from, fromLinkText(), lt_emoji, text);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (isPost()) {
|
if (_from->isSelf()) {
|
||||||
result.text = tr::lng_action_theme_disabled_channel(tr::now);
|
|
||||||
} else if (_from->isSelf()) {
|
|
||||||
result.text = tr::lng_action_you_theme_disabled(tr::now);
|
result.text = tr::lng_action_you_theme_disabled(tr::now);
|
||||||
} else {
|
} else {
|
||||||
result.links.push_back(fromLink());
|
result.links.push_back(fromLink());
|
||||||
|
Reference in New Issue
Block a user