From ccc0db8c881bf731e7b1dda1e96b828908d8f23f Mon Sep 17 00:00:00 2001 From: kurund Date: Mon, 7 Oct 2013 18:53:05 +0100 Subject: [PATCH] fixed wrong usage of ts(), CRM-13329 ---------------------------------------- * CRM-13329: Add 2 more rows to the Badge Layout form (for a total of 6 rows) http://issues.civicrm.org/jira/browse/CRM-13329 --- CRM/Core/BAO/LabelFormat.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Core/BAO/LabelFormat.php b/CRM/Core/BAO/LabelFormat.php index a238ae081d..b2fdccf6d7 100644 --- a/CRM/Core/BAO/LabelFormat.php +++ b/CRM/Core/BAO/LabelFormat.php @@ -195,8 +195,8 @@ class CRM_Core_BAO_LabelFormat extends CRM_Core_DAO_OptionValue { */ public static function getFontSizes() { $fontSizes = array(); - for ($i=6; $i<=60; $i++) { - $fontSizes[$i] = ts('%1 pt', $i); + for ($i = 6; $i <= 60; $i++) { + $fontSizes[$i] = ts('%1 pt', array(1 => $i)); } return $fontSizes; -- 2.25.1