Add combo box label when no user timezone is set

Add combo box label when no user timezone is set

diff --git a/assets/javascripts/templates/connectors/user-custom-preferences/user-timezone.hbs b/assets/javascripts/templates/connectors/user-custom-preferences/user-timezone.hbs
index d7ab7a9..724bec1 100644
--- a/assets/javascripts/templates/connectors/user-custom-preferences/user-timezone.hbs
+++ b/assets/javascripts/templates/connectors/user-custom-preferences/user-timezone.hbs
@@ -1,7 +1,7 @@
 <div class="control-group">
   <label class="control-label">{{i18n 'discourse_calendar.timezone.title'}}</label>
   <div class="controls">
-    {{combo-box content=allTimezones value=userTimezone class="user-timezone"}}
+    {{combo-box content=allTimezones value=userTimezone class="user-timezone" none="discourse_calendar.timezone.none"}}
   </div>
   {{#if instructions}}
     <div class="instructions">
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 7ca1a00..8005b45 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -5,3 +5,4 @@ en:
       timezone:
         title: "Timezone"
         instructions: "Your current timezone is %{timezone}."
+        none: "Select a timezone..."

GitHub sha: 3d2bd02b

1 Like