Skip to content
Snippets Groups Projects
Commit e44f4299 authored by Jared Hancock's avatar Jared Hancock
Browse files

i18n: Fix bad call to sprintf()

parent 1868e53b
No related branches found
No related tags found
No related merge requests found
<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> <b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b>
<hr/><?php echo __( <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.' '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.'
......
...@@ -53,7 +53,7 @@ if ($ticket && $ticket->getOwnerId() == $user->getId()) ...@@ -53,7 +53,7 @@ if ($ticket && $ticket->getOwnerId() == $user->getId())
echo __('None'); ?> &mdash;</option><?php echo __('None'); ?> &mdash;</option><?php
if ($users=Staff::getAvailableStaffMembers()) { ?> if ($users=Staff::getAvailableStaffMembers()) { ?>
<optgroup label="<?php <optgroup label="<?php
echo sprintf(__('Agents (%d)', count($users))); ?>"> echo sprintf(__('Agents (%d)'), count($users)); ?>">
<?php foreach($users as $id => $name) { <?php foreach($users as $id => $name) {
$k = "s$id"; $k = "s$id";
echo sprintf('<option value="%s" %s>%s</option>', echo sprintf('<option value="%s" %s>%s</option>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment