Normalize case of the due date title across the code

This commit is contained in:
Simon Holywell 2012-03-08 16:50:40 +00:00
parent 214d035d12
commit e0da21cbf8
5 changed files with 5 additions and 4 deletions

View File

@ -114,7 +114,7 @@ class IDF_Form_IssueCreate extends Pluf_Form
));
$this->fields['due_dtime'] = new Pluf_Form_Field_Datetime(
array('required' => false,
'label' => __('Due Date'),
'label' => __('Due date'),
'initial' => '',
'widget_attrs' => array('size' => 15,),
));

View File

@ -105,7 +105,7 @@ class IDF_Form_IssueUpdate extends IDF_Form_IssueCreate
));
$this->fields['due_dtime'] = new Pluf_Form_Field_Datetime(
array('required' => false,
'label' => __('Due Date'),
'label' => __('Due date'),
'initial' => $this->issue->due_dtime,
'widget_attrs' => array('size' => 15,),
));

View File

@ -95,6 +95,7 @@ class IDF_Issue extends Pluf_Model
array(
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'is_null' => true,
'verbose' => __('due date'),
),
'status' =>

View File

@ -154,7 +154,7 @@ class IDF_IssueComment extends Pluf_Model
case 'ow':
$out .= __('Owner:'); break;
case 'du':
$out .= __('Due Date:'); break;
$out .= __('Due date:'); break;
case 'lb':
$out .= __('Labels:'); break;
case 'rel':

View File

@ -40,7 +40,7 @@
{if $i> 0 and $c.changedIssue()}
<div class="issue-changes">
{foreach $c.changes as $w => $v}
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'du'}{trans 'Due Date:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}{if $w == 'rel'}{trans 'Relations:'}{/if}</strong>
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'du'}{trans 'Due date:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}{if $w == 'rel'}{trans 'Relations:'}{/if}</strong>
{if $w == 'lb' or $w == 'rel'}
{foreach $v as $t => $ls}
{foreach $ls as $l}