From 54ef9b5e6e8aedc8ce9bf0eba5baeb192e0236b9 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 11 Jul 2014 16:09:52 -0500
Subject: [PATCH] i18n: Fix several translation issues

References:
(Crowdin login required)
http://i18n.osticket.com/translate/osticket-official/148/enus-de#4407
http://i18n.osticket.com/translate/osticket-official/148/enus-de#2379
---
 include/class.email.php | 2 +-
 scp/tickets.php         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/class.email.php b/include/class.email.php
index 40cabccd2..2e3d62c59 100644
--- a/include/class.email.php
+++ b/include/class.email.php
@@ -253,7 +253,7 @@ class Email {
         if(!$vars['email'] || !Validator::is_email($vars['email'])) {
             $errors['email']=__('Valid email required');
         }elseif(($eid=Email::getIdByEmail($vars['email'])) && $eid!=$id) {
-            $errors['email']=__('Email already exits');
+            $errors['email']=__('Email already exists');
         }elseif($cfg && !strcasecmp($cfg->getAdminEmail(), $vars['email'])) {
             $errors['email']=__('Email already used as admin email!');
         }elseif(Staff::getIdByEmail($vars['email'])) { //make sure the email doesn't belong to any of the staff
diff --git a/scp/tickets.php b/scp/tickets.php
index 2170ec28f..3664b6a1f 100644
--- a/scp/tickets.php
+++ b/scp/tickets.php
@@ -324,7 +324,7 @@ if($_POST && !$errors):
                         $msg=sprintf(__('Ticket flagged as unanswered by %s'),$thisstaff->getName());
                         $ticket->logActivity(__('Ticket Marked Unanswered'),$msg);
                     } else {
-                        $errors['err']=__('Problems marking the the ticket unanswered. Try again');
+                        $errors['err']=__('Problems marking the ticket unanswered. Try again');
                     }
                     break;
                 case 'banemail':
-- 
GitLab