mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
FEATURE: add a 14 days window to consider topics new
This commit is contained in:
parent
714a40313d
commit
01cd63fff7
|
@ -43,6 +43,7 @@ Discourse.PreferencesController = Discourse.ObjectController.extend({
|
|||
{ name: I18n.t('user.new_topic_duration.after_n_days', { count: 1 }), value: 60 * 24 },
|
||||
{ name: I18n.t('user.new_topic_duration.after_n_days', { count: 2 }), value: 60 * 48 },
|
||||
{ name: I18n.t('user.new_topic_duration.after_n_weeks', { count: 1 }), value: 7 * 60 * 24 },
|
||||
{ name: I18n.t('user.new_topic_duration.after_n_weeks', { count: 2 }), value: 2 * 7 * 60 * 24 },
|
||||
{ name: I18n.t('user.new_topic_duration.last_here'), value: -2 }],
|
||||
|
||||
saveButtonText: function() {
|
||||
|
@ -52,8 +53,7 @@ Discourse.PreferencesController = Discourse.ObjectController.extend({
|
|||
actions: {
|
||||
save: function() {
|
||||
var self = this;
|
||||
this.set('saving', true);
|
||||
this.set('saved', false);
|
||||
this.setProperties({ saving: true, saved: false });
|
||||
|
||||
// Cook the bio for preview
|
||||
var model = this.get('model');
|
||||
|
|
|
@ -332,7 +332,7 @@ en:
|
|||
other: "they were posted in the last {{count}} days"
|
||||
after_n_weeks:
|
||||
one: "they were posted in the last week"
|
||||
other: "they were posted in the last {{count}} week"
|
||||
other: "they were posted in the last {{count}} weeks"
|
||||
|
||||
auto_track_topics: "Automatically track topics I enter"
|
||||
auto_track_options:
|
||||
|
|
Loading…
Reference in New Issue
Block a user