Update settings and report phrases.

This commit is contained in:
John Preston 2021-01-26 16:33:12 +04:00
parent 7da224d725
commit 61f6851486
2 changed files with 13 additions and 13 deletions

View File

@ -979,7 +979,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_report_bot_title" = "Report bot";
"lng_report_message_title" = "Report message";
"lng_report_reason_spam" = "Spam";
"lng_report_reason_fake" = "Fake";
"lng_report_reason_fake" = "Fake Account";
"lng_report_reason_violence" = "Violence";
"lng_report_reason_child_abuse" = "Child Abuse";
"lng_report_reason_pornography" = "Pornography";

View File

@ -629,18 +629,6 @@ void SetupNotificationsContent(
: tr::lng_settings_alert_linux)(tr::now),
settings.flashBounceNotify());
AddSkip(container, st::settingsCheckboxesSkip);
AddDivider(container);
AddSkip(container, st::settingsCheckboxesSkip);
AddSubsectionTitle(container, tr::lng_settings_badge_title());
const auto muted = addCheckbox(
tr::lng_settings_include_muted(tr::now),
settings.includeMutedCounter());
const auto count = addCheckbox(
tr::lng_settings_count_unread(tr::now),
settings.countUnreadMessages());
AddSkip(container, st::settingsCheckboxesSkip);
AddDivider(container);
AddSkip(container, st::settingsCheckboxesSkip);
@ -693,6 +681,18 @@ void SetupNotificationsContent(
Core::App().saveSettingsDelayed();
}, container->lifetime());
AddSkip(container, st::settingsCheckboxesSkip);
AddDivider(container);
AddSkip(container, st::settingsCheckboxesSkip);
AddSubsectionTitle(container, tr::lng_settings_badge_title());
const auto muted = addCheckbox(
tr::lng_settings_include_muted(tr::now),
settings.includeMutedCounter());
const auto count = addCheckbox(
tr::lng_settings_count_unread(tr::now),
settings.countUnreadMessages());
const auto nativeText = [&] {
if (!Platform::Notifications::Supported()
|| Platform::Notifications::Enforced()) {