UX: get rid of preview_for (#7314)

UX: get rid of preview_for (#7314)

diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs b/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs
index 7855d3c..61f029f 100644
--- a/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs
+++ b/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs
@@ -10,7 +10,7 @@
       </div>
     {{else}}
       <div class="preview alert alert-info">
-        <b>{{i18n "discourse_local_dates.create.form.preview_for" timezone=currentUserTimezone}}</b>
+        <b>{{currentUserTimezone}}: </b>
         {{currentPreview}}
       </div>
     {{/unless}}
diff --git a/plugins/discourse-local-dates/config/locales/client.en.yml b/plugins/discourse-local-dates/config/locales/client.en.yml
index 7d1dddb..5d5fa42 100644
--- a/plugins/discourse-local-dates/config/locales/client.en.yml
+++ b/plugins/discourse-local-dates/config/locales/client.en.yml
@@ -23,7 +23,6 @@ en:
           time_title: Time
           format_title: Date format
           timezone: Timezone
-          preview_for: Preview for %{timezone}
           recurring:
             every_day: "Every day"
             every_week: "Every week"

GitHub sha: b360d428

1 Like