From 4bb0b61eb252d1dab68f8ef67e2a5d307e54a019 Mon Sep 17 00:00:00 2001 From: Bradley Taylor Date: Sat, 6 Nov 2021 16:26:24 +0000 Subject: [PATCH] Tidy up title attributes Wrap text in {ts} as appropriate (for translation) Remove poorly worded or superflous title attributes --- templates/CRM/Activity/Form/Selector.tpl | 2 +- templates/CRM/Activity/Selector/Activity.tpl | 2 +- templates/CRM/Campaign/Form/Selector.tpl | 2 +- templates/CRM/Case/Form/Selector.tpl | 2 +- templates/CRM/Contact/Form/Selector.tpl | 2 +- templates/CRM/Contact/Page/Inline/Basic.tpl | 2 +- templates/CRM/Contribute/Form/Selector.tpl | 2 +- templates/CRM/Contribute/Page/DashBoard.tpl | 8 +-- templates/CRM/Custom/Form/Field.tpl | 8 +-- templates/CRM/Event/Form/Selector.tpl | 2 +- templates/CRM/Event/Page/ManageEvent.tpl | 6 +- templates/CRM/Grant/Form/Selector.tpl | 2 +- templates/CRM/Mailing/Form/Count.tpl | 2 +- templates/CRM/Mailing/Form/Selector.tpl | 2 +- templates/CRM/Member/Form/Selector.tpl | 2 +- templates/CRM/Member/Page/DashBoard.tpl | 64 ++++++++++---------- templates/CRM/PCP/Page/PCPInfo.tpl | 2 +- templates/CRM/Pledge/Form/Selector.tpl | 2 +- 18 files changed, 57 insertions(+), 57 deletions(-) diff --git a/templates/CRM/Activity/Form/Selector.tpl b/templates/CRM/Activity/Form/Selector.tpl index cdd6fb7a1f..1422fb1f6f 100644 --- a/templates/CRM/Activity/Form/Selector.tpl +++ b/templates/CRM/Activity/Form/Selector.tpl @@ -17,7 +17,7 @@ {if !$single and $context eq 'Search' } - {$form.toggleSelect.html} + {$form.toggleSelect.html} {/if} {foreach from=$columnHeaders item=header} diff --git a/templates/CRM/Activity/Selector/Activity.tpl b/templates/CRM/Activity/Selector/Activity.tpl index ce706a7c7a..803278b2a9 100644 --- a/templates/CRM/Activity/Selector/Activity.tpl +++ b/templates/CRM/Activity/Selector/Activity.tpl @@ -14,7 +14,7 @@

{ts}Activities{/ts}

{/if} {if $rows} -
+ {include file="CRM/common/pager.tpl" location="top"} {strip} diff --git a/templates/CRM/Campaign/Form/Selector.tpl b/templates/CRM/Campaign/Form/Selector.tpl index 42469fac27..0bafc8eef6 100644 --- a/templates/CRM/Campaign/Form/Selector.tpl +++ b/templates/CRM/Campaign/Form/Selector.tpl @@ -16,7 +16,7 @@ {if !$single and $context eq 'Search' } - {$form.toggleSelect.html} + {$form.toggleSelect.html} {/if} {foreach from=$columnHeaders item=header} diff --git a/templates/CRM/Case/Form/Selector.tpl b/templates/CRM/Case/Form/Selector.tpl index e84e64afbb..aabc90a7db 100644 --- a/templates/CRM/Case/Form/Selector.tpl +++ b/templates/CRM/Case/Form/Selector.tpl @@ -13,7 +13,7 @@ {if ! $single and $context eq 'Search' } - {$form.toggleSelect.html} + {$form.toggleSelect.html} {/if} diff --git a/templates/CRM/Contact/Form/Selector.tpl b/templates/CRM/Contact/Form/Selector.tpl index 68b9fcd39d..697af67f61 100644 --- a/templates/CRM/Contact/Form/Selector.tpl +++ b/templates/CRM/Contact/Form/Selector.tpl @@ -15,7 +15,7 @@ - + {if $context eq 'smog'} {if !$single and $context eq 'Search' } - + {/if} {if !$single} diff --git a/templates/CRM/Contribute/Page/DashBoard.tpl b/templates/CRM/Contribute/Page/DashBoard.tpl index 5dfc47df28..b89564b9b2 100644 --- a/templates/CRM/Contribute/Page/DashBoard.tpl +++ b/templates/CRM/Contribute/Page/DashBoard.tpl @@ -13,24 +13,24 @@ - + - + - + - +
{$form.toggleSelect.html}{$form.toggleSelect.html} {ts}Status{/ts} diff --git a/templates/CRM/Contact/Page/Inline/Basic.tpl b/templates/CRM/Contact/Page/Inline/Basic.tpl index 3b0bca9ee8..05ed9b2e77 100644 --- a/templates/CRM/Contact/Page/Inline/Basic.tpl +++ b/templates/CRM/Contact/Page/Inline/Basic.tpl @@ -28,7 +28,7 @@ {$contactId} {if !empty($userRecordUrl)} -  / {$userRecordId} {/if} diff --git a/templates/CRM/Contribute/Form/Selector.tpl b/templates/CRM/Contribute/Form/Selector.tpl index 5443e1f740..0ab49308eb 100644 --- a/templates/CRM/Contribute/Form/Selector.tpl +++ b/templates/CRM/Contribute/Form/Selector.tpl @@ -15,7 +15,7 @@
{$form.toggleSelect.html}{$form.toggleSelect.html}
{ts}Period{/ts} {ts}Total Amount{/ts}#
#
{ts}Current Month-To-Date{/ts} {if NOT $monthToDate.Valid.amount}{ts}(n/a){/ts}{else}{$monthToDate.Valid.amount}{/if} {$monthToDate.Valid.count}{ts}view details{/ts}...{ts}View details{/ts}...
{ts}Current Fiscal Year-To-Date{/ts} {if NOT $yearToDate.Valid.amount}{ts}(n/a){/ts}{else}{$yearToDate.Valid.amount}{/if} {$yearToDate.Valid.count}{ts}view details{/ts}...{ts}View details{/ts}...
{ts}Cumulative{/ts}
{ts}(since inception){/ts}
{if NOT $startToDate.Valid.amount}{ts}(n/a){/ts}{else}{$startToDate.Valid.amount}{/if} {$startToDate.Valid.count}{ts}view details{/ts}...{ts}View details{/ts}...
{elseif $buildChart} diff --git a/templates/CRM/Custom/Form/Field.tpl b/templates/CRM/Custom/Form/Field.tpl index df8cd053a5..2045c371ba 100644 --- a/templates/CRM/Custom/Form/Field.tpl +++ b/templates/CRM/Custom/Form/Field.tpl @@ -105,12 +105,12 @@ - {$form.default_value.label} - {$form.default_value.html} + {$form.default_value.label} + {$form.default_value.html} -   - {ts}If you want to provide a default value for this field, enter it here. For date fields, format is YYYY-MM-DD.{/ts} +   + {ts}If you want to provide a default value for this field, enter it here. For date fields, format is YYYY-MM-DD.{/ts} {$form.help_pre.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_custom_field' field='help_pre' id=$id}{/if} diff --git a/templates/CRM/Event/Form/Selector.tpl b/templates/CRM/Event/Form/Selector.tpl index 3505dc446c..a09a6d3567 100644 --- a/templates/CRM/Event/Form/Selector.tpl +++ b/templates/CRM/Event/Form/Selector.tpl @@ -16,7 +16,7 @@ {if ! $single and $context eq 'Search' } - {$form.toggleSelect.html} + {$form.toggleSelect.html} {/if} {foreach from=$columnHeaders item=header} diff --git a/templates/CRM/Event/Page/ManageEvent.tpl b/templates/CRM/Event/Page/ManageEvent.tpl index 099221a5af..f0dbdea85c 100644 --- a/templates/CRM/Event/Page/ManageEvent.tpl +++ b/templates/CRM/Event/Page/ManageEvent.tpl @@ -94,14 +94,14 @@