mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Topic Auto-Close: admins and mods can set a topic to automatically close after a number of days
This commit is contained in:
@@ -32,6 +32,19 @@ en:
|
||||
now: "just now"
|
||||
read_more: 'read more'
|
||||
|
||||
in_n_seconds:
|
||||
one: "in 1 second"
|
||||
other: "in {{count}} seconds"
|
||||
in_n_minutes:
|
||||
one: "in 1 minute"
|
||||
other: "in {{count}} minutes"
|
||||
in_n_hours:
|
||||
one: "in 1 hour"
|
||||
other: "in {{count}} hours"
|
||||
in_n_days:
|
||||
one: "in 1 day"
|
||||
other: "in {{count}} days"
|
||||
|
||||
suggested_topics:
|
||||
title: "Suggested Topics"
|
||||
|
||||
@@ -370,6 +383,9 @@ en:
|
||||
help: "Markdown Editing Help"
|
||||
toggler: "hide or show the composer panel"
|
||||
|
||||
auto_close_label: "Auto-close topic after:"
|
||||
auto_close_units: "days"
|
||||
|
||||
notifications:
|
||||
title: "notifications of @name mentions, replies to your posts and topics, private messages, etc"
|
||||
none: "You have no notifications right now."
|
||||
@@ -479,6 +495,12 @@ en:
|
||||
jump_reply_down: jump to later reply
|
||||
deleted: "The topic has been deleted"
|
||||
|
||||
auto_close_notice: "This topic will close %{timeLeft}"
|
||||
auto_close_title: 'Auto-Close Settings'
|
||||
auto_close_save: "Save"
|
||||
auto_close_cancel: "Cancel"
|
||||
auto_close_remove: "Don't Auto-Close This Topic"
|
||||
|
||||
progress:
|
||||
title: topic progress
|
||||
jump_top: jump to first post
|
||||
@@ -516,6 +538,7 @@ en:
|
||||
delete: "Delete Topic"
|
||||
open: "Open Topic"
|
||||
close: "Close Topic"
|
||||
auto_close: "Auto Close"
|
||||
unpin: "Un-Pin Topic"
|
||||
pin: "Pin Topic"
|
||||
unarchive: "Unarchive Topic"
|
||||
|
||||
@@ -607,6 +607,11 @@ en:
|
||||
archived_disabled: "This topic is now unarchived. It is no longer frozen, and can be changed."
|
||||
closed_enabled: "This topic is now closed. New replies are no longer allowed."
|
||||
closed_disabled: "This topic is now opened. New replies are allowed."
|
||||
autoclosed_enabled:
|
||||
zero: "This topic was automatically closed after 1 day. New replies are no longer allowed."
|
||||
one: "This topic was automatically closed after 1 day. New replies are no longer allowed."
|
||||
other: "This topic was automatically closed after %{count} days. New replies are no longer allowed."
|
||||
autoclosed_disabled: "This topic is now opened. New replies are allowed."
|
||||
pinned_enabled: "This topic is now pinned. It will appear at the top of its category until it is either unpinned by a moderator, or the Clear Pin button is pressed."
|
||||
pinned_disabled: "This topic is now unpinned. It will no longer appear at the top of its category."
|
||||
visible_enabled: "This topic is now visible. It will be displayed in topic lists."
|
||||
|
||||
@@ -203,6 +203,7 @@ Discourse::Application.routes.draw do
|
||||
put 't/:topic_id/clear-pin' => 'topics#clear_pin', constraints: {topic_id: /\d+/}
|
||||
put 't/:topic_id/mute' => 'topics#mute', constraints: {topic_id: /\d+/}
|
||||
put 't/:topic_id/unmute' => 'topics#unmute', constraints: {topic_id: /\d+/}
|
||||
put 't/:topic_id/autoclose' => 'topics#autoclose', constraints: {topic_id: /\d+/}
|
||||
|
||||
get 't/:topic_id/:post_number' => 'topics#show', constraints: {topic_id: /\d+/, post_number: /\d+/}
|
||||
get 't/:slug/:topic_id.rss' => 'topics#feed', format: :rss, constraints: {topic_id: /\d+/}
|
||||
|
||||
Reference in New Issue
Block a user