Skip to content

client: fix misleading "until tomorrow" label to "for 24 hours"#8381

Open
Gilmoursa wants to merge 1 commit into
AdguardTeam:masterfrom
Gilmoursa:fix/6944-disable-24h-label
Open

client: fix misleading "until tomorrow" label to "for 24 hours"#8381
Gilmoursa wants to merge 1 commit into
AdguardTeam:masterfrom
Gilmoursa:fix/6944-disable-24h-label

Conversation

@Gilmoursa

Copy link
Copy Markdown

The disable-protection option labelled "Until tomorrow" actually disables for exactly 24 hours (TOMORROW = 24 * 60 * 60 * 1000 ms), not until midnight the next day. This makes the label actively misleading — a user who clicks it at 11pm would expect 1 hour of downtime but gets 24.

This changes the two English source strings to match the actual behaviour, and is consistent with the "for N minutes/seconds" pattern already used by the other disable-timing labels.

Other locales are intentionally left unchanged — they should be updated through CrowdIn once the source strings are accepted.

Closes #6944

The disable-protection timing labelled "Until tomorrow" actually
disables for exactly 24 hours (TOMORROW = 24 * 60 * 60 * 1000 ms),
not until midnight the next day. Update the English source strings to
match the actual behaviour, consistent with the "for N minutes/seconds"
pattern used by the other disable-timing labels.

Closes AdguardTeam#6944
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable until tomorrow should be 24 hours

1 participant