Skip to content

A platform for community discussion. Free, open, simple.

UX: Add missing translation (#14592)

Gerhard Schlager76c9de2d04aa
diff --git a/app/assets/javascripts/discourse/app/templates/components/edit-topic-timer-form.hbs b/app/assets/javascripts/discourse/app/templates/components/edit-topic-timer-form.hbs
index c960e1a3a1f..6655b533f72 100644
--- a/app/assets/javascripts/discourse/app/templates/components/edit-topic-timer-form.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/edit-topic-timer-form.hbs
@@ -29,7 +29,7 @@
{{/if}}
{{#if useDuration}}
<div class="controls">
- <label class="control-label">Duration</label>
+ <label class="control-label">{{i18n "topic.topic_status_update.duration"}}</label>
{{relative-time-picker onChange=(action "durationChanged") durationMinutes=(readonly topicTimer.duration_minutes)}}
</div>
{{/if}}
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 044263b90c5..57c895b2557 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -2653,6 +2653,7 @@ en:
time_frame_required: "Please select a time frame"
min_duration: "Duration must be greater than 0"
max_duration: "Duration must be less than 20 years"
+ duration: "Duration"
auto_update_input:
none: "Select a timeframe"
now: "Now"
@@ -3932,8 +3933,6 @@ en:
no_group_messages_title: "No group messages found"
-
-
# This section is exported to the javascript for i18n in the admin section
admin_js:
type_to_filter: "type to filter..."