0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00

renamed setting's copy to Max Topic Age

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-02-25 17:10:02 +05:30
Ursprung bc2cc85804
Commit 6754d744f0
3 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -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}}

Datei anzeigen

@ -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"

Datei anzeigen

@ -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)