diff --git a/include/class.group.php b/include/class.group.php index 4187f21dc5463aeb016e6c3d98178d7755220cca..67f392190f0cd357872ad9a1e550cf6258175631 100644 --- a/include/class.group.php +++ b/include/class.group.php @@ -227,9 +227,9 @@ class Group { return $id; $errors['err']=sprintf(__('Unable to create %s.'), __('this group')) - .' '.__('Internal error occurrred'); + .' '.__('Internal error occurred'); } - + return false; } } diff --git a/include/class.template.php b/include/class.template.php index c9d6711ed0c7f1d7c42459639d9ed3c5cacfa906..28b6c9d0e800bdf12a74aa1468a23b4d4c0c24f2 100644 --- a/include/class.template.php +++ b/include/class.template.php @@ -23,8 +23,8 @@ class EmailTemplateGroup { var $_templates; static $all_groups = array( 'sys' => /* trans */ 'System Management Templates', - 'ticket.user' => /* trans */ 'End-User Ticket Templates', - 'ticket.staff' => /* trans */ 'Agent Ticket Templates', + 'ticket.user' => /* trans */ 'End-User Email Templates', + 'ticket.staff' => /* trans */ 'Agent Email Templates', ); static $all_names=array( 'ticket.autoresp'=>array( diff --git a/include/i18n/en_US/help/tips/emails.email.yaml b/include/i18n/en_US/help/tips/emails.email.yaml index 5735bdbb638a7b4ec11700ed9f2818fa89b59b30..b261c10eef61fd6e029fcafcd795d7226a2719fd 100644 --- a/include/i18n/en_US/help/tips/emails.email.yaml +++ b/include/i18n/en_US/help/tips/emails.email.yaml @@ -30,7 +30,7 @@ new_ticket_priority: title: New Ticket Priority content: > Choose the <span class="doc-desc-title">priority</span> for new - tickets created via ths Email Address. + tickets created via this Email Address. new_ticket_department: title: New Ticket Department diff --git a/include/i18n/en_US/help/tips/settings.kb.yaml b/include/i18n/en_US/help/tips/settings.kb.yaml index ea3cb117e1cfeba21b81b6a88df49b034138ff83..12f4954725fd56d5befbda7ab26276487f7d1746 100644 --- a/include/i18n/en_US/help/tips/settings.kb.yaml +++ b/include/i18n/en_US/help/tips/settings.kb.yaml @@ -23,7 +23,7 @@ knowledge_base_status: Enable this setting to allow your users self-service access to your public knowledge base articles. <br><br> - Knowledge base categories and FAQs can be made internal (viewable only by Agents.) + Knowledge base categories and FAQs can be made internal (viewable only by Agents). links: - title: Manage Knowledge Base href: /scp/kb.php diff --git a/include/i18n/en_US/help/tips/settings.pages.yaml b/include/i18n/en_US/help/tips/settings.pages.yaml index a506e338509ad0a6d0970f127f4e282af5cf15c0..487d09cf09f792374742136de279d0a338eff98a 100644 --- a/include/i18n/en_US/help/tips/settings.pages.yaml +++ b/include/i18n/en_US/help/tips/settings.pages.yaml @@ -28,7 +28,7 @@ landing_page: title: Landing Page content: > The <span class="doc-desc-title">Landing Page</span> is displayed on - the front page of your your support site. + the front page of your support site. offline_page: title: Offline Page diff --git a/include/i18n/en_US/help/tips/settings.ticket.yaml b/include/i18n/en_US/help/tips/settings.ticket.yaml index 50693c2a370d1c4b061c96f58e4bab9d271eebe7..93b041e281fabcfc57931b112a602c321f9e4641 100644 --- a/include/i18n/en_US/help/tips/settings.ticket.yaml +++ b/include/i18n/en_US/help/tips/settings.ticket.yaml @@ -28,7 +28,7 @@ default_priority: Choose a default <span class="doc-desc-title">priority</span> for tickets not assigned a priority automatically. <br/><br/> - Prioriy can be assigned via the help topic, routed department, or + Priority can be assigned via the help topic, routed department, or ticket filter settings. maximum_open_tickets: diff --git a/include/i18n/en_US/help/tips/staff.staff_members.yaml b/include/i18n/en_US/help/tips/staff.staff_members.yaml index 5d7b8cbe8ded464b7d1c15c3615d193d4b3f98a8..882bfe9eed9dfc390461796270f0966dd4410c26 100644 --- a/include/i18n/en_US/help/tips/staff.staff_members.yaml +++ b/include/i18n/en_US/help/tips/staff.staff_members.yaml @@ -13,10 +13,6 @@ # must match the HTML #ids put into the page template. # --- -add_new_staff: - title: Add New Staff - content: > - staff_members: title: Staff Members content: > @@ -26,48 +22,8 @@ staff_members: broken up by pages. See the pages section below to navigate through more results. -checkbox_column: - title: Manage Multiple Agents - content: > - By choosing a checkbox next to the name of the <span - class="doc-desc-title">Agent</span>(s), you may alter the <span - class="doc-desc-title">Account Status</span> to either Locked or Enabled. - If you change the <span class="doc-desc-title">agent</span>’s status to - Locked, then he/she will not be able to login.<br/> - <br/> - If you change the <span class="doc-desc-title">agent</span>’s status to - Enabled, then all normal account settings established for that <span - class="doc-desc-title">Agent</span> will resume.<br/> - <br/> - If you change the <span class="doc-desc-title">agent</span>’s status to - Locked, then he/she will not be able to login. - -name: - title: Name - content: > - -username: - title: Username - content: > - status: title: Status content: > This will display whether the <span class="doc-desc-title">Agent</span> is Locked, Active, or Active (Vacation). - -group: - title: Group - content: > - -department: - title: Department - content: > - -created: - title: Created - content: > - -last_login: - title: Last Login - content: > diff --git a/include/i18n/en_US/templates/page/landing.yaml b/include/i18n/en_US/templates/page/landing.yaml index ceedc21a3bffc95c97b080da3006e5e00c6d0e1a..112bc512cb990403f26459f8004834f5fcadf022 100644 --- a/include/i18n/en_US/templates/page/landing.yaml +++ b/include/i18n/en_US/templates/page/landing.yaml @@ -7,7 +7,7 @@ --- notes: > The Landing Page refers to the content of the Customer Portal's - intial view. The template modifies the content seen above the two links + initial view. The template modifies the content seen above the two links <strong>Open a New Ticket</strong> and <strong>Check Ticket Status</strong>. name: Landing diff --git a/include/staff/dynamic-forms.inc.php b/include/staff/dynamic-forms.inc.php index 74e3af3f9e1615a766ba9e4faa80e97f4a6fac67..bfa399490f858aebbc46bdf25354d010be718a2e 100644 --- a/include/staff/dynamic-forms.inc.php +++ b/include/staff/dynamic-forms.inc.php @@ -95,7 +95,7 @@ if ($count) //Show options.. echo '<div> '.__('Page').':'.$pageNav->getPageLinks().' </div>'; ?> <p class="centered" id="actions"> - <input class="button" type="submit" name="delete" value="Delete"> + <input class="button" type="submit" name="delete" value="<?php echo __('Delete'); ?>"> </p> </form> diff --git a/include/staff/dynamic-lists.inc.php b/include/staff/dynamic-lists.inc.php index 824473c7fe604a14b9d851b6b8dba76b9f834f9e..70f3d27b4e67dd19180a11cd9591f9a0b1122f1d 100644 --- a/include/staff/dynamic-lists.inc.php +++ b/include/staff/dynamic-lists.inc.php @@ -68,7 +68,7 @@ if ($count) //Show options.. ?> <p class="centered" id="actions"> - <input class="button" type="submit" name="delete" value="Delete"> + <input class="button" type="submit" name="delete" value="<?php echo __('Delete'); ?>"> </p> </form> diff --git a/include/staff/settings-access.inc.php b/include/staff/settings-access.inc.php index df927ef3217ee6cfcd5179182100ae4b524cd2c4..fa6fc607e77d84f5383723785966311a5a8c3005 100644 --- a/include/staff/settings-access.inc.php +++ b/include/staff/settings-access.inc.php @@ -187,7 +187,7 @@ $manage_content = function($title, $content) use ($contents) { </tr> <?php $manage_content(__('Agents'), 'pwreset-staff'); ?> <?php $manage_content(__('Clients'), 'pwreset-client'); ?> - <?php $manage_content(__('Guess Ticket Access'), 'access-link'); ?> + <?php $manage_content(__('Guest Ticket Access'), 'access-link'); ?> <tr> <th colspan="2"> <em><b><?php echo __('Sign In Pages'); ?></b></em> diff --git a/include/staff/templates/user.tmpl.php b/include/staff/templates/user.tmpl.php index 68d551a05a0b6cb2b8b851dccf46640405f66cdd..655e92ecfeba38232b3d6ac4e8c5a90f37d435b3 100644 --- a/include/staff/templates/user.tmpl.php +++ b/include/staff/templates/user.tmpl.php @@ -49,7 +49,7 @@ if ($info['error']) { <div class="tab_content" id="info-tab"> <div class="floating-options"> - <a href="<?php echo $info['useredit'] ?: '#'; ?>" id="edituser" class="action" title="Edit"><i class="icon-edit"></i></a> + <a href="<?php echo $info['useredit'] ?: '#'; ?>" id="edituser" class="action" title="<?php echo __('Edit'); ?>"><i class="icon-edit"></i></a> <a href="users.php?id=<?php echo $user->getId(); ?>" title="<?php echo __('Manage User'); ?>" class="action"><i class="icon-share"></i></a> </div> diff --git a/include/staff/templates/users.tmpl.php b/include/staff/templates/users.tmpl.php index c4c612eff5f96703ca0f0bd13e6f05914fbc0419..44a0644b23673a4aaf25fb546281b03fbd5c0459 100644 --- a/include/staff/templates/users.tmpl.php +++ b/include/staff/templates/users.tmpl.php @@ -155,7 +155,7 @@ if ($res && $num) { //Show options.. <hr/> <p class="confirm-action" style="display:none;" id="remove-users-confirm"> <?php echo sprintf(__( - 'Are you sure want to <b>REMOVE</b> %1$s from <strong>%2$s</strong> organization?'), + 'Are you sure you want to <b>REMOVE</b> %1$s from <strong>%2$s</strong>?'), _N('selected user', 'selected users', 2), $org->getName()); ?> </p> diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php index af406fa7a4efa256d5452b4046f4e45b8a2f598c..8ca2d04c07787185dfa80e879a7e9a35a000bd33 100644 --- a/include/staff/ticket-view.inc.php +++ b/include/staff/ticket-view.inc.php @@ -992,7 +992,7 @@ $tcount+= $ticket->getNumNotes(); <?php echo sprintf(__('Are you sure you want to <b>remove</b> %s from ban list?'), $ticket->getEmail()); ?> </p> <p class="confirm-action" style="display:none;" id="release-confirm"> - <?php echo sprintf(__('Are you sure you want to <b>unassign</b> ticket from %s<b>?'), $ticket->getAssigned()); ?></b> + <?php echo sprintf(__('Are you sure you want to <b>unassign</b> ticket from <b>%s</b>?'), $ticket->getAssigned()); ?> </p> <p class="confirm-action" style="display:none;" id="changeuser-confirm"> <span id="msg_warning" style="display:block;vertical-align:top"> diff --git a/scp/js/scp.js b/scp/js/scp.js index df8a867564757f14544ec1742b74a1a039948694..b9b2a1b9f3d67303f52e88d0eab5cc9dba57e8e2 100644 --- a/scp/js/scp.js +++ b/scp/js/scp.js @@ -748,7 +748,7 @@ $('.quicknote .delete').live('click.note', function() { $('#new-note').live('click', function() { var note = $(this).closest('.quicknote'), T = $('<textarea>'), - button = $('<input type="button">').val('Create'); + button = $('<input type="button">').val(__('Create')); button.click(function() { $.post('ajax.php/' + note.data('url'), { note: T.redactor('get'), no_options: note.hasClass('no-options') }, diff --git a/scp/tickets.php b/scp/tickets.php index 58aadfa3c0ffc83dadb1e37d3aa44ea95c0b807f..35542ec45fd18d2ced4df790ea1518f17034b45f 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -276,7 +276,7 @@ if($_POST && !$errors): if(!$ticket->isAssigned() || !($assigned=$ticket->getAssigned())) { $errors['err'] = __('Ticket is not assigned!'); } elseif($ticket->release()) { - $msg=sprintf(__('Ticket released (unassigned) from %1$s by %2$s)'),$assigned,$thisstaff->getName()); + $msg=sprintf(__('Ticket released (unassigned) from %1$s by %2$s'),$assigned,$thisstaff->getName()); $ticket->logActivity(__('Ticket unassigned'),$msg); } else { $errors['err'] = __('Problems releasing the ticket. Try again');