UX: Update copy for topic status update UI.

This commit is contained in:
Guo Xiang Tan
2017-03-31 12:06:55 +08:00
parent beba481bc8
commit 2fa82ba4ff
2 changed files with 19 additions and 2 deletions

View File

@ -9,7 +9,13 @@
selection=selection}} selection=selection}}
<label class="radio" for="auto-close"> <label class="radio" for="auto-close">
{{fa-icon "clock-o"}} {{fa-icon "lock"}} {{i18n 'topic.auto_close.title'}} {{fa-icon "clock-o"}} {{fa-icon "lock"}}
{{#if model.closed}}
{{i18n 'topic.temp_open.title'}}
{{else}}
{{i18n 'topic.auto_close.title'}}
{{/if}}
</label> </label>
{{radio-button {{radio-button
@ -20,7 +26,14 @@
selection=selection}} selection=selection}}
<label class="radio" for="auto-reopen"> <label class="radio" for="auto-reopen">
{{fa-icon "clock-o"}} {{fa-icon "unlock"}} {{i18n 'topic.auto_reopen.title'}} {{fa-icon "clock-o"}} {{fa-icon "unlock"}}
{{#if model.closed}}
{{i18n 'topic.auto_reopen.title'}}
{{else}}
{{i18n 'topic.temp_close.title'}}
{{/if}}
</label> </label>
</div> </div>

View File

@ -1481,8 +1481,12 @@ en:
all: all:
units: "" units: ""
examples: 'Enter number of hours (24), absolute time (17:30) or timestamp (2013-11-22 14:00).' examples: 'Enter number of hours (24), absolute time (17:30) or timestamp (2013-11-22 14:00).'
temp_open:
title: "Open Temporarily"
auto_reopen: auto_reopen:
title: "Auto-open Topic" title: "Auto-open Topic"
temp_close:
title: "Close Temporarily"
auto_close: auto_close:
title: "Auto-Close Topic" title: "Auto-Close Topic"
label: "Auto-close topic time:" label: "Auto-close topic time:"