mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed row name in table for credits history entries in earn box.
This commit is contained in:
parent
3f0b962ae5
commit
6818b8d8dc
2 changed files with 4 additions and 1 deletions
|
@ -2364,6 +2364,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_credits_summary_in_toast_about#one" = "**{count}** Star added to your balance.";
|
"lng_credits_summary_in_toast_about#one" = "**{count}** Star added to your balance.";
|
||||||
"lng_credits_summary_in_toast_about#other" = "**{count}** Stars added to your balance.";
|
"lng_credits_summary_in_toast_about#other" = "**{count}** Stars added to your balance.";
|
||||||
"lng_credits_box_history_entry_peer" = "Recipient";
|
"lng_credits_box_history_entry_peer" = "Recipient";
|
||||||
|
"lng_credits_box_history_entry_peer_in" = "From";
|
||||||
"lng_credits_box_history_entry_via" = "Via";
|
"lng_credits_box_history_entry_via" = "Via";
|
||||||
"lng_credits_box_history_entry_play_market" = "Play Market";
|
"lng_credits_box_history_entry_play_market" = "Play Market";
|
||||||
"lng_credits_box_history_entry_app_store" = "App Store";
|
"lng_credits_box_history_entry_app_store" = "App Store";
|
||||||
|
|
|
@ -1648,7 +1648,9 @@ void AddCreditsHistoryEntryTable(
|
||||||
st::giveawayGiftCodeTableMargin);
|
st::giveawayGiftCodeTableMargin);
|
||||||
const auto peerId = PeerId(entry.barePeerId);
|
const auto peerId = PeerId(entry.barePeerId);
|
||||||
if (peerId) {
|
if (peerId) {
|
||||||
auto text = tr::lng_credits_box_history_entry_peer();
|
auto text = entry.in
|
||||||
|
? tr::lng_credits_box_history_entry_peer_in()
|
||||||
|
: tr::lng_credits_box_history_entry_peer();
|
||||||
AddTableRow(table, std::move(text), controller, peerId);
|
AddTableRow(table, std::move(text), controller, peerId);
|
||||||
}
|
}
|
||||||
if (const auto msgId = MsgId(peerId ? entry.bareMsgId : 0)) {
|
if (const auto msgId = MsgId(peerId ? entry.bareMsgId : 0)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue