UX: tweak copy and position of tracking and new prefs

This commit is contained in:
Sam 2015-04-15 08:38:42 +10:00
parent 32e02411bd
commit 6a0cce8571
3 changed files with 7 additions and 6 deletions

View File

@ -67,7 +67,7 @@ export default ObjectController.extend(CanCheckEmails, {
{ name: I18n.t('user.email_digests.every_two_weeks'), value: 14 }],
autoTrackDurations: [{ name: I18n.t('user.auto_track_options.never'), value: -1 },
{ name: I18n.t('user.auto_track_options.always'), value: 0 },
{ name: I18n.t('user.auto_track_options.immediately'), value: 0 },
{ name: I18n.t('user.auto_track_options.after_n_seconds', { count: 30 }), value: 30000 },
{ name: I18n.t('user.auto_track_options.after_n_minutes', { count: 1 }), value: 60000 },
{ name: I18n.t('user.auto_track_options.after_n_minutes', { count: 2 }), value: 120000 },

View File

@ -197,16 +197,17 @@
<div class="control-group other">
<label class="control-label">{{i18n 'user.other_settings'}}</label>
<div class="controls controls-dropdown">
<label>{{i18n 'user.auto_track_topics'}}</label>
{{combo-box valueAttribute="value" content=autoTrackDurations value=auto_track_topics_after_msecs}}
</div>
<div class="controls controls-dropdown">
<label>{{i18n 'user.new_topic_duration.label'}}</label>
{{combo-box valueAttribute="value" content=considerNewTopicOptions value=new_topic_duration_minutes}}
</div>
<div class="controls controls-dropdown">
<label>{{i18n 'user.auto_track_topics'}}</label>
{{combo-box valueAttribute="value" content=autoTrackDurations value=auto_track_topics_after_msecs}}
</div>
{{preference-checkbox labelKey="user.external_links_in_new_tab" checked=external_links_in_new_tab}}
{{preference-checkbox labelKey="user.enable_quoting" checked=enable_quoting}}
{{preference-checkbox labelKey="user.dynamic_favicon" checked=dynamic_favicon}}

View File

@ -509,7 +509,7 @@ en:
auto_track_topics: "Automatically track topics I enter"
auto_track_options:
never: "never"
always: "always"
immediately: "immediately"
after_n_seconds:
one: "after 1 second"
other: "after {{count}} seconds"