From 1eba7e53d120e8801a43fa7878174914865fec8d Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 15 Nov 2014 20:15:00 -0500 Subject: [PATCH] CRM-15603 - Standardize 'None found' messages --- templates/CRM/Activity/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Campaign/Form/Search/Campaign.tpl | 2 +- templates/CRM/Campaign/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Campaign/Form/Search/Petition.tpl | 2 +- templates/CRM/Campaign/Form/Search/Survey.tpl | 2 +- templates/CRM/Campaign/Page/Campaign.tpl | 2 +- templates/CRM/Campaign/Page/Petition.tpl | 2 +- templates/CRM/Campaign/Page/Survey.tpl | 2 +- templates/CRM/Case/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Contact/Form/Search/Custom/EmptyResults.tpl | 2 +- templates/CRM/Contact/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Contribute/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Event/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Financial/Form/BatchTransaction.tpl | 2 +- templates/CRM/Grant/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Mailing/Page/Tab.tpl | 2 +- templates/CRM/Member/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Pledge/Form/Search/EmptyResults.tpl | 2 +- templates/CRM/Report/Form/ErrorMessage.tpl | 2 +- tests/phpunit/WebTest/Campaign/OfflineContributionTest.php | 2 +- tests/phpunit/WebTest/Campaign/OfflineEventRegistrationTest.php | 2 +- tests/phpunit/WebTest/Contact/AdvanceSearchPaneTest.php | 2 +- tests/phpunit/WebTest/Contact/PrivacyOptionSearchTest.php | 2 +- tests/phpunit/WebTest/Contact/SearchBuilderTest.php | 2 +- tests/phpunit/WebTest/Contact/SearchbyDateFilterTest.php | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/templates/CRM/Activity/Form/Search/EmptyResults.tpl b/templates/CRM/Activity/Form/Search/EmptyResults.tpl index 90cf294b66..bcdebe6e43 100644 --- a/templates/CRM/Activity/Form/Search/EmptyResults.tpl +++ b/templates/CRM/Activity/Form/Search/EmptyResults.tpl @@ -29,7 +29,7 @@ {if $qill}{ts}No matches found for:{/ts} {include file="CRM/common/displaySearchCriteria.tpl"} {else} - {ts}No matching activity results found.{/ts} + {ts}None found.{/ts} {/if}
{ts}Suggestions:{/ts} '; } crmBatchSelector1 = CRM.$('#crm-transaction-selector-assign-{/literal}{$entityID}{literal}').dataTable({ diff --git a/templates/CRM/Grant/Form/Search/EmptyResults.tpl b/templates/CRM/Grant/Form/Search/EmptyResults.tpl index 142b2059a4..c558a887d6 100644 --- a/templates/CRM/Grant/Form/Search/EmptyResults.tpl +++ b/templates/CRM/Grant/Form/Search/EmptyResults.tpl @@ -29,7 +29,7 @@ {if $qill}{ts}No matches found for:{/ts} {include file="CRM/common/displaySearchCriteria.tpl"} {else} - {ts}No matching memberships found.{/ts} + {ts}None found.{/ts} {/if}
{ts}Suggestions:{/ts} diff --git a/templates/CRM/Mailing/Page/Tab.tpl b/templates/CRM/Mailing/Page/Tab.tpl index 14a7a7a34c..e212176a3c 100644 --- a/templates/CRM/Mailing/Page/Tab.tpl +++ b/templates/CRM/Mailing/Page/Tab.tpl @@ -48,7 +48,7 @@ function buildMailingContact() { var sourceUrl = {/literal}'{crmURL p="civicrm/ajax/contactmailing" h=0 q="contact_id=$contactId"}'{literal}; - var ZeroRecordText = {/literal}'{ts escape="js"}No mailings found{/ts}.'{literal}; + var ZeroRecordText = {/literal}'{ts escape="js"}None found.{/ts}'{literal}; oTable = $('.contact-mailing-selector').dataTable({ "bFilter": false, diff --git a/templates/CRM/Member/Form/Search/EmptyResults.tpl b/templates/CRM/Member/Form/Search/EmptyResults.tpl index 31e5fc177e..7f0b89d491 100644 --- a/templates/CRM/Member/Form/Search/EmptyResults.tpl +++ b/templates/CRM/Member/Form/Search/EmptyResults.tpl @@ -29,7 +29,7 @@ {if $qill}{ts}No matches found for:{/ts} {include file="CRM/common/displaySearchCriteria.tpl"} {else} - {ts}No matching memberships found.{/ts} + {ts}None found.{/ts} {/if}
{ts}Suggestions:{/ts} diff --git a/templates/CRM/Pledge/Form/Search/EmptyResults.tpl b/templates/CRM/Pledge/Form/Search/EmptyResults.tpl index 896fccbdd0..c7b4125687 100644 --- a/templates/CRM/Pledge/Form/Search/EmptyResults.tpl +++ b/templates/CRM/Pledge/Form/Search/EmptyResults.tpl @@ -29,7 +29,7 @@ {if $qill}{ts}No matches found for:{/ts} {include file="CRM/common/displaySearchCriteria.tpl"} {else} - {ts}No matching pledge results found.{/ts} + {ts}None found.{/ts} {/if} {ts}Suggestions:{/ts}