Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing ts #21711

Merged
merged 1 commit into from
Oct 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing ts
This list was hard-coded recently & the ts got missed
  • Loading branch information
eileenmcnaughton committed Oct 3, 2021
commit 86e56eb5769ad35832389fac06aac8323f1d47fa
20 changes: 10 additions & 10 deletions CRM/Core/SelectValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,16 +613,16 @@ public static function caseTokens($caseTypeId = NULL) {
static $tokens = NULL;
if (!$tokens) {
$tokens = [
'{case.id}' => 'Case ID',
'{case.case_type_id:label}' => 'Case Type',
'{case.subject}' => 'Case Subject',
'{case.start_date}' => 'Case Start Date',
'{case.end_date}' => 'Case End Date',
'{case.details}' => 'Details',
'{case.status_id:label}' => 'Case Status',
'{case.is_deleted:label}' => 'Case is in the Trash',
'{case.created_date}' => 'Created Date',
'{case.modified_date}' => 'Modified Date',
'{case.id}' => ts('Case ID'),
'{case.case_type_id:label}' => ts('Case Type'),
'{case.subject}' => ts('Case Subject'),
'{case.start_date}' => ts('Case Start Date'),
'{case.end_date}' => ts('Case End Date'),
'{case.details}' => ts('Details'),
'{case.status_id:label}' => ts('Case Status'),
'{case.is_deleted:label}' => ts('Case is in the Trash'),
'{case.created_date}' => ts('Created Date'),
'{case.modified_date}' => ts('Modified Date'),
];

$customFields = CRM_Core_BAO_CustomField::getFields('Case', FALSE, FALSE, $caseTypeId);
Expand Down