diff --git a/admin/admin_ticket.php b/admin/admin_ticket.php index c05f1c50..8c233ee4 100644 --- a/admin/admin_ticket.php +++ b/admin/admin_ticket.php @@ -1338,12 +1338,12 @@ function hesk_getAdminButtons($category_id) if ($can_edit) { $tmp = $reply ? '&reply=' . $reply['id'] : ''; $mgr = $isManager ? '&isManager=true' : ''; - $options .= ' ' . $hesklang['edit'] . ' '; + $options .= ' ' . $hesklang['btn_edit'] . ' '; } /* Print ticket button */ - $options .= ' ' . $hesklang['printer_friendly'] . ' '; + $options .= ' ' . $hesklang['btn_print'] . ' '; /* Copy ticket button */ $strippedName = strip_tags($ticket['name']); @@ -1508,8 +1508,8 @@ function hesk_getAdminButtons($category_id) '; $dropdown .= $ticket['locked'] - ? sprintf($template, 'unlock', $hesklang['tul'], 0, 'unlock', $hesklang['tul']) - : sprintf($template, 'lock', $hesklang['tlo'], 1, 'lock', $hesklang['tlo']); + ? sprintf($template, 'unlock', $hesklang['tul'] . ' - ' . $hesklang['isloc'], 0, 'unlock', $hesklang['btn_unlock']) + : sprintf($template, 'lock', $hesklang['tlo'] . ' - ' . $hesklang['isloc'], 1, 'lock', $hesklang['btn_lock']); } /* Tag ticket button */ @@ -1526,8 +1526,8 @@ function hesk_getAdminButtons($category_id) '; $dropdown .= $ticket['archive'] - ? sprintf($template, 'untag', $hesklang['remove_archive'], 0, $hesklang['remove_archive']) - : sprintf($template, 'tag', $hesklang['add_archive'], 1, $hesklang['add_archive']); + ? sprintf($template, 'untag', $hesklang['remove_archive'], 0, $hesklang['btn_untag']) + : sprintf($template, 'tag', $hesklang['add_archive'], 1, $hesklang['btn_tag']); } /* Import to knowledgebase button */ @@ -1537,7 +1537,7 @@ function hesk_getAdminButtons($category_id)

- ' . $hesklang['import_kb'] . ' + ' . $hesklang['btn_import_kb'] . '

@@ -1633,7 +1633,7 @@ function hesk_getAdminButtonsInTicket($reply = 0, $white = 1) if ($can_edit) { $tmp = $reply ? '&reply=' . $reply['id'] : ''; $mgr = $isManager ? '&isManager=true' : ''; - $options .= ' ' . $hesklang['edtt'] . ' '; + $options .= ' ' . $hesklang['btn_edit'] . ' '; } diff --git a/print.php b/print.php index f0fa6850..ea191841 100644 --- a/print.php +++ b/print.php @@ -125,8 +125,6 @@ $modsForHesk_settings = mfh_getSettings(); diff --git a/ticket.php b/ticket.php index 1c7e6109..cfbd3f62 100644 --- a/ticket.php +++ b/ticket.php @@ -781,7 +781,7 @@ function hesk_getCustomerButtons($white = 1) $style = 'class="option' . $tmp . 'OFF" onmouseover="this.className=\'option' . $tmp . 'ON\'" onmouseout="this.className=\'option' . $tmp . 'OFF\'"'; /* Print ticket button */ - $options .= ' ' . $hesklang['printer_friendly'] . ' '; + $options .= ' ' . $hesklang['btn_print'] . ' '; /* Return generated HTML */ return $options;