From b360d4289e73f64672913964fae8d7d9824dc7f8 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 3 Apr 2019 10:09:25 +0200 Subject: [PATCH] UX: get rid of preview_for (#7314) --- .../templates/components/discourse-local-dates-create-form.hbs | 2 +- plugins/discourse-local-dates/config/locales/client.en.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 7855d3c80ad..61f029f5af1 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 @@ {{else}}
- {{i18n "discourse_local_dates.create.form.preview_for" timezone=currentUserTimezone}} + {{currentUserTimezone}}: {{currentPreview}}
{{/unless}} diff --git a/plugins/discourse-local-dates/config/locales/client.en.yml b/plugins/discourse-local-dates/config/locales/client.en.yml index 7d1dddb9ba1..5d5fa422dc4 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"