From e44f4299986d64607c06a546f63de9f2b085972b Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Wed, 6 Aug 2014 15:07:48 -0500 Subject: [PATCH] i18n: Fix bad call to sprintf() --- include/staff/templates/form-manage.tmpl.php | 2 +- include/staff/templates/org-profile.tmpl.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/staff/templates/form-manage.tmpl.php b/include/staff/templates/form-manage.tmpl.php index 677370205..6250edc24 100644 --- a/include/staff/templates/form-manage.tmpl.php +++ b/include/staff/templates/form-manage.tmpl.php @@ -1,4 +1,4 @@ -<h3><i class="icon-paste"></i> Manage Forms</i></h3> +<h3><i class="icon-paste"></i> <?php echo __('Manage Forms'); ?></i></h3> <b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b> <hr/><?php echo __( 'Sort the forms on this ticket by click and dragging on them. Use the box below the forms list to add new forms to the ticket.' diff --git a/include/staff/templates/org-profile.tmpl.php b/include/staff/templates/org-profile.tmpl.php index 5da85dfcf..800a0aad2 100644 --- a/include/staff/templates/org-profile.tmpl.php +++ b/include/staff/templates/org-profile.tmpl.php @@ -53,7 +53,7 @@ if ($ticket && $ticket->getOwnerId() == $user->getId()) echo __('None'); ?> —</option><?php if ($users=Staff::getAvailableStaffMembers()) { ?> <optgroup label="<?php - echo sprintf(__('Agents (%d)', count($users))); ?>"> + echo sprintf(__('Agents (%d)'), count($users)); ?>"> <?php foreach($users as $id => $name) { $k = "s$id"; echo sprintf('<option value="%s" %s>%s</option>', -- GitLab