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

Realtime UI translation in all fields and buttons.

This commit is contained in:
John Preston
2017-05-30 18:21:05 +03:00
parent 5fc4f4ed36
commit b94099e25b
80 changed files with 644 additions and 535 deletions

View File

@@ -230,7 +230,7 @@ void StickersBox::prepare() {
} else if (_section == Section::Archived) {
requestArchivedSets();
} else if (_section == Section::ArchivedPart) {
setTitle(lang(lng_stickers_archived));
setTitle(langFactory(lng_stickers_archived));
}
if (Global::ArchivedStickerSetsOrder().isEmpty()) {
preloadArchivedSets();
@@ -252,7 +252,7 @@ void StickersBox::prepare() {
_archived.widget()->setInstallSetCallback([this](uint64 setId) { installSet(setId); });
_archived.widget()->setLoadMoreCallback([this] { loadMoreArchived(); });
addButton(lang(lng_about_done), [this] { closeBox(); });
addButton(langFactory(lng_about_done), [this] { closeBox(); });
if (_section == Section::Installed) {
_tab = &_installed;