From d9b30bce5ede29cb8ef687d32e51328d25300522 Mon Sep 17 00:00:00 2001
From: Chefkeks <Chefkeks@users.noreply.github.com>
Date: Thu, 12 Mar 2015 14:38:45 +0100
Subject: [PATCH] i18n: Missing translation "Add Organization"

See: http://osticket.com/forum/discussion/85083/osticket-sends-no-html-mails#latest

Looked at crowdin and the term "Add Organization" is already used in the following context:
#: include/staff/templates/org-lookup.tmpl.php:82

So my suggestion is to use it also for this context here, which would not require a new translation ;)

Michael
---
 include/staff/user-view.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/user-view.inc.php b/include/staff/user-view.inc.php
index 58f4348ee..cb57e190f 100644
--- a/include/staff/user-view.inc.php
+++ b/include/staff/user-view.inc.php
@@ -95,7 +95,7 @@ $org = $user->getOrganization();
                                         $user->getId(), $org->getName());
                             else
                                 echo sprintf('<a href="#users/%d/org"
-                                        class="user-action">Add Organization</a>',
+                                        class="user-action"><?php echo __('Add Organization'); ?></a>',
                                         $user->getId());
                         ?>
                         </span>
-- 
GitLab