mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 21:12:45 +08:00
FEATURE: email digest frequency of every 3 days
This commit is contained in:
parent
f4a051c2c3
commit
0db89d20ee
|
@ -8,10 +8,11 @@ class DigestEmailSiteSetting < EnumSiteSetting
|
||||||
|
|
||||||
def self.values
|
def self.values
|
||||||
@values ||= [
|
@values ||= [
|
||||||
{name: 'never', value: '' },
|
{name: 'never', value: '' },
|
||||||
{name: 'daily', value: '1' },
|
{name: 'daily', value: '1' },
|
||||||
{name: 'weekly', value: '7' },
|
{name: 'every_three_days', value: '3' },
|
||||||
{name: 'every_two_weeks', value: '14' }
|
{name: 'weekly', value: '7' },
|
||||||
|
{name: 'every_two_weeks', value: '14' }
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -139,6 +139,7 @@ en:
|
||||||
daily: "daily"
|
daily: "daily"
|
||||||
weekly: "weekly"
|
weekly: "weekly"
|
||||||
every_two_weeks: "every two weeks"
|
every_two_weeks: "every two weeks"
|
||||||
|
every_three_days: "every three days"
|
||||||
max_of_count: "max of {{count}}"
|
max_of_count: "max of {{count}}"
|
||||||
character_count:
|
character_count:
|
||||||
one: "{{count}} character"
|
one: "{{count}} character"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user