Improve sticker set download phrase.

This commit is contained in:
John Preston 2019-01-07 11:09:42 +04:00
parent 9bbdccc111
commit 2773a675d0
2 changed files with 2 additions and 1 deletions

View File

@ -1037,6 +1037,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_emoji_manage_sets" = "Choose emoji set";
"lng_emoji_set_ready" = "Downloaded";
"lng_emoji_set_active" = "Current set";
"lng_emoji_set_download" = "Download {size}";
"lng_emoji_set_loading" = "{percent}, {progress}";
"lng_recent_stickers" = "Frequently used";

View File

@ -168,7 +168,7 @@ SetState ComputeState(int id) {
QString StateDescription(const SetState &state) {
return state.match([](const Available &data) {
return formatSizeText(data.size);
return lng_emoji_set_download(lt_size, formatSizeText(data.size));
}, [](const Ready &data) -> QString {
return lang(lng_emoji_set_ready);
}, [](const Active &data) -> QString {