Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
renamed setting's copy to Max Topic Age
Dieser Commit ist enthalten in:
Ursprung
bc2cc85804
Commit
6754d744f0
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
<div class="validation-section">
|
||||
<div class="setting-label">
|
||||
<label>{{i18n 'admin.wizard.field.validations.time_after'}}</label>
|
||||
<label>{{i18n 'admin.wizard.field.validations.max_topic_age'}}</label>
|
||||
</div>
|
||||
<div class="setting-value">
|
||||
{{input type="number" class="time-n-value" value=props.time_n_value}}
|
||||
|
|
|
@ -184,7 +184,7 @@ en:
|
|||
above: "Above"
|
||||
below: "Below"
|
||||
categories: "Categories"
|
||||
time_after: "Time After"
|
||||
max_topic_age: "Max Topic Age"
|
||||
time_units:
|
||||
days: "Days"
|
||||
weeks: "Weeks"
|
||||
|
|
|
@ -30,7 +30,7 @@ describe ::CustomWizard::RealtimeValidation::SimilarTopics do
|
|||
expect(result.items.length).to eq(1)
|
||||
end
|
||||
|
||||
it "filters topics based on Time After setting" do
|
||||
it "filters topics based on Max Topic Age setting" do
|
||||
topic.update!(created_at: 23.hours.ago)
|
||||
cat_topic.update!(created_at: 2.days.ago)
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren