2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Use tr:: instead of lang().

This commit is contained in:
John Preston
2019-06-19 17:09:03 +02:00
parent d3ca6b96a1
commit 87fc066e67
168 changed files with 1905 additions and 1744 deletions

View File

@@ -253,7 +253,7 @@ void StatusText::update(int newSize, int fullSize, int duration, crl::time realD
} else if (_size == FileStatusSizeLoaded) {
_text = (duration >= 0) ? formatDurationText(duration) : (duration < -1 ? qsl("GIF") : formatSizeText(fullSize));
} else if (_size == FileStatusSizeFailed) {
_text = lang(lng_attach_failed);
_text = tr::lng_attach_failed(tr::now);
} else if (_size >= 0) {
_text = formatDownloadText(_size, fullSize);
} else {