diff --git a/include/class.nav.php b/include/class.nav.php index 4a17cf701c4dd72328b84c05d2caaf3d34c21184..644a00f6ca2fbbe7811d12d40e50daa019dc51b9 100644 --- a/include/class.nav.php +++ b/include/class.nav.php @@ -129,7 +129,7 @@ class StaffNav { if($staff->canCreateTickets()) $subnav[]=array('desc'=>__('New Ticket'), - 'title' => __('Open New Ticket'), + 'title' => __('Open a New Ticket'), 'href'=>'tickets.php?a=open', 'iconclass'=>'newTicket', 'id' => 'new-ticket', @@ -314,7 +314,7 @@ class UserNav { // possible for web clients. if ($cfg->getClientRegistrationMode() != 'disabled' || !$cfg->isClientLoginRequired()) - $navs['new']=array('desc'=>__('Open New Ticket'),'href'=>'open.php','title'=>''); + $navs['new']=array('desc'=>__('Open a New Ticket'),'href'=>'open.php','title'=>''); if($user && $user->isValid()) { if(!$user->isGuest()) { $navs['tickets']=array('desc'=>sprintf(__('Tickets (%d)'),$user->getNumTickets()), diff --git a/include/staff/template.inc.php b/include/staff/template.inc.php index 22c790117674d9d241cb6efd36cc88bac87c5e7d..475ac80b5d250c6ab30d57e70527822318b07e23 100644 --- a/include/staff/template.inc.php +++ b/include/staff/template.inc.php @@ -91,15 +91,15 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <?php } # end if ($current_group) if (isset($impl[$cn])) { echo sprintf('<tr><td colspan="2"> <strong><a href="templates.php?id=%d&a=manage">%s</a></strong>, <span class="faded">%s</span><br/> %s</td></tr>', - $impl[$cn]->getId(), Format::htmlchars($info['name']), + $impl[$cn]->getId(), Format::htmlchars(__($info['name'])), sprintf(__('Updated %s'), Format::db_datetime($impl[$cn]->getLastUpdated())), - Format::htmlchars($info['desc'])); + Format::htmlchars(__($info['desc']))); } else { echo sprintf('<tr><td colspan=2> <strong><a href="templates.php?tpl_id=%d&a=implement&code_name=%s" >%s</a></strong><br/> %s</td></tr>', - $template->getid(),$cn,format::htmlchars($info['name']), - format::htmlchars($info['desc'])); + $template->getid(),$cn,format::htmlchars(__($info['name'])), + format::htmlchars(__($info['desc']))); } } # endfor } else { ?> diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index 444362b3521f9861cd376334862377f444f266c8..81218adec9a4cafd8298f7cdffe30b7846361600 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -23,7 +23,7 @@ if ($_POST) <?php csrf_token(); ?> <input type="hidden" name="do" value="create"> <input type="hidden" name="a" value="open"> - <h2><?php echo __('Open New Ticket');?></h2> + <h2><?php echo __('Open a New Ticket');?></h2> <table class="form_table fixed" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <!-- This looks empty - but beware, with fixed table layout, the user diff --git a/index.php b/index.php index ffb1d4130bf1e1966d42e74ef1e68cac3b579236..1d14f182ab63b83c8dd35a74ac8a56047bb9cf0d 100644 --- a/index.php +++ b/index.php @@ -25,7 +25,7 @@ require(CLIENTINC_DIR.'header.inc.php'); echo '<h1>'.__('Welcome to the Support Center').'</h1>'; ?> <div id="new_ticket"> - <h3><?php echo __('Open A New Ticket');?></h3> + <h3><?php echo __('Open a New Ticket');?></h3> <br> <div><?php echo __('Please provide as much detail as possible so we can best assist you. To update a previously submitted ticket, please login.');?></div> <p> diff --git a/scp/tickets.php b/scp/tickets.php index e3a5693fa4c9069f6bf5c7cba4b96d0285538764..2170ec28fbc59bdac16f523a87d981172bba1fab 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -587,7 +587,7 @@ if($thisstaff->showAssignedOnly() && $stats['closed']) { if($thisstaff->canCreateTickets()) { $nav->addSubMenu(array('desc'=>__('New Ticket'), - 'title'=> __('Open New Ticket'), + 'title'=> __('Open a New Ticket'), 'href'=>'tickets.php?a=open', 'iconclass'=>'newTicket', 'id' => 'new-ticket'),