From 17bdd70cd9d512350a065c20dfac2ad0139e6065 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 14 Apr 2015 09:34:46 -0500
Subject: [PATCH] i18n: Fix 'Are you sure want...' phrases

---
 include/staff/apikeys.inc.php         | 4 ++--
 include/staff/banlist.inc.php         | 4 ++--
 include/staff/cannedresponses.inc.php | 4 ++--
 include/staff/categories.inc.php      | 4 ++--
 include/staff/departments.inc.php     | 4 ++--
 include/staff/filters.inc.php         | 4 ++--
 include/staff/groups.inc.php          | 4 ++--
 include/staff/helptopics.inc.php      | 4 ++--
 include/staff/pages.inc.php           | 4 ++--
 include/staff/plugins.inc.php         | 4 ++--
 include/staff/slaplans.inc.php        | 4 ++--
 include/staff/staffmembers.inc.php    | 4 ++--
 include/staff/teams.inc.php           | 4 ++--
 include/staff/templates.inc.php       | 4 ++--
 include/staff/ticket-view.inc.php     | 2 +-
 include/staff/tickets.inc.php         | 2 +-
 include/staff/user-view.inc.php       | 6 +++---
 17 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/include/staff/apikeys.inc.php b/include/staff/apikeys.inc.php
index ca0ab622a..030bc89f9 100644
--- a/include/staff/apikeys.inc.php
+++ b/include/staff/apikeys.inc.php
@@ -119,11 +119,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected API key', 'selected API keys', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected API key', 'selected API keys', 2)); ?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/banlist.inc.php b/include/staff/banlist.inc.php
index a858c227b..9e69cf665 100644
--- a/include/staff/banlist.inc.php
+++ b/include/staff/banlist.inc.php
@@ -145,11 +145,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected ban rule', 'selected ban rules', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected ban rule', 'selected ban rules', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/cannedresponses.inc.php b/include/staff/cannedresponses.inc.php
index 65de3378b..171f6977a 100644
--- a/include/staff/cannedresponses.inc.php
+++ b/include/staff/cannedresponses.inc.php
@@ -130,11 +130,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected canned response', 'selected canned responses', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected canned response', 'selected canned responses', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/categories.inc.php b/include/staff/categories.inc.php
index f561dcd1a..692443588 100644
--- a/include/staff/categories.inc.php
+++ b/include/staff/categories.inc.php
@@ -122,11 +122,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="make_public-confirm">
-        <?php echo sprintf(__('Are you sure want to make %s <b>public</b>?'),
+        <?php echo sprintf(__('Are you sure you want to make %s <b>public</b>?'),
             _N('selected category', 'selected categories', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="make_private-confirm">
-        <?php echo sprintf(__('Are you sure want to make %s <b>private</b> (internal)?'),
+        <?php echo sprintf(__('Are you sure you want to make %s <b>private</b> (internal)?'),
             _N('selected category', 'selected categories', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/departments.inc.php b/include/staff/departments.inc.php
index 82e7b3a5a..267b728a0 100644
--- a/include/staff/departments.inc.php
+++ b/include/staff/departments.inc.php
@@ -141,11 +141,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="make_public-confirm">
-        <?php echo sprintf(__('Are you sure want to make %s <b>public</b>?'),
+        <?php echo sprintf(__('Are you sure you want to make %s <b>public</b>?'),
             _N('selected department', 'selected departments', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="make_private-confirm">
-        <?php echo sprintf(__('Are you sure want to make %s <b>private</b> (internal)?'),
+        <?php echo sprintf(__('Are you sure you want to make %s <b>private</b> (internal)?'),
             _N('selected department', 'selected departments', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/filters.inc.php b/include/staff/filters.inc.php
index 1c8561af6..e3eac0643 100644
--- a/include/staff/filters.inc.php
+++ b/include/staff/filters.inc.php
@@ -129,11 +129,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected filter', 'selected filters', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected filter', 'selected filters', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/groups.inc.php b/include/staff/groups.inc.php
index 7c358fa23..d7f5d55cf 100644
--- a/include/staff/groups.inc.php
+++ b/include/staff/groups.inc.php
@@ -131,11 +131,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected group', 'selected groups', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected group', 'selected groups', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/helptopics.inc.php b/include/staff/helptopics.inc.php
index d124a67a2..6f172e697 100644
--- a/include/staff/helptopics.inc.php
+++ b/include/staff/helptopics.inc.php
@@ -148,11 +148,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected help topic', 'selected help topics', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected help topic', 'selected help topics', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/pages.inc.php b/include/staff/pages.inc.php
index 5f808b7b1..4ee3646e3 100644
--- a/include/staff/pages.inc.php
+++ b/include/staff/pages.inc.php
@@ -136,11 +136,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected site page', 'selected site pages', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected site page', 'selected site pages', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/plugins.inc.php b/include/staff/plugins.inc.php
index cd3282e4b..ecca0e6ac 100644
--- a/include/staff/plugins.inc.php
+++ b/include/staff/plugins.inc.php
@@ -83,12 +83,12 @@ if ($count) //Show options..
     </p>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
         <font color="green"><?php echo sprintf(
-        __('Are you sure want to <b>enable</b> %s?'),
+        __('Are you sure you want to <b>enable</b> %s?'),
         _N('selected plugin', 'selected plugins', 2)); ?></font>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
         <font color="red"><?php echo sprintf(
-        __('Are you sure want to <b>disable</b> %s?'),
+        __('Are you sure you want to <b>disable</b> %s?'),
         _N('selected plugin', 'selected plugins', 2)); ?></font>
     </p>
     <div><?php echo __('Please confirm to continue.'); ?></div>
diff --git a/include/staff/slaplans.inc.php b/include/staff/slaplans.inc.php
index f8f6a6400..b8f0b095f 100644
--- a/include/staff/slaplans.inc.php
+++ b/include/staff/slaplans.inc.php
@@ -131,11 +131,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected SLA plan', 'selected SLA plans', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected SLA plan', 'selected SLA plans', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/staffmembers.inc.php b/include/staff/staffmembers.inc.php
index 34681d2eb..8945610cb 100644
--- a/include/staff/staffmembers.inc.php
+++ b/include/staff/staffmembers.inc.php
@@ -194,11 +194,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> (unlock) %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> (unlock) %s?'),
             _N('selected agent', 'selected agents', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> (lock) %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> (lock) %s?'),
             _N('selected agent', 'selected agents', 2));?>
         <br><br><?php echo __("Locked staff won't be able to login to Staff Control Panel.");?>
     </p>
diff --git a/include/staff/teams.inc.php b/include/staff/teams.inc.php
index f18edbeac..b8ea0f24d 100644
--- a/include/staff/teams.inc.php
+++ b/include/staff/teams.inc.php
@@ -126,11 +126,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected team', 'selected teams', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected team', 'selected teams', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/templates.inc.php b/include/staff/templates.inc.php
index 1c042fdd5..aece8b064 100644
--- a/include/staff/templates.inc.php
+++ b/include/staff/templates.inc.php
@@ -128,11 +128,11 @@ endif;
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="enable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>enable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>enable</b> %s?'),
             _N('selected template set', 'selected template sets', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="disable-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>disable</b> %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>disable</b> %s?'),
             _N('selected template set', 'selected template sets', 2));?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/ticket-view.inc.php b/include/staff/ticket-view.inc.php
index c2608d4b7..68443b69e 100644
--- a/include/staff/ticket-view.inc.php
+++ b/include/staff/ticket-view.inc.php
@@ -949,7 +949,7 @@ print $note_form->getField('attachments')->render();
         <?php echo sprintf(Format::htmlchars(__('%s <%s> will longer have access to the ticket')),
             '<b>'.Format::htmlchars($ticket->getName()).'</b>', Format::htmlchars($ticket->getEmail())); ?>
         </span>
-        <?php echo sprintf(__('Are you sure want to <b>change</b> ticket owner to %s?'),
+        <?php echo sprintf(__('Are you sure you want to <b>change</b> ticket owner to %s?'),
             '<b><span id="newuser">this guy</span></b>'); ?>
     </p>
     <p class="confirm-action" style="display:none;" id="delete-confirm">
diff --git a/include/staff/tickets.inc.php b/include/staff/tickets.inc.php
index 82caa6727..f01e3fd6b 100644
--- a/include/staff/tickets.inc.php
+++ b/include/staff/tickets.inc.php
@@ -531,7 +531,7 @@ if ($results) {
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="mark_overdue-confirm">
-        <?php echo __('Are you sure want to flag the selected tickets as <font color="red"><b>overdue</b></font>?');?>
+        <?php echo __('Are you sure you want to flag the selected tickets as <font color="red"><b>overdue</b></font>?');?>
     </p>
     <div><?php echo __('Please confirm to continue.');?></div>
     <hr style="margin-top:1em"/>
diff --git a/include/staff/user-view.inc.php b/include/staff/user-view.inc.php
index 1aa936628..6660bbddf 100644
--- a/include/staff/user-view.inc.php
+++ b/include/staff/user-view.inc.php
@@ -150,18 +150,18 @@ include STAFFINC_DIR . 'templates/notes.tmpl.php';
     <a class="close" href=""><i class="icon-remove-circle"></i></a>
     <hr/>
     <p class="confirm-action" style="display:none;" id="banemail-confirm">
-        <?php echo sprintf(__('Are you sure want to <b>ban</b> %s?'), $user->getEmail()); ?>
+        <?php echo sprintf(__('Are you sure you want to <b>ban</b> %s?'), $user->getEmail()); ?>
         <br><br>
         <?php echo __('New tickets from the email address will be auto-rejected.'); ?>
     </p>
     <p class="confirm-action" style="display:none;" id="confirmlink-confirm">
         <?php echo sprintf(__(
-        'Are you sure want to send an <b>Account Activation Link</b> to <em> %s </em>?'),
+        'Are you sure you want to send an <b>Account Activation Link</b> to <em> %s </em>?'),
         $user->getEmail()); ?>
     </p>
     <p class="confirm-action" style="display:none;" id="pwreset-confirm">
         <?php echo sprintf(__(
-        'Are you sure want to send a <b>Password Reset Link</b> to <em> %s </em>?'),
+        'Are you sure you want to send a <b>Password Reset Link</b> to <em> %s </em>?'),
         $user->getEmail()); ?>
     </p>
     <div><?php echo __('Please confirm to continue.'); ?></div>
-- 
GitLab