FEATURE: use actual time in preference > email notifications' instruction

This commit is contained in:
Régis Hanol 2014-12-02 18:15:32 +01:00
parent 87667cfe17
commit 99928cac26
3 changed files with 8 additions and 3 deletions

View File

@ -181,7 +181,7 @@
{{preference-checkbox labelKey="user.email_always" checked=email_always}}
<div class='instructions'>
{{i18n user.email.frequency}}
{{i18n user.email.frequency count=siteSettings.email_time_window_mins}}
</div>
</div>

View File

@ -391,7 +391,10 @@ en:
ok: "We will email you to confirm"
invalid: "Please enter a valid email address"
authenticated: "Your email has been authenticated by {{provider}}"
frequency: "We'll only email you if we haven't seen you recently and you haven't read the thing we're emailing you about."
frequency:
zero: "We'll email you immediately if you haven't read the thing we're emailing you about."
one: "We'll only email you if we haven't seen you in the last minute and you haven't read the thing we're emailing you about."
other: "We'll only email you if we haven't seen you in the last {{count}} minutes and you haven't read the thing we're emailing you about."
name:
title: "Name"

View File

@ -391,7 +391,9 @@ posting:
type: list
email:
email_time_window_mins: 10
email_time_window_mins:
default: 10
client: true
email_posts_context: 5
digest_min_excerpt_length: 100
digest_topics: 20