mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Update settings and report phrases.
This commit is contained in:
parent
7da224d725
commit
61f6851486
2 changed files with 13 additions and 13 deletions
|
@ -979,7 +979,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||||
"lng_report_bot_title" = "Report bot";
|
"lng_report_bot_title" = "Report bot";
|
||||||
"lng_report_message_title" = "Report message";
|
"lng_report_message_title" = "Report message";
|
||||||
"lng_report_reason_spam" = "Spam";
|
"lng_report_reason_spam" = "Spam";
|
||||||
"lng_report_reason_fake" = "Fake";
|
"lng_report_reason_fake" = "Fake Account";
|
||||||
"lng_report_reason_violence" = "Violence";
|
"lng_report_reason_violence" = "Violence";
|
||||||
"lng_report_reason_child_abuse" = "Child Abuse";
|
"lng_report_reason_child_abuse" = "Child Abuse";
|
||||||
"lng_report_reason_pornography" = "Pornography";
|
"lng_report_reason_pornography" = "Pornography";
|
||||||
|
|
|
@ -629,18 +629,6 @@ void SetupNotificationsContent(
|
||||||
: tr::lng_settings_alert_linux)(tr::now),
|
: tr::lng_settings_alert_linux)(tr::now),
|
||||||
settings.flashBounceNotify());
|
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);
|
AddSkip(container, st::settingsCheckboxesSkip);
|
||||||
AddDivider(container);
|
AddDivider(container);
|
||||||
AddSkip(container, st::settingsCheckboxesSkip);
|
AddSkip(container, st::settingsCheckboxesSkip);
|
||||||
|
@ -693,6 +681,18 @@ void SetupNotificationsContent(
|
||||||
Core::App().saveSettingsDelayed();
|
Core::App().saveSettingsDelayed();
|
||||||
}, container->lifetime());
|
}, 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 = [&] {
|
const auto nativeText = [&] {
|
||||||
if (!Platform::Notifications::Supported()
|
if (!Platform::Notifications::Supported()
|
||||||
|| Platform::Notifications::Enforced()) {
|
|| Platform::Notifications::Enforced()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue