diff --git a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp index 411f4b1e36..8b004eb6d0 100644 --- a/Telegram/SourceFiles/boxes/edit_privacy_box.cpp +++ b/Telegram/SourceFiles/boxes/edit_privacy_box.cpp @@ -478,15 +478,15 @@ auto PrivacyExceptionsBoxController::createRow(not_null history) const auto labels = raw->add(object_ptr(raw)); const auto min = Ui::CreateChild( raw, - QString::number(minValue), + Lang::FormatCountDecimal(minValue), *labelStyle); const auto max = Ui::CreateChild( raw, - QString::number(maxValue), + Lang::FormatCountDecimal(maxValue), *labelStyle); const auto current = Ui::CreateChild( raw, - QString::number(value), + Lang::FormatCountDecimal(value), *labelStyle); min->setTextColorOverride(st::windowSubTextFg->c); max->setTextColorOverride(st::windowSubTextFg->c); @@ -516,7 +516,7 @@ auto PrivacyExceptionsBoxController::createRow(not_null history) }; const auto updateByValue = [=](int value) { current->setText(value > 0 - ? tr::lng_action_gift_for_stars(tr::now, lt_count, value) + ? tr::lng_action_gift_for_stars(tr::now, lt_count_decimal, value) : tr::lng_manage_monoforum_free(tr::now)); state->index = 0;