Author: jablko
Date: Sun Oct 24 18:17:47 2010
New Revision: 8448
Log:
Update date field labels
Modified:
trunk/apps/qubit/modules/event/actions/editComponent.class.php
trunk/apps/qubit/modules/informationobject/templates/_event.php
trunk/apps/qubit/modules/relation/actions/editComponent.class.php
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Modified: trunk/apps/qubit/modules/event/actions/editComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/event/actions/editComponent.class.php Sun Oct
24 17:58:49 2010 (r8447)
+++ trunk/apps/qubit/modules/event/actions/editComponent.class.php Sun Oct
24 18:17:47 2010 (r8448)
@@ -28,6 +28,7 @@
$this->form->setWidget('dateDisplay', new sfWidgetFormInput);
$this->form->getWidgetSchema()->dateDisplay->setHelp($this->context->i18n->__('Enter
free-text information, including qualifiers or typographical symbols to
express uncertainty, to change the way the date displays. If this field is not
used, the default will be the start and end years only.'));
+
$this->form->getWidgetSchema()->dateDisplay->setLabel($this->context->i18n->__('Date
†'));
break;
@@ -36,6 +37,7 @@
$this->form->setWidget('endDate', new sfWidgetFormInput);
$this->form->getWidgetSchema()->endDate->setHelp($this->context->i18n->__('Enter
the end year. Do not use any qualifiers or typographical symbols to express
uncertainty. If the start and end years are the same, enter data only in the
"Date" field and leave the "End date" blank.'));
+
$this->form->getWidgetSchema()->endDate->setLabel($this->context->i18n->__('End
†'));
break;
@@ -44,6 +46,7 @@
$this->form->setWidget('startDate', new sfWidgetFormInput);
$this->form->getWidgetSchema()->startDate->setHelp($this->context->i18n->__('Enter
the start year. Do not use any qualifiers or typographical symbols to express
uncertainty.'));
+
$this->form->getWidgetSchema()->startDate->setLabel($this->context->i18n->__('Start
†'));
case 'type':
Modified: trunk/apps/qubit/modules/informationobject/templates/_event.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_event.php Sun Oct
24 17:58:49 2010 (r8447)
+++ trunk/apps/qubit/modules/informationobject/templates/_event.php Sun Oct
24 18:17:47 2010 (r8448)
@@ -145,9 +145,7 @@
->label(__('Date display (defaults to date range)'))
->renderLabel() ?>
</th><th>
- <?php echo $form->startDate
- ->label(__('Date'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th>
<?php echo $form->endDate->renderLabel() ?>
</th>
Modified: trunk/apps/qubit/modules/relation/actions/editComponent.class.php
==============================================================================
--- trunk/apps/qubit/modules/relation/actions/editComponent.class.php Sun Oct
24 17:58:49 2010 (r8447)
+++ trunk/apps/qubit/modules/relation/actions/editComponent.class.php Sun Oct
24 18:17:47 2010 (r8448)
@@ -28,6 +28,7 @@
$this->form->setWidget($name, new sfWidgetFormInput);
$this->form->getWidgetSchema()->dateDisplay->setHelp($this->context->i18n->__('"Record,
when relevant, the start and the end date of the relationship." (ISDF 6.3)
Enter the date as you would like it to appear in the show page for the
function, using qualifiers and/or typographical symbols to express uncertainty
if desired.'));
+
$this->form->getWidgetSchema()->dateDisplay->setLabel($this->context->i18n->__('Date
†'));
break;
@@ -36,6 +37,7 @@
$this->form->setWidget($name, new sfWidgetFormInput);
$this->form->getWidgetSchema()->endDate->setHelp($this->context->i18n->__('Enter
the end year. Do not use any qualifiers or typographical symbols to express
uncertainty. If the start and end years are the same, enter data only in the
"Date" field and leave the "End date" blank.'));
+
$this->form->getWidgetSchema()->endDate->setLabel($this->context->i18n->__('End
†'));
break;
@@ -44,6 +46,7 @@
$this->form->setWidget($name, new sfWidgetFormInput);
$this->form->getWidgetSchema()->startDate->setHelp($this->context->i18n->__('Enter
the start year. Do not use any qualifiers or typographical symbols to express
uncertainty.'));
+
$this->form->getWidgetSchema()->startDate->setLabel($this->context->i18n->__('Start
†'));
break;
Modified: trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Sun Oct 24 17:58:49 2010 (r8447)
+++ trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_event.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -157,17 +157,11 @@
</td>
</tr><tr>
<th style="width: 50%">
- <?php echo $form->dateDisplay
- ->label(__('Date display†'))
- ->renderLabel() ?>
+ <?php echo $form->dateDisplay->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->startDate
- ->label(__('Date†'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->endDate
- ->label(__('End date†'))
- ->renderLabel() ?>
+ <?php echo $form->endDate->renderLabel() ?>
</th>
</tr><tr>
<td style="width: 50%">
@@ -184,7 +178,7 @@
</td>
</tr><tr>
<td colspan="3">
- <?php echo __('%1% - dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
+ <?php echo __('%1% Dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
</td>
</tr>
</tbody>
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Sun Oct 24 17:58:49 2010 (r8447)
+++
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/_relatedAuthorityRecord.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -202,17 +202,11 @@
</td>
</tr><tr>
<th style="width: 50%">
- <?php echo $form->dateDisplay
- ->label(__('Date display†'))
- ->renderLabel() ?>
+ <?php echo $form->dateDisplay->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->startDate
- ->label(__('Date†'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->endDate
- ->label(__('End date†'))
- ->renderLabel() ?>
+ <?php echo $form->endDate->renderLabel() ?>
</th>
</tr><tr>
<td style="width: 50%">
@@ -229,7 +223,7 @@
</td>
</tr><tr>
<td colspan="3">
- <?php echo __('%1% - dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
+ <?php echo __('%1% Dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
</td>
</tr>
</tbody>
Modified: trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
Sun Oct 24 17:58:49 2010 (r8447)
+++ trunk/plugins/sfIsadPlugin/modules/sfIsadPlugin/templates/_event.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -11,11 +11,11 @@
<th style="width: 25%">
<?php echo __('Type') ?>
</th><th style="width: 30%">
- <?php echo __('Date display') ?>
- </th><th style="width: 20%">
<?php echo __('Date') ?>
</th><th style="width: 20%">
- <?php echo __('End date') ?>
+ <?php echo __('Start') ?>
+ </th><th style="width: 20%">
+ <?php echo __('End') ?>
</th><th style="width: 5%">
<?php echo image_tag('delete', array('align' => 'top', 'class' =>
'deleteIcon')) ?>
</th>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Sun Oct 24 17:58:49 2010 (r8447)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedAuthorityRecord.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -118,17 +118,11 @@
</td>
</tr><tr>
<th colspan="2" style="width: 50%">
- <?php echo $form->dateDisplay
- ->label(__('Date display†'))
- ->renderLabel() ?>
+ <?php echo $form->dateDisplay->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->startDate
- ->label(__('Date†'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->endDate
- ->label(__('End date†'))
- ->renderLabel() ?>
+ <?php echo $form->endDate->renderLabel() ?>
</th>
</tr><tr>
<td colspan="2" style="width: 50%">
@@ -143,7 +137,7 @@
</td>
</tr><tr>
<td colspan="4">
- <?php echo __('%1% - dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
+ <?php echo __('%1% Dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
</td>
</tr>
</tbody>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Sun Oct 24 17:58:49 2010 (r8447)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedFunction.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -203,17 +203,11 @@
</td>
</tr><tr>
<th colspan="2" style="width: 50%">
- <?php echo $form->dateDisplay
- ->label(__('Date display†'))
- ->renderLabel() ?>
+ <?php echo $form->dateDisplay->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->startDate
- ->label(__('Date†'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->endDate
- ->label(__('End date†'))
- ->renderLabel() ?>
+ <?php echo $form->endDate->renderLabel() ?>
</th>
</tr><tr>
<td colspan="2" style="width: 50%">
@@ -228,7 +222,7 @@
</td>
</tr><tr>
<td colspan="4">
- <?php echo __('%1% - dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
+ <?php echo __('%1% Dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
</td>
</tr>
</tbody>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
==============================================================================
---
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Sun Oct 24 17:58:49 2010 (r8447)
+++
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/_relatedResource.php
Sun Oct 24 18:17:47 2010 (r8448)
@@ -118,17 +118,11 @@
</td>
</tr><tr>
<th colspan="2" style="width: 50%">
- <?php echo $form->dateDisplay
- ->label(__('Date display†'))
- ->renderLabel() ?>
+ <?php echo $form->dateDisplay->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->startDate
- ->label(__('Date†'))
- ->renderLabel() ?>
+ <?php echo $form->startDate->renderLabel() ?>
</th><th style="width: 25%">
- <?php echo $form->endDate
- ->label(__('End date†'))
- ->renderLabel() ?>
+ <?php echo $form->endDate->renderLabel() ?>
</th>
</tr><tr>
<td colspan="2" style="width: 50%">
@@ -143,7 +137,7 @@
</td>
</tr><tr>
<td colspan="4">
- <?php echo __('%1% - dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
+ <?php echo __('%1% Dates must be specified in ISO-8601 format
(YYYY-MM-DD)', array('%1%' => '†'))?>
</td>
</tr>
</tbody>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.