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}}
<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>
{{radio-button
@ -20,7 +26,14 @@
selection=selection}}
<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>
</div>

View File

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