zendesk - Version 1.3.0

Version Notes

Fix getModuleDir error for JWT.
Fix Typing error on ApiController.php.
Fix Invalid parameter for parent::getBackUrl(). Renamed method to getZdBackUrl().
Fix for 'Invalid block type: Mage_Adminhtml_Block_Empty_Edit_Form'.
Fix Strip slashes from the request header since some servers will escape quotes.
Fix ACL Children ordering for Zendesk backend menu.
Fix ACL to allow Roles to add the Zendesk Menu to Non Full Access Users.
Updated README.md to include SSO URLs.
Added Composer JSON.
Added new translations in locales and improvements for yml.
Added modman config.
Added check for Authorization header.
Added logging viewer via backend.
Added new SSO functionality for end-user and agents.
Added connection checks for APIs.
Added logout method for admin SSO.
Added troubleshooting link to test responses.
Added Permissions check to the left menu to match the main dropdown menu.

Download this release

Release Info

Developer Jason Smale
Extension zendesk
Version 1.3.0
Comparing to
See all releases


Code changes from version 1.2.0 to 1.3.0

Files changed (30) hide show
  1. app/code/community/Zendesk/Zendesk/Block/Adminhtml/Config/Buttons/MagentoTest.php +56 -0
  2. app/code/community/Zendesk/Zendesk/Block/Adminhtml/Config/Buttons/ZendeskTest.php +46 -0
  3. app/code/community/Zendesk/Zendesk/Block/Adminhtml/Create/Edit.php +10 -4
  4. app/code/community/Zendesk/Zendesk/Block/Adminhtml/Log.php +31 -0
  5. app/code/community/Zendesk/Zendesk/Block/Adminhtml/Menu.php +9 -0
  6. app/code/community/Zendesk/Zendesk/Helper/Log.php +145 -0
  7. app/code/community/Zendesk/Zendesk/Model/Api/Abstract.php +5 -1
  8. app/code/community/Zendesk/Zendesk/Model/Api/Users.php +6 -0
  9. app/code/community/Zendesk/Zendesk/controllers/Adminhtml/ZendeskController.php +75 -7
  10. app/code/community/Zendesk/Zendesk/controllers/ApiController.php +29 -5
  11. app/code/community/Zendesk/Zendesk/controllers/SsoController.php +89 -0
  12. app/code/community/Zendesk/Zendesk/etc/config.xml +12 -2
  13. app/code/community/Zendesk/Zendesk/etc/system.xml +51 -4
  14. app/design/adminhtml/default/default/layout/zendesk.xml +7 -0
  15. app/design/adminhtml/default/default/template/zendesk/config/button-test-magento.phtml +44 -0
  16. app/design/adminhtml/default/default/template/zendesk/config/button-test-zendesk.phtml +20 -0
  17. app/design/adminhtml/default/default/template/zendesk/dashboard/tabs/view.phtml +1 -1
  18. app/design/adminhtml/default/default/template/zendesk/left-menu.phtml +9 -1
  19. app/design/adminhtml/default/default/template/zendesk/log/index.phtml +31 -0
  20. app/locale/de_DE/Zendesk_Zendesk.csv +76 -54
  21. app/locale/en_US/Zendesk_Zendesk.csv +97 -57
  22. app/locale/es_ES/Zendesk_Zendesk.csv +76 -54
  23. app/locale/fr_FR/Zendesk_Zendesk.csv +77 -55
  24. app/locale/it_IT/Zendesk_Zendesk.csv +77 -55
  25. app/locale/nl_NL/Zendesk_Zendesk.csv +76 -54
  26. app/locale/pt_BR/Zendesk_Zendesk.csv +76 -54
  27. app/locale/ru_RU/Zendesk_Zendesk.csv +76 -54
  28. app/locale/zh_CN/Zendesk_Zendesk.csv +97 -76
  29. app/locale/zh_TW/Zendesk_Zendesk.csv +76 -54
  30. package.xml +33 -16
app/code/community/Zendesk/Zendesk/Block/Adminhtml/Config/Buttons/MagentoTest.php ADDED
@@ -0,0 +1,56 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ class Zendesk_Zendesk_Block_Adminhtml_Config_Buttons_MagentoTest extends Mage_Adminhtml_Block_System_Config_Form_Field
19
+ {
20
+ protected function _prepareLayout()
21
+ {
22
+ parent::_prepareLayout();
23
+ if (!$this->getTemplate()) {
24
+ $this->setTemplate('zendesk/config/button-test-magento.phtml');
25
+ }
26
+ return $this;
27
+ }
28
+
29
+ public function render(Varien_Data_Form_Element_Abstract $element)
30
+ {
31
+ $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
32
+ return parent::render($element);
33
+ }
34
+
35
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
36
+ {
37
+ $originalData = $element->getOriginalData();
38
+ $this->addData(array(
39
+ 'button_label' => Mage::helper('zendesk')->__($originalData['button_label']),
40
+ 'html_id' => $element->getHtmlId(),
41
+ 'url' => Mage::getSingleton('adminhtml/url')->getUrl('*/setup/start')
42
+ ));
43
+
44
+ return $this->_toHtml();
45
+ }
46
+
47
+ public function getTestUrl()
48
+ {
49
+ return Mage::getUrl('zendesk/api/users/1');
50
+ }
51
+
52
+ public function getAuthHeader()
53
+ {
54
+ return 'Token token="' . Mage::helper('zendesk')->getApiToken(false) . '"';
55
+ }
56
+ }
app/code/community/Zendesk/Zendesk/Block/Adminhtml/Config/Buttons/ZendeskTest.php ADDED
@@ -0,0 +1,46 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ class Zendesk_Zendesk_Block_Adminhtml_Config_Buttons_ZendeskTest extends Mage_Adminhtml_Block_System_Config_Form_Field
19
+ {
20
+ protected function _prepareLayout()
21
+ {
22
+ parent::_prepareLayout();
23
+ if (!$this->getTemplate()) {
24
+ $this->setTemplate('zendesk/config/button-test-zendesk.phtml');
25
+ }
26
+ return $this;
27
+ }
28
+
29
+ public function render(Varien_Data_Form_Element_Abstract $element)
30
+ {
31
+ $element->unsScope()->unsCanUseWebsiteValue()->unsCanUseDefaultValue();
32
+ return parent::render($element);
33
+ }
34
+
35
+ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
36
+ {
37
+ $originalData = $element->getOriginalData();
38
+ $this->addData(array(
39
+ 'button_label' => Mage::helper('zendesk')->__($originalData['button_label']),
40
+ 'html_id' => $element->getHtmlId(),
41
+ 'url' => Mage::getSingleton('adminhtml/url')->getUrl('adminhtml/zendesk/checkOutbound')
42
+ ));
43
+
44
+ return $this->_toHtml();
45
+ }
46
+ }
app/code/community/Zendesk/Zendesk/Block/Adminhtml/Create/Edit.php CHANGED
@@ -17,6 +17,12 @@
17
18
class Zendesk_Zendesk_Block_Adminhtml_Create_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
19
{
20
protected function _preparelayout()
21
{
22
$this->removeButton('delete');
@@ -30,7 +36,7 @@ class Zendesk_Zendesk_Block_Adminhtml_Create_Edit extends Mage_Adminhtml_Block_W
30
if(isset($data['order_id'])) {
31
$this->_addButton('back', array(
32
'label' => Mage::helper('adminhtml')->__('Back'),
33
- 'onclick' => 'setLocation(\'' . $this->getBackUrl($data['order_id']) . '\')',
34
'class' => 'back',
35
), -1);
36
}
@@ -44,19 +50,19 @@ class Zendesk_Zendesk_Block_Adminhtml_Create_Edit extends Mage_Adminhtml_Block_W
44
$this->setChild('form', $this->getLayout()->createBlock('zendesk/adminhtml_create_edit_form'));
45
return parent::_prepareLayout();
46
}
47
-
48
public function getFormHtml()
49
{
50
$formHtml = parent::getFormHtml();
51
return $formHtml;
52
}
53
-
54
public function getHeaderText()
55
{
56
return Mage::helper('zendesk')->__('New Ticket');
57
}
58
59
- public function getBackUrl($orderId)
60
{
61
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
62
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $orderId));
17
18
class Zendesk_Zendesk_Block_Adminhtml_Create_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
19
{
20
+ protected function _construct()
21
+ {
22
+ parent::_construct();
23
+ $this->_controller = FALSE;
24
+ }
25
+
26
protected function _preparelayout()
27
{
28
$this->removeButton('delete');
36
if(isset($data['order_id'])) {
37
$this->_addButton('back', array(
38
'label' => Mage::helper('adminhtml')->__('Back'),
39
+ 'onclick' => 'setLocation(\'' . $this->getZdBackUrl($data['order_id']) . '\')',
40
'class' => 'back',
41
), -1);
42
}
50
$this->setChild('form', $this->getLayout()->createBlock('zendesk/adminhtml_create_edit_form'));
51
return parent::_prepareLayout();
52
}
53
+
54
public function getFormHtml()
55
{
56
$formHtml = parent::getFormHtml();
57
return $formHtml;
58
}
59
+
60
public function getHeaderText()
61
{
62
return Mage::helper('zendesk')->__('New Ticket');
63
}
64
65
+ public function getZdBackUrl($orderId)
66
{
67
if (Mage::getSingleton('admin/session')->isAllowed('sales/order/actions/view')) {
68
return $this->getUrl('adminhtml/sales_order/view', array('order_id' => $orderId));
app/code/community/Zendesk/Zendesk/Block/Adminhtml/Log.php ADDED
@@ -0,0 +1,31 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ class Zendesk_Zendesk_Block_Adminhtml_Log extends Mage_Adminhtml_Block_Template
19
+ {
20
+
21
+ public function __construct()
22
+ {
23
+ parent::__construct();
24
+ $this->setTemplate('zendesk/log/index.phtml');
25
+ }
26
+
27
+ public function getLogContents()
28
+ {
29
+ return Mage::helper('zendesk/log')->getLogContents();
30
+ }
31
+ }
app/code/community/Zendesk/Zendesk/Block/Adminhtml/Menu.php CHANGED
@@ -23,4 +23,13 @@ class Zendesk_Zendesk_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_Template
23
$this->setId('page_tabs');
24
$this->setTemplate('zendesk/left-menu.phtml');
25
}
26
}
23
$this->setId('page_tabs');
24
$this->setTemplate('zendesk/left-menu.phtml');
25
}
26
+
27
+ public function isAllowed($target)
28
+ {
29
+ try {
30
+ return Mage::getSingleton('admin/session')->isAllowed('admin/zendesk/zendesk_' . $target);
31
+ } catch (Exception $e) {
32
+ return false;
33
+ }
34
+ }
35
}
app/code/community/Zendesk/Zendesk/Helper/Log.php ADDED
@@ -0,0 +1,145 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ class Zendesk_Zendesk_Helper_Log extends Mage_Core_Helper_Abstract
19
+ {
20
+ /**
21
+ * Maximum size log file can grow to before we truncate output.
22
+ * Value is arbitrary and based on trial and error for a reasonable amount of data to send back to the browser.
23
+ */
24
+ const MAX_LOG_SIZE = 524288;
25
+
26
+ /**
27
+ * Number of lines to take from the end of the log file, if it's too large.
28
+ */
29
+ const TAIL_SIZE = 1000;
30
+
31
+ public function getLogPath()
32
+ {
33
+ return Mage::getBaseDir('log') . DS. 'zendesk.log';
34
+ }
35
+
36
+ public function getLogSize()
37
+ {
38
+ return filesize($this->getLogPath());
39
+ }
40
+
41
+ public function getTailSize()
42
+ {
43
+ return self::TAIL_SIZE;
44
+ }
45
+
46
+ /**
47
+ * Retrieves the contents of the Zendesk log file, with optional truncation for sending directly back to a browser.
48
+ *
49
+ * NOTE: If allowing for truncation this method can still return a lot of data (too much) if you run into a
50
+ * situation where one of the lines near the end of the file is very, very long. In practice this should
51
+ * rarely happen since the log file should only be written to by this extension.
52
+ *
53
+ * @param bool $allowTruncate Whether the file should be truncated if it's too large
54
+ *
55
+ * @return string File contents
56
+ */
57
+ public function getLogContents($allowTruncate = true)
58
+ {
59
+ $path = $this->getLogPath();
60
+ $content = '';
61
+
62
+ if(file_exists($path)) {
63
+ if($allowTruncate && $this->isLogTooLarge()) {
64
+ $content = $this->_tail($path, self::TAIL_SIZE);
65
+ } else {
66
+ $content = file_get_contents($path);
67
+ }
68
+ }
69
+
70
+ return $content;
71
+ }
72
+
73
+ /**
74
+ * Is the Zendesk log file too large to display?
75
+ *
76
+ * This method doesn't map very well to the size of the tail command on the file in that it doesn't use the
77
+ * same number of lines to determine if the file is "too large". This means that there is the possibility for
78
+ * problems if the log files contains some lines at the end that are extremely long (millions of characters) then
79
+ * the _tail method will still return them.
80
+ *
81
+ * @return bool true if the file is too large to display, false if not
82
+ */
83
+ public function isLogTooLarge()
84
+ {
85
+ $size = $this->getLogSize();
86
+
87
+ if($size !== FALSE && $size > self::MAX_LOG_SIZE) {
88
+ return true;
89
+ }
90
+
91
+ return false;
92
+ }
93
+
94
+ public function clear()
95
+ {
96
+ @unlink($this->getLogPath());
97
+ touch($this->getLogPath());
98
+ }
99
+
100
+ /**
101
+ * Runs a tail operation to retrieve the last lines of a file.
102
+ * @param string $file Path to the file to tail
103
+ * @param int $lines Number of lines to retrieve
104
+ *
105
+ * @return string
106
+ */
107
+ protected function _tail($file, $lines = 10)
108
+ {
109
+ $data = '';
110
+
111
+ // If we're on a Unix-like system then run a much faster shell command to tail the file.
112
+ // Note that this could potentially be implemented as "everything that ISN'T Windows" but
113
+ // was done with a specific list of common kernels for safety.
114
+ // For a larger list see: http://en.wikipedia.org/wiki/Uname#Table_of_standard_uname_output
115
+ if(in_array(php_uname('s'), array('Linux', 'FreeBSD', 'NetBSD', 'OpenBSD', 'Darwin', 'SunOS', 'Unix'))) {
116
+ $data = shell_exec("tail -n $lines '$file'");
117
+ } else {
118
+ // Fall back to a much slower (and manual) process for using PHP to tail the file.
119
+ $fp = fopen($file, 'r');
120
+ $position = filesize($file);
121
+ fseek($fp, $position-1);
122
+ $chunklen = 4096;
123
+ $data = '';
124
+
125
+ while($position >= 0) {
126
+ $position = $position - $chunklen;
127
+
128
+ if ($position < 0) {
129
+ $chunklen = abs($position); $position=0;
130
+ }
131
+
132
+ fseek($fp, $position);
133
+ $data = fread($fp, $chunklen) . $data;
134
+
135
+ if (substr_count($data, "\n") >= $lines + 1) {
136
+ preg_match("!(.*?\n){".($lines-1)."}$!", $data, $match);
137
+ return $match[0];
138
+ }
139
+ }
140
+ fclose($fp);
141
+ }
142
+
143
+ return $data;
144
+ }
145
+ }
app/code/community/Zendesk/Zendesk/Model/Api/Abstract.php CHANGED
@@ -75,7 +75,11 @@ class Zendesk_Zendesk_Model_Api_Abstract extends Mage_Core_Model_Abstract
75
76
if($response->isError()) {
77
if(is_array($body) && isset($body['error'])) {
78
- throw new Exception($body['error']['title'], $response->getStatus());
79
} else {
80
throw new Exception($body, $response->getStatus());
81
}
75
76
if($response->isError()) {
77
if(is_array($body) && isset($body['error'])) {
78
+ if(is_array($body['error']) && isset($body['error']['title'])) {
79
+ throw new Exception($body['error']['title'], $response->getStatus());
80
+ } else {
81
+ throw new Exception($body['error'], $response->getStatus());
82
+ }
83
} else {
84
throw new Exception($body, $response->getStatus());
85
}
app/code/community/Zendesk/Zendesk/Model/Api/Users.php CHANGED
@@ -43,4 +43,10 @@ class Zendesk_Zendesk_Model_Api_Users extends Zendesk_Zendesk_Model_Api_Abstract
43
44
return $response['user'];
45
}
46
}
43
44
return $response['user'];
45
}
46
+
47
+ public function all()
48
+ {
49
+ $response = $this->_call('users.json');
50
+ return $response['users'];
51
+ }
52
}
app/code/community/Zendesk/Zendesk/controllers/Adminhtml/ZendeskController.php CHANGED
@@ -1,6 +1,6 @@
1
<?php
2
/**
3
- * Copyright 2012 Zendesk.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
15
* limitations under the License.
16
*/
17
18
- require_once( Mage::getModuleDir('base'). 'community/Zendesk/Zendesk/Helper/JWT.php');
19
20
class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Controller_Action
21
{
@@ -55,7 +55,7 @@ class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Control
55
56
/**
57
* Used by the Zendesk single sign on functionality to authenticate users.
58
- * Currently only works for admin panel users, not for customers.
59
*/
60
public function authenticateAction()
61
{
@@ -93,17 +93,40 @@ class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Control
93
"external_id" => $externalId
94
);
95
96
- Mage::log(var_export($payload, true), null, 'zendesk.log');
97
98
$jwt = JWT::encode($payload, $token);
99
100
$url = "http://".$domain."/access/jwt?jwt=" . $jwt;
101
102
- Mage::log(var_export($url, true), null, 'zendesk.log');
103
104
$this->_redirectUrl($url);
105
}
106
107
public function createAction()
108
{
109
// Check if we have been passed an order ID, in which case we can preload some of the form details
@@ -236,7 +259,7 @@ class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Control
236
237
$response = Mage::getModel('zendesk/api_tickets')->create($ticket);
238
239
- $text = Mage::helper('zendesk')->__('Ticket #%s Created.', $response['id']);
240
$text .= ' <a href="' . Mage::helper('zendesk')->getUrl('ticket', $response['id']) . '" target="_blank">';
241
$text .= Mage::helper('zendesk')->__('View ticket in Zendesk');
242
$text .= '</a>';
@@ -254,7 +277,7 @@ class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Control
254
{
255
try {
256
Mage::helper('zendesk')->setApiToken();
257
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('zendesk')->__('Successfully generated new API token'));
258
} catch(Exception $e) {
259
Mage::getSingleton('adminhtml/session')->addError($e->getCode() . ': ' . $e->getMessage());
260
}
@@ -287,4 +310,49 @@ class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Control
287
288
$this->getResponse()->setBody($output);
289
}
290
}
1
<?php
2
/**
3
+ * Copyright 2013 Zendesk.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
15
* limitations under the License.
16
*/
17
18
+ require_once(Mage::getModuleDir('', 'Zendesk_Zendesk') . DS . 'Helper' . DS . 'JWT.php');
19
20
class Zendesk_Zendesk_Adminhtml_ZendeskController extends Mage_Adminhtml_Controller_Action
21
{
55
56
/**
57
* Used by the Zendesk single sign on functionality to authenticate users.
58
+ * Only works for admin panel users, not for customers.
59
*/
60
public function authenticateAction()
61
{
93
"external_id" => $externalId
94
);
95
96
+ Mage::log('Admin JWT: ' . var_export($payload, true), null, 'zendesk.log');
97
98
$jwt = JWT::encode($payload, $token);
99
100
$url = "http://".$domain."/access/jwt?jwt=" . $jwt;
101
102
+ Mage::log('Admin URL: ' . $url, null, 'zendesk.log');
103
104
$this->_redirectUrl($url);
105
}
106
107
+ /**
108
+ * Wrapper for the existing authenticate action. Mirrors the login/logout actions available for customers.
109
+ */
110
+ public function loginAction()
111
+ {
112
+ $this->authenticateAction();
113
+ }
114
+
115
+ /**
116
+ * Log out action for SSO support.
117
+ */
118
+ public function logoutAction()
119
+ {
120
+ // Admin sessions do not currently have an explicit "logout" method (unlike customer sessions) so do this
121
+ // manually with the session object
122
+ $adminSession = Mage::getSingleton('admin/session');
123
+ $adminSession->unsetAll();
124
+ $adminSession->getCookie()->delete($adminSession->getSessionName());
125
+ $adminSession->addSuccess(Mage::helper('adminhtml')->__('You have logged out.'));
126
+
127
+ $this->_redirect('*');
128
+ }
129
+
130
public function createAction()
131
{
132
// Check if we have been passed an order ID, in which case we can preload some of the form details
259
260
$response = Mage::getModel('zendesk/api_tickets')->create($ticket);
261
262
+ $text = Mage::helper('zendesk')->__('Ticket #%s Created', $response['id']);
263
$text .= ' <a href="' . Mage::helper('zendesk')->getUrl('ticket', $response['id']) . '" target="_blank">';
264
$text .= Mage::helper('zendesk')->__('View ticket in Zendesk');
265
$text .= '</a>';
277
{
278
try {
279
Mage::helper('zendesk')->setApiToken();
280
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('zendesk')->__('Successfully generated a new API token'));
281
} catch(Exception $e) {
282
Mage::getSingleton('adminhtml/session')->addError($e->getCode() . ': ' . $e->getMessage());
283
}
310
311
$this->getResponse()->setBody($output);
312
}
313
+
314
+ public function logAction()
315
+ {
316
+ $path = Mage::helper('zendesk/log')->getLogPath();
317
+
318
+ if(!file_exists($path)) {
319
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('zendesk')->__('The Zendesk log file has not been created. Check to see if logging has been enabled.'));
320
+ }
321
+
322
+ if(Mage::helper('zendesk/log')->isLogTooLarge()) {
323
+ Mage::getSingleton('adminhtml/session')->addNotice(Mage::helper('zendesk')->__("File size too large - only showing the last %s lines. Click Download to retrieve the entire file.", Mage::helper('zendesk/log')->getTailSize()));
324
+ }
325
+
326
+ $this->_title($this->__('Zendesk Log Viewer'));
327
+ $this->loadLayout();
328
+ $this->_setActiveMenu('zendesk/zendesk_log');
329
+ $this->renderLayout();
330
+ }
331
+
332
+ public function downloadAction()
333
+ {
334
+ $this->_prepareDownloadResponse('zendesk.log', Mage::helper('zendesk/log')->getLogContents(false));
335
+ }
336
+
337
+ public function clearLogAction()
338
+ {
339
+ Mage::helper('zendesk/log')->clear();
340
+ $this->_redirect('*/*/log');
341
+ }
342
+
343
+ public function checkOutboundAction()
344
+ {
345
+ try {
346
+ // Try to retrieve a user with ID 1, which should always exist as a user account is needed to set up
347
+ // the API credentials in the first place.
348
+ $user = Mage::getModel('zendesk/api_users')->all();
349
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('zendesk')->__('Connection to Zendesk API successful'));
350
+ } catch(Exception $e) {
351
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('zendesk')->__('Connection to Zendesk API failed') .
352
+ '<br />' . $e->getCode() . ': ' . $e->getMessage() .
353
+ '<br />' . Mage::helper('zendesk')->__('Troubleshooting tips can be found at <a href=%s>%s</a>', 'https://support.zendesk.com/entries/26579987', 'https://support.zendesk.com/entries/26579987'));
354
+ }
355
+
356
+ $this->_redirect('adminhtml/system_config/edit/section/zendesk');
357
+ }
358
}
app/code/community/Zendesk/Zendesk/controllers/ApiController.php CHANGED
@@ -1,6 +1,6 @@
1
<?php
2
/**
3
- * Copyright 2012 Zendesk.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
@@ -23,7 +23,14 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
23
// Perform some basic checks before running any of the API methods
24
// Note that authorisation will accept either the provisioning or the standard API token, which facilitates API
25
// methods being called during the setup process
26
- $tokenString = $this->getRequest()->getHeader('authorization');
27
28
$token = null;
29
$matches = array();
@@ -43,15 +50,32 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
43
->setBody(json_encode(array('success' => false, 'message' => 'API access disabled')))
44
->setHttpResponseCode(403)
45
->setHeader('Content-type', 'application/json', true);
46
return false;
47
}
48
49
// If the API is enabled then check the token
50
- if(!$token || $token != $apiToken) {
51
$this->getResponse()
52
->setBody(json_encode(array('success' => false, 'message' => 'Not authorised')))
53
->setHttpResponseCode(401)
54
->setHeader('Content-type', 'application/json', true);
55
return false;
56
}
57
}
@@ -72,7 +96,7 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
72
73
if(!$order && !$order->getId()) {
74
$this->getResponse()
75
- >setBody(json_encode(array('success' => false, 'message' => 'Order does not exist')))
76
->setHttpResponseCode(404)
77
->setHeader('Content-type', 'application/json', true);
78
return $this;
@@ -346,4 +370,4 @@ class Zendesk_Zendesk_ApiController extends Mage_Core_Controller_Front_Action
346
->setHeader('Content-type', 'application/json', true);
347
return $this;
348
}
349
- }
1
<?php
2
/**
3
+ * Copyright 2013 Zendesk.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
23
// Perform some basic checks before running any of the API methods
24
// Note that authorisation will accept either the provisioning or the standard API token, which facilitates API
25
// methods being called during the setup process
26
+ $authHeader = $this->getRequest()->getHeader('authorization');
27
+
28
+ if (!$authHeader) {
29
+ Mage::log('Unable to extract authorization header from request', null, 'zendesk.log');
30
+ return false;
31
+ }
32
+
33
+ $tokenString = stripslashes($authHeader);
34
35
$token = null;
36
$matches = array();
50
->setBody(json_encode(array('success' => false, 'message' => 'API access disabled')))
51
->setHttpResponseCode(403)
52
->setHeader('Content-type', 'application/json', true);
53
+
54
+ Mage::log('API access disabled.', null, 'zendesk.log');
55
+
56
return false;
57
}
58
59
// If the API is enabled then check the token
60
+ if(!$token) {
61
+ $this->getResponse()
62
+ ->setBody(json_encode(array('success' => false, 'message' => 'No authorisation token provided')))
63
+ ->setHttpResponseCode(401)
64
+ ->setHeader('Content-type', 'application/json', true);
65
+
66
+ Mage::log('No authorisation token provided.', null, 'zendesk.log');
67
+
68
+ return false;
69
+ }
70
+
71
+ if($token != $apiToken) {
72
$this->getResponse()
73
->setBody(json_encode(array('success' => false, 'message' => 'Not authorised')))
74
->setHttpResponseCode(401)
75
->setHeader('Content-type', 'application/json', true);
76
+
77
+ Mage::log('Not authorised.', null, 'zendesk.log');
78
+
79
return false;
80
}
81
}
96
97
if(!$order && !$order->getId()) {
98
$this->getResponse()
99
+ ->setBody(json_encode(array('success' => false, 'message' => 'Order does not exist')))
100
->setHttpResponseCode(404)
101
->setHeader('Content-type', 'application/json', true);
102
return $this;
370
->setHeader('Content-type', 'application/json', true);
371
return $this;
372
}
373
+ }
app/code/community/Zendesk/Zendesk/controllers/SsoController.php ADDED
@@ -0,0 +1,89 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ require_once(Mage::getModuleDir('', 'Zendesk_Zendesk') . DS . 'Helper' . DS . 'JWT.php');
19
+
20
+ class Zendesk_Zendesk_SsoController extends Mage_Core_Controller_Front_Action
21
+ {
22
+ /**
23
+ * Used by the Zendesk single sign on functionality to authenticate users.
24
+ * This method is used for end-users, not administrators.
25
+ */
26
+ public function loginAction()
27
+ {
28
+ if(!Mage::getStoreConfig('zendesk/sso_frontend/enabled')) {
29
+ $this->_redirect('/');
30
+ return $this;
31
+ }
32
+
33
+ $domain = Mage::getStoreConfig('zendesk/general/domain');
34
+ $token = Mage::getStoreConfig('zendesk/sso_frontend/token');
35
+
36
+ if(!Zend_Validate::is($domain, 'NotEmpty')) {
37
+ Mage::log(Mage::helper('zendesk')->__('Zendesk domain not set. Please add this to the settings page.'), null, 'zendesk.log');
38
+ $this->_redirect('/');
39
+ return $this;
40
+ }
41
+
42
+ if(!Zend_Validate::is($token, 'NotEmpty')) {
43
+ Mage::log(Mage::helper('zendesk')->__('Zendesk SSO token not set. Please add this to the settings page.'), null, 'zendesk.log');
44
+ $this->_redirect('/');
45
+ return $this;
46
+ }
47
+
48
+ // Attempt to authenticate the customer, which will try and log them in, if they aren't already.
49
+ // If the customer is not logged in they should be redirected to the login form, then redirected back here
50
+ // on success.
51
+ if (!Mage::getSingleton('customer/session')->authenticate($this)) {
52
+ $this->setFlag('', self::FLAG_NO_DISPATCH, true);
53
+ return $this;
54
+ }
55
+
56
+ $now = time();
57
+ $jti = md5($now . rand());
58
+
59
+ $user = Mage::getSingleton('customer/session')->getCustomer();
60
+ $name = $user->getName();
61
+ $email = $user->getEmail();
62
+ $externalId = $user->getEntityId();
63
+
64
+ $payload = array(
65
+ "iat" => $now,
66
+ "jti" => $jti,
67
+ "name" => $name,
68
+ "email" => $email,
69
+ "external_id" => $externalId
70
+ );
71
+
72
+ Mage::log('End-user JWT: ' . var_export($payload, true), null, 'zendesk.log');
73
+
74
+ $jwt = JWT::encode($payload, $token);
75
+
76
+ $url = "http://".$domain."/access/jwt?jwt=" . $jwt;
77
+
78
+ Mage::log('End-user URL: ' . $url, null, 'zendesk.log');
79
+
80
+ $this->_redirectUrl($url);
81
+ }
82
+
83
+ public function logoutAction()
84
+ {
85
+ // The logout method should already be doing standard checks for whether the customer is already logged in
86
+ Mage::getSingleton('customer/session')->logout();
87
+ $this->_redirect('/');
88
+ }
89
+ }
app/code/community/Zendesk/Zendesk/etc/config.xml CHANGED
@@ -19,7 +19,7 @@
19
<config>
20
<modules>
21
<Zendesk_Zendesk>
22
- <version>1.2.0</version>
23
</Zendesk_Zendesk>
24
</modules>
25
<zendesk>
@@ -164,6 +164,11 @@
164
<action>adminhtml/system_config/edit/section/zendesk</action>
165
<sort_order>4</sort_order>
166
</zendesk_settings>
167
</children>
168
</zendesk>
169
</menu>
@@ -171,19 +176,24 @@
171
<resources>
172
<admin>
173
<children>
174
- <zendesk>
175
<children>
176
<zendesk_dashboard translate="title" module="zendesk">
177
<title>Dashboard</title>
178
</zendesk_dashboard>
179
<zendesk_create translate="title" module="zendesk">
180
<title>Create Ticket</title>
181
</zendesk_create>
182
<zendesk_launch translate="title" module="zendesk">
183
<title>Launch Zendesk</title>
184
</zendesk_launch>
185
<zendesk_settings translate="title" module="zendesk">
186
<title>Settings</title>
187
</zendesk_settings>
188
</children>
189
</zendesk>
19
<config>
20
<modules>
21
<Zendesk_Zendesk>
22
+ <version>1.3.0</version>
23
</Zendesk_Zendesk>
24
</modules>
25
<zendesk>
164
<action>adminhtml/system_config/edit/section/zendesk</action>
165
<sort_order>4</sort_order>
166
</zendesk_settings>
167
+ <zendesk_log module="zendesk">
168
+ <title>Log Viewer</title>
169
+ <action>adminhtml/zendesk/log</action>
170
+ <sort_order>5</sort_order>
171
+ </zendesk_log>
172
</children>
173
</zendesk>
174
</menu>
176
<resources>
177
<admin>
178
<children>
179
+ <zendesk translate="title" module="zendesk">
180
+ <title>Zendesk Dashboard</title>
181
<children>
182
<zendesk_dashboard translate="title" module="zendesk">
183
<title>Dashboard</title>
184
+ <sort_order>1</sort_order>
185
</zendesk_dashboard>
186
<zendesk_create translate="title" module="zendesk">
187
<title>Create Ticket</title>
188
+ <sort_order>2</sort_order>
189
</zendesk_create>
190
<zendesk_launch translate="title" module="zendesk">
191
<title>Launch Zendesk</title>
192
+ <sort_order>3</sort_order>
193
</zendesk_launch>
194
<zendesk_settings translate="title" module="zendesk">
195
<title>Settings</title>
196
+ <sort_order>4</sort_order>
197
</zendesk_settings>
198
</children>
199
</zendesk>
app/code/community/Zendesk/Zendesk/etc/system.xml CHANGED
@@ -71,12 +71,21 @@
71
<show_in_store>1</show_in_store>
72
<comment><![CDATA[To generate a token, log in to Zendesk then select Manage > Channels > API > Token]]></comment>
73
</password>
74
</fields>
75
</general>
76
<sso translate="label comment">
77
<expanded>1</expanded>
78
- <label>Single Sign-on</label>
79
- <comment>Use Magento to manage user authentication.</comment>
80
<frontend_type>text</frontend_type>
81
<sort_order>20</sort_order>
82
<show_in_default>1</show_in_default>
@@ -102,6 +111,35 @@
102
</token>
103
</fields>
104
</sso>
105
<features translate="label">
106
<expanded>1</expanded>
107
<label>Features</label>
@@ -181,7 +219,7 @@
181
<label></label>
182
<frontend_model>zendesk/adminhtml_config_link</frontend_model>
183
<destination><![CDATA[account/dropboxes/new]]></destination>
184
- <value>Customise Feedback Tab</value>
185
<sort_order>8</sort_order>
186
<show_in_default>1</show_in_default>
187
<show_in_website>1</show_in_website>
@@ -245,6 +283,15 @@
245
<show_in_website>1</show_in_website>
246
<show_in_store>1</show_in_store>
247
</sign_up>
248
</fields>
249
</api>
250
<support_channels translate="label comment">
@@ -350,7 +397,7 @@
350
<fields>
351
<sign_up translate="button_label">
352
<label></label>
353
- <button_label>Setup Guide</button_label>
354
<frontend_model>zendesk/adminhtml_config_buttons_signup</frontend_model>
355
<sort_order>1</sort_order>
356
<show_in_default>1</show_in_default>
71
<show_in_store>1</show_in_store>
72
<comment><![CDATA[To generate a token, log in to Zendesk then select Manage > Channels > API > Token]]></comment>
73
</password>
74
+ <test translate="button_label">
75
+ <label></label>
76
+ <button_label>Test Connection</button_label>
77
+ <frontend_model>zendesk/adminhtml_config_buttons_zendeskTest</frontend_model>
78
+ <sort_order>4</sort_order>
79
+ <show_in_default>1</show_in_default>
80
+ <show_in_website>1</show_in_website>
81
+ <show_in_store>1</show_in_store>
82
+ </test>
83
</fields>
84
</general>
85
<sso translate="label comment">
86
<expanded>1</expanded>
87
+ <label>Single Sign-on - Admins and Agents</label>
88
+ <comment>Use Magento to manage admin and agent authentication.</comment>
89
<frontend_type>text</frontend_type>
90
<sort_order>20</sort_order>
91
<show_in_default>1</show_in_default>
111
</token>
112
</fields>
113
</sso>
114
+ <sso_frontend translate="label comment">
115
+ <expanded>1</expanded>
116
+ <label>Single Sign-on - End-users</label>
117
+ <comment>Use Magento to manage end-user authentication.</comment>
118
+ <frontend_type>text</frontend_type>
119
+ <sort_order>25</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>1</show_in_store>
123
+ <fields>
124
+ <enabled translate="label">
125
+ <label>Single Sign-on Enabled</label>
126
+ <frontend_type>select</frontend_type>
127
+ <source_model>adminhtml/system_config_source_yesno</source_model>
128
+ <sort_order>1</sort_order>
129
+ <show_in_default>1</show_in_default>
130
+ <show_in_website>1</show_in_website>
131
+ <show_in_store>1</show_in_store>
132
+ </enabled>
133
+ <token translate="label">
134
+ <label>Remote Authentication Token</label>
135
+ <frontend_type>text</frontend_type>
136
+ <sort_order>2</sort_order>
137
+ <show_in_default>1</show_in_default>
138
+ <show_in_website>1</show_in_website>
139
+ <show_in_store>1</show_in_store>
140
+ </token>
141
+ </fields>
142
+ </sso_frontend>
143
<features translate="label">
144
<expanded>1</expanded>
145
<label>Features</label>
219
<label></label>
220
<frontend_model>zendesk/adminhtml_config_link</frontend_model>
221
<destination><![CDATA[account/dropboxes/new]]></destination>
222
+ <value>Customize Feedback Tab</value>
223
<sort_order>8</sort_order>
224
<show_in_default>1</show_in_default>
225
<show_in_website>1</show_in_website>
283
<show_in_website>1</show_in_website>
284
<show_in_store>1</show_in_store>
285
</sign_up>
286
+ <test translate="button_label">
287
+ <label></label>
288
+ <button_label>Test Connection</button_label>
289
+ <frontend_model>zendesk/adminhtml_config_buttons_magentoTest</frontend_model>
290
+ <sort_order>4</sort_order>
291
+ <show_in_default>1</show_in_default>
292
+ <show_in_website>1</show_in_website>
293
+ <show_in_store>1</show_in_store>
294
+ </test>
295
</fields>
296
</api>
297
<support_channels translate="label comment">
397
<fields>
398
<sign_up translate="button_label">
399
<label></label>
400
+ <button_label>Setup guide</button_label>
401
<frontend_model>zendesk/adminhtml_config_buttons_signup</frontend_model>
402
<sort_order>1</sort_order>
403
<show_in_default>1</show_in_default>
app/design/adminhtml/default/default/layout/zendesk.xml CHANGED
@@ -61,4 +61,11 @@
61
<block type="zendesk/adminhtml_create_edit" name="create"/>
62
</reference>
63
</adminhtml_zendesk_create>
64
</layout>
61
<block type="zendesk/adminhtml_create_edit" name="create"/>
62
</reference>
63
</adminhtml_zendesk_create>
64
+
65
+ <adminhtml_zendesk_log>
66
+ <remove name="left" />
67
+ <reference name="content">
68
+ <block type="zendesk/adminhtml_log" name="zendesk_log" />
69
+ </reference>
70
+ </adminhtml_zendesk_log>
71
</layout>
app/design/adminhtml/default/default/template/zendesk/config/button-test-magento.phtml ADDED
@@ -0,0 +1,44 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ ?>
18
+ <script type="text/javascript">
19
+ function checkApiConnection() {
20
+ var request = new Ajax.Request('<?php echo $this->getTestUrl(); ?>', {
21
+ method: 'get',
22
+ requestHeaders: {
23
+ Authorization: '<?php echo $this->getAuthHeader(); ?>'
24
+ },
25
+ onCreate: function() {
26
+ document.getElementById('zendesk-test-connection-results').innerHTML = '';
27
+ },
28
+ onSuccess: function(transport) {
29
+ var message = '<ul class="messages"><li class="success-msg"><?php echo Mage::helper('zendesk')->__('API test connection successful'); ?></li></ul>';
30
+ document.getElementById('zendesk-test-connection-results').innerHTML = message;
31
+ },
32
+ onFailure: function(transport) {
33
+ var message = '<ul class="messages"><li class="error-msg"><?php echo Mage::helper('zendesk')->__('API test connection failed'); ?><br />' +
34
+ '<?php echo Mage::helper('zendesk')->__('Troubleshooting tips can be found at <a href="%s" target="_blank">%s</a>', 'https://support.zendesk.com/entries/26579987', 'https://support.zendesk.com/entries/26579987'); ?>' +
35
+ '</li></ul>';
36
+ document.getElementById('zendesk-test-connection-results').innerHTML = message;
37
+ }
38
+ });
39
+ }
40
+ </script>
41
+ <button style="" onclick="javascript:checkApiConnection(); return false;" class="scalable" type="button" id="<?php echo $this->getHtmlId() ?>">
42
+ <span><?php echo $this->escapeHtml($this->getButtonLabel()) ?></span>
43
+ </button>
44
+ <div id="zendesk-test-connection-results"></div>
app/design/adminhtml/default/default/template/zendesk/config/button-test-zendesk.phtml ADDED
@@ -0,0 +1,20 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ ?>
18
+ <button style="" onclick="setLocation('<?php echo $this->getUrl('adminhtml/zendesk/checkOutbound'); ?>');" class="scalable" type="button" id="<?php echo $this->getHtmlId() ?>">
19
+ <span><?php echo $this->escapeHtml($this->getButtonLabel()) ?></span>
20
+ </button>
app/design/adminhtml/default/default/template/zendesk/dashboard/tabs/view.phtml CHANGED
@@ -137,4 +137,4 @@ if($view) {
137
</table>
138
</div>
139
<div class="clear"></div>
140
- <?php endif; ?>
137
</table>
138
</div>
139
<div class="clear"></div>
140
+ <?php endif; ?>
app/design/adminhtml/default/default/template/zendesk/left-menu.phtml CHANGED
@@ -17,24 +17,32 @@
17
?>
18
<h3>Zendesk</h3>
19
<ul class="tabs">
20
<li>
21
<a href="<?php echo $this->getUrl('*/*/index'); ?>" class="tab-item-link<?php if($this->getActiveItem() == "dashboard") echo ' active'; ?>">
22
<span><?php echo $this->__('Dashboard'); ?></span>
23
</a>
24
</li>
25
<li>
26
<a href="<?php echo $this->getUrl('*/*/create'); ?>" class="tab-item-link<?php if($this->getActiveItem() == "create") echo ' active'; ?>">
27
<span><?php echo $this->__('Create Ticket'); ?></span>
28
</a>
29
</li>
30
<li>
31
<a href="<?php echo Mage::helper('zendesk')->getUrl(); ?>" target="_blank" class="tab-item-link">
32
<span><?php echo $this->__('Launch Zendesk'); ?></span>
33
</a>
34
</li>
35
<li>
36
<a href="<?php echo $this->getUrl('adminhtml/system_config/edit/section/zendesk'); ?>" class="tab-item-link">
37
<span><?php echo $this->__('Settings'); ?></span>
38
</a>
39
</li>
40
- </ul>
17
?>
18
<h3>Zendesk</h3>
19
<ul class="tabs">
20
+ <?php if ($this->isAllowed('dashboard')) { ?>
21
<li>
22
<a href="<?php echo $this->getUrl('*/*/index'); ?>" class="tab-item-link<?php if($this->getActiveItem() == "dashboard") echo ' active'; ?>">
23
<span><?php echo $this->__('Dashboard'); ?></span>
24
</a>
25
</li>
26
+ <?php } ?>
27
+ <?php if ($this->isAllowed('create')) { ?>
28
<li>
29
<a href="<?php echo $this->getUrl('*/*/create'); ?>" class="tab-item-link<?php if($this->getActiveItem() == "create") echo ' active'; ?>">
30
<span><?php echo $this->__('Create Ticket'); ?></span>
31
</a>
32
</li>
33
+ <?php } ?>
34
+ <?php if ($this->isAllowed('launch')) { ?>
35
<li>
36
<a href="<?php echo Mage::helper('zendesk')->getUrl(); ?>" target="_blank" class="tab-item-link">
37
<span><?php echo $this->__('Launch Zendesk'); ?></span>
38
</a>
39
</li>
40
+ <?php } ?>
41
+ <?php if ($this->isAllowed('settings')) { ?>
42
<li>
43
<a href="<?php echo $this->getUrl('adminhtml/system_config/edit/section/zendesk'); ?>" class="tab-item-link">
44
<span><?php echo $this->__('Settings'); ?></span>
45
</a>
46
</li>
47
+ <?php } ?>
48
+ </ul>
app/design/adminhtml/default/default/template/zendesk/log/index.phtml ADDED
@@ -0,0 +1,31 @@
1
+ <?php
2
+ /**
3
+ * Copyright 2013 Zendesk.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ ?>
18
+ <div class="content-header">
19
+ <h3 class="icon-head head-empty"><?php echo $this->__('Log Viewer') ?></h3>
20
+ <p class="form-buttons">
21
+ <button id="download-log" title="Download" type="button" class="scalable" onclick="setLocation('<?php echo $this->getUrl('adminhtml/zendesk/download'); ?>');">
22
+ <span>Download Log</span>
23
+ </button>
24
+ <button id="clear-log" title="Clear Log" type="button" class="scalable delete" onclick="confirmSetLocation('<?php echo $this->__('Are you sure you want to clear the entire Zendesk log?'); ?>', '<?php echo $this->getUrl('adminhtml/zendesk/clearLog'); ?>');">
25
+ <span>Clear Log</span>
26
+ </button>
27
+ </p>
28
+ </div>
29
+ <div class="zendesk_log_container">
30
+ <textarea style="width: 100%; height: 400px;"><?php echo $this->getLogContents(); ?></textarea>
31
+ </div>
app/locale/de_DE/Zendesk_Zendesk.csv CHANGED
@@ -1,76 +1,98 @@
1
"English","Deutsch"
2
- "Required for Magento App inside Zendesk to work.","Erforderlich, damit die Magento-App in Zendesk funktioniert."
3
- "API Enabled","API aktiviert"
4
- "Generate","Generieren"
5
- "Successfully generated a new API token","Neuer API-Token erfolgreich generiert"
6
"API Details","API-Details"
7
"API Token","API-Token"
8
- "Create tickets from Contact Us form","Tickets aus Kontaktformular erstellen"
9
- "Decide which features you would like turned on in your Magento store.","Geben Sie an, welche Funktionen in Ihrem Magento-Shop aktiviert werden sollen."
10
"Code to display Feedback Tab","Code zur Darstellung des Feedback-Menüs"
11
"Customize Feedback Tab","Feedback-Menü anpassen"
12
- "Zendesk Order Number field ID","Zendesk-Bestellnummerfeld-ID"
13
- "Used to link order in Magento with tickets in Zendesk","Dient zur Verknüpfung der Bestellung in Magento mit Tickets in Zendesk"
14
- "Show support tickets on customer view","Supporttickets in Kundenansicht anzeigen"
15
- "Show support tickets on admin dashboard","Supporttickets in Admin-Dashboard anzeigen"
16
- "Show support tickets on order view","Supporttickets in Bestellansicht anzeigen"
17
"Features","Funktionen"
18
- "Views to show on dashboards","Ansichten, die in Dashboards erscheinen sollen"
19
"General settings that are required to connect Zendesk and Magento.","Allgemeine Einstellungen, die zur Verbindung von Zendesk und Magento erforderlich sind."
20
- "Zendesk Domain","Zendesk-Domäne"
21
- "Agent Email Address","E-Mail-Adresse des Agenten"
22
- "Remote Authentication Token","Token zur Remoteauthentifizierung"
23
"General","Allgemein"
24
- "Agent Token","Agenten-Token"
25
- "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Um einen Token zu generieren, melden Sie sich bei Zendesk an und wählen Sie dann „Verwalten“ > „Kanäle“ > „API“ > „Token“."
26
"Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Sie haben Zendesk noch nicht eingerichtet? Befolgen Sie unsere Setup-Anleitung, um Ihre Kunden über Zendesk zu unterstützen."
27
- "Setup","Setup"
28
- "Use Magento to manage user authentication.","Benutzerauthentifizierung über Magento verwalten."
29
- "Single Sign-on","Single-Sign-On"
30
- "API","API"
31
- "Chat","Chat"
32
- "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Kunden können von Zendesk aus auf die gewünschte Weise mit Ihnen Kontakt aufnehmen. Konfigurieren Sie die Kanäle, die Sie verwenden möchten, über die unten stehenden Links."
33
- "Email","E-Mail"
34
- "Facebook","Facebook"
35
- "Feedback Tab","Feedback-Menü"
36
- "Support Channels","Supportkanäle"
37
- "Twitter","Twitter"
38
- "Voice","Voice"
39
- "Web Portal","Web-Portal"
40
- "Dashboard","Dashboard"
41
- "Zendesk domain not set. Please add this to the settings page.","Zendesk-Domäne nicht festgelegt. Fügen Sie sie zur Einstellungsseite hinzu."
42
"Launch Zendesk","Zendesk starten"
43
- "No views selected. Please select one or more from the settings page.","Keine Ansichten ausgewählt. Wählen Sie auf der Einstellungsseite eine oder mehrere Ansichten aus."
44
- "Zendesk SSO token not been set. Please add this to the settings page.","Zendesk-SSO-Token nicht festgelegt. Fügen Sie ihn zur Einstellungsseite hinzu."
45
- "Support Tickets","Supporttickets"
46
- "View All Tickets","Alle Tickets anzeigen"
47
- "View ticket in Zendesk","Ticket in Zendesk anzeigen"
48
- "Assignee","Mitarbeiter"
49
- "Create Ticket","Ticket erstellen"
50
- "Description","Beschreibung"
51
- "Group","Gruppe"
52
"New Support Ticket","Neues Supportticket"
53
"No tickets found","Keine Tickets gefunden"
54
"Order number","Bestellnummer"
55
"Priority","Priorität"
56
- "High","Hoch"
57
- "Low","Niedrig"
58
- "Normal","Normal"
59
- "Urgent","Dringend"
60
"Requester Email","E-Mail-Adresse des Anfragenden"
61
"Requester Name","Name des Anfragenden"
62
"Requester Website","Website des Anfragenden"
63
- "Status","Status"
64
- "New","Neu"
65
- "On-hold","Angehalten"
66
- "Open","Offen"
67
- "Pending","Wartend"
68
"Solved","Gelöst"
69
"Subject","Betreff"
70
"Ticket #%s Created","Ticket #%s erstellt"
71
"Type","Typ"
72
- "Incident","Ereignis"
73
- "Problem","Problem"
74
- "Question","Frage"
75
- "Task","Aufgabe"
76
"Updated","Aktualisiert"
1
"English","Deutsch"
2
"API Details","API-Details"
3
+ "API Enabled","API aktiviert"
4
"API Token","API-Token"
5
+ "API test connection failed","API-Testverbindung fehlgeschlagen"
6
+ "API test connection successful","API-Testverbindung erfolgreich"
7
+ "API","API"
8
+ "Agent Email Address","E-Mail-Adresse des Agenten"
9
+ "Agent Token","Agententoken"
10
+ "Are you sure you want to clear the entire Zendesk log?","Möchten Sie wirklich den gesamten Inhalt des Zendesk-Protokolls löschen?"
11
+ "Assignee","Mitarbeiter"
12
+ "Chat","Chat"
13
"Code to display Feedback Tab","Code zur Darstellung des Feedback-Menüs"
14
+ "Connection to Zendesk API failed","Verbindung zur Zendesk-API fehlgeschlagen"
15
+ "Connection to Zendesk API successful","Verbindung zur Zendesk-API erfolgreich"
16
+ "Create Ticket","Ticket erstellen"
17
+ "Create tickets from Contact Us form","Tickets aus Kontaktformular erstellen"
18
"Customize Feedback Tab","Feedback-Menü anpassen"
19
+ "Dashboard","Dashboard"
20
+ "Decide which features you would like turned on in your Magento store.","Geben Sie an, welche Funktionen in Ihrem Magento-Shop aktiviert werden sollen."
21
+ "Description","Beschreibung"
22
+ "Display link to Zendesk in Magento footer","Link zu Zendesk im Magento-Fußbereich anzeigen"
23
+ "Email","E-Mail"
24
+ "Facebook","Facebook"
25
"Features","Funktionen"
26
+ "Feedback Tab","Feedback-Menü"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","Datei zu groß – nur die letzten %s Zeilen werden angezeigt. Klicken Sie auf „Download“, um die gesamte Datei herunterzuladen."
28
"General settings that are required to connect Zendesk and Magento.","Allgemeine Einstellungen, die zur Verbindung von Zendesk und Magento erforderlich sind."
29
"General","Allgemein"
30
+ "Generate","Generieren"
31
+ "Group","Gruppe"
32
"Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Sie haben Zendesk noch nicht eingerichtet? Befolgen Sie unsere Setup-Anleitung, um Ihre Kunden über Zendesk zu unterstützen."
33
+ "High","Hoch"
34
+ "Incident","Vorfall"
35
"Launch Zendesk","Zendesk starten"
36
+ "Low","Niedrig"
37
"New Support Ticket","Neues Supportticket"
38
+ "New","Neu"
39
"No tickets found","Keine Tickets gefunden"
40
+ "No views selected. Please select one or more from the settings page.","Keine Ansichten ausgewählt. Wählen Sie auf der Einstellungsseite eine oder mehrere Ansichten aus."
41
+ "Normal","Normal"
42
+ "On-hold","Angehalten"
43
+ "Open","Offen"
44
"Order number","Bestellnummer"
45
+ "Pending","Wartend"
46
"Priority","Priorität"
47
+ "Problem","Problem"
48
+ "Question","Frage"
49
+ "Remote Authentication Token","Token zur Remoteauthentifizierung"
50
+ "Remote Authentication Token","Token zur Remoteauthentifizierung"
51
+ "Requested","Angefragt"
52
"Requester Email","E-Mail-Adresse des Anfragenden"
53
"Requester Name","Name des Anfragenden"
54
"Requester Website","Website des Anfragenden"
55
+ "Requester","Anfragender"
56
+ "Required for Magento App inside Zendesk to work.","Erforderlich, damit die Magento-App in Zendesk funktioniert."
57
+ "Save Config","Konfig. speichern"
58
+ "Settings","Einstellungen"
59
+ "Setup guide","Setup-Anleitung"
60
+ "Setup","Setup"
61
+ "Show support tickets on admin dashboard","Supporttickets in Admin-Dashboard anzeigen"
62
+ "Show support tickets on customer view","Supporttickets in Kundenansicht anzeigen"
63
+ "Show support tickets on order view","Supporttickets in Bestellansicht anzeigen"
64
+ "Single Sign-on - Admins and Agents","Single-Sign-On – Administratoren und Agenten"
65
+ "Single Sign-on - End-users","Single-Sign-On – Endbenutzer"
66
+ "Single Sign-on Enabled","Single-Sign-On aktiviert"
67
+ "Single Sign-on Enabled","Single-Sign-On aktiviert"
68
"Solved","Gelöst"
69
+ "Status","Status"
70
"Subject","Betreff"
71
+ "Successfully generated a new API token","Neues API-Token erfolgreich generiert"
72
+ "Support Channels","Supportkanäle"
73
+ "Support Tickets","Supporttickets"
74
+ "Task","Aufgabe"
75
+ "Test Connection","Verbindung testen"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","Die Zendesk-Protokolldatei wurde nicht erstellt. Stellen Sie sicher, dass die Protokollierung aktiviert ist."
77
"Ticket #%s Created","Ticket #%s erstellt"
78
+ "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Um ein Token zu generieren, melden Sie sich bei Zendesk an und wählen Sie dann „Verwalten“ > „Kanäle“ > „API“ > „Token“."
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Tipps zur Fehlerbehebung finden Sie unter <a href="%s">%s</a>."
80
+ "Twitter","Twitter"
81
"Type","Typ"
82
"Updated","Aktualisiert"
83
+ "Urgent","Dringend"
84
+ "Use Magento to manage admin and agent authentication.","Authentifizierung von Administratoren und Agenten über Magento verwalten."
85
+ "Use Magento to manage end-user authentication.","Authentifizierung von Endbenutzern über Magento verwalten."
86
+ "Use Magento to manage user authentication.","Benutzerauthentifizierung über Magento verwalten."
87
+ "Used to link order in Magento with tickets in Zendesk","Dient zur Verknüpfung der Bestellung in Magento mit Tickets in Zendesk"
88
+ "View All Tickets","Alle Tickets anzeigen"
89
+ "View ticket in Zendesk","Ticket in Zendesk anzeigen"
90
+ "Views to show on dashboards","Ansichten, die in Dashboards erscheinen sollen"
91
+ "Voice","Voice"
92
+ "Web Portal","Web-Portal"
93
+ "Zendesk Domain","Zendesk-Domäne"
94
+ "Zendesk Log Viewer","Zendesk-Protokollanzeige"
95
+ "Zendesk Order Number field ID","Zendesk-Bestellnummerfeld-ID"
96
+ "Zendesk SSO token not been set. Please add this to the settings page.","Zendesk-SSO-Token nicht festgelegt. Fügen Sie es zur Einstellungsseite hinzu."
97
+ "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Kunden können von Zendesk aus auf die gewünschte Weise mit Ihnen Kontakt aufnehmen. Konfigurieren Sie die Kanäle, die Sie verwenden möchten, über die unten stehenden Links."
98
+ "Zendesk domain not set. Please add this to the settings page.","Zendesk-Domäne nicht festgelegt. Fügen Sie sie zur Einstellungsseite hinzu."
app/locale/en_US/Zendesk_Zendesk.csv CHANGED
@@ -1,58 +1,98 @@
1
- Agent Details,Agent Details
2
- Agent Email Address,Agent Email Address
3
- Agent Token,Agent Token
4
- API Details,API Details
5
- API Enabled,API Enabled
6
- API Token,API Token
7
- Assignee,Assignee
8
- Code to display Feedback Tab,Code to display Feedback Tab
9
- Create Ticket,Create Ticket
10
- Create tickets from Contact Us form,Create tickets from Contact Us form
11
- Customise Feedback Tab,Customise Feedback Tab
12
- Dashboard,Dashboard
13
- Decide which features you would like turned on in your Magento store.,Decide which features you would like turned on in your Magento store.
14
- Display link to Zendesk in Magento footer,Display link to Zendesk in Magento footer
15
- Features,Features
16
- General settings that are required to connect Zendesk and Magento,General settings that are required to connect Zendesk and Magento.
17
- Group,Group
18
- Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.,Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.
19
- Launch Zendesk,Launch Zendesk
20
- New Support Ticket,New Support Ticket
21
- No tickets found,No tickets found
22
- No views selected. Please select one or more from the settings page.,No views selected. Please select one or more from the settings page.
23
- Order number, Order number
24
- Priority,Priority
25
- Remote Authentication,Remote Authentication
26
- Remote Authentication Token,Remote Authentication Token
27
- Requested,Requested
28
- Requester,Requester
29
- Required for Magento App inside Zendesk to work.,Required for Magento App inside Zendesk to work.
30
- Save Config, Save Config
31
- Settings,Settings
32
- Setup,Setup
33
- Setup Guide,Setup Guide
34
- Show support tickets on admin dashboard,Show support tickets on admin dashboard
35
- Show support tickets on customer view,Show support tickets on customer view
36
- Show support tickets on order view,Show support tickets on order view
37
- Single Sign-on, Single Sign-on
38
- Single Sign-on Enabled, Single Sign-on Enabled
39
- Status,Status
40
- Subject,Subject
41
- Successfully generated new API token,Successfully generated new API token
42
- Support,Support
43
- Support Tickets,Support Tickets
44
- Settings,Settings
45
- Ticket #%s Created.,Ticket #%s Created.
46
- "To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk.","To deploy tickets from Zendesk, we require a username and password/token of an agent on your Zendesk."
47
"To generate a token, log in to Zendesk then select Manage > Channels > API > Token","To generate a token, log in to Zendesk then select Manage > Channels > API > Token"
48
- Updated,Updated
49
- Use Magento to manage user authentication.,Use Magento to manage user authentication.
50
- Used to link order in Magento with tickets in Zendesk,Used to link order in Magento with tickets in Zendesk
51
- View All Tickets,View All Tickets
52
- View ticket in Zendesk,View ticket in Zendesk
53
- Views to show on dashboards,Views to show on dashboards
54
- Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.,Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.
55
- Zendesk Domain,Zendesk Domain
56
- Zendesk domain not set. Please add this to the settings page.,Zendesk domain not set. Please add this to the settings page.
57
- Zendesk Order Number field ID,Zendesk Order Number field ID
58
- Zendesk SSO token not set. Please add this to the settings page.,Zendesk SSO token not set. Please add this to the settings page.
1
+ "English","English"
2
+ "API Details","API Details"
3
+ "API Enabled","API Enabled"
4
+ "API Token","API Token"
5
+ "API test connection failed","API test connection failed"
6
+ "API test connection successful","API test connection successful"
7
+ "API","API"
8
+ "Agent Email Address","Agent Email Address"
9
+ "Agent Token","Agent Token"
10
+ "Are you sure you want to clear the entire Zendesk log?","Are you sure you want to clear the entire Zendesk log?"
11
+ "Assignee","Assignee"
12
+ "Chat","Chat"
13
+ "Code to display Feedback Tab","Code to display Feedback Tab"
14
+ "Connection to Zendesk API failed","Connection to Zendesk API failed"
15
+ "Connection to Zendesk API successful","Connection to Zendesk API successful"
16
+ "Create Ticket","Create Ticket"
17
+ "Create tickets from Contact Us form","Create tickets from Contact Us form"
18
+ "Customize Feedback Tab","Customize Feedback Tab"
19
+ "Dashboard","Dashboard"
20
+ "Decide which features you would like turned on in your Magento store.","Decide which features you would like turned on in your Magento store."
21
+ "Description","Description"
22
+ "Display link to Zendesk in Magento footer","Display link to Zendesk in Magento footer"
23
+ "Email","Email"
24
+ "Facebook","Facebook"
25
+ "Features","Features"
26
+ "Feedback Tab","Feedback Tab"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","File size too large - only showing the last %s lines. Click Download to retrieve the entire file."
28
+ "General settings that are required to connect Zendesk and Magento.","General settings that are required to connect Zendesk and Magento."
29
+ "General","General"
30
+ "Generate","Generate"
31
+ "Group","Group"
32
+ "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers."
33
+ "High","High"
34
+ "Incident","Incident"
35
+ "Launch Zendesk","Launch Zendesk"
36
+ "Low","Low"
37
+ "New Support Ticket","New Support Ticket"
38
+ "New","New"
39
+ "No tickets found","No tickets found"
40
+ "No views selected. Please select one or more from the settings page.","No views selected. Please select one or more from the settings page."
41
+ "Normal","Normal"
42
+ "On-hold","On-hold"
43
+ "Open","Open"
44
+ "Order number","Order number"
45
+ "Pending","Pending"
46
+ "Priority","Priority"
47
+ "Problem","Problem"
48
+ "Question","Question"
49
+ "Remote Authentication Token","Remote Authentication Token"
50
+ "Remote Authentication Token","Remote Authentication Token"
51
+ "Requested","Requested"
52
+ "Requester Email","Requester Email"
53
+ "Requester Name","Requester Name"
54
+ "Requester Website","Requester Website"
55
+ "Requester","Requester"
56
+ "Required for Magento App inside Zendesk to work.","Required for Magento App inside Zendesk to work."
57
+ "Save Config","Save Config"
58
+ "Settings","Settings"
59
+ "Setup guide","Setup guide"
60
+ "Setup","Setup"
61
+ "Show support tickets on admin dashboard","Show support tickets on admin dashboard"
62
+ "Show support tickets on customer view","Show support tickets on customer view"
63
+ "Show support tickets on order view","Show support tickets on order view"
64
+ "Single Sign-on - Admins and Agents","Single Sign-on - Admins and Agents"
65
+ "Single Sign-on - End-users","Single Sign-on - End-users"
66
+ "Single Sign-on Enabled","Single Sign-on Enabled"
67
+ "Single Sign-on Enabled","Single Sign-on Enabled"
68
+ "Solved","Solved"
69
+ "Status","Status"
70
+ "Subject","Subject"
71
+ "Successfully generated a new API token","Successfully generated a new API token"
72
+ "Support Channels","Support Channels"
73
+ "Support Tickets","Support Tickets"
74
+ "Task","Task"
75
+ "Test Connection","Test Connection"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","The Zendesk log file has not been created. Check to see if logging has been enabled."
77
+ "Ticket #%s Created","Ticket #%s Created"
78
"To generate a token, log in to Zendesk then select Manage > Channels > API > Token","To generate a token, log in to Zendesk then select Manage > Channels > API > Token"
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Troubleshooting tips can be found at <a href="%s">%s</a>"
80
+ "Twitter","Twitter"
81
+ "Type","Type"
82
+ "Updated","Updated"
83
+ "Urgent","Urgent"
84
+ "Use Magento to manage admin and agent authentication.","Use Magento to manage admin and agent authentication."
85
+ "Use Magento to manage end-user authentication.","Use Magento to manage end-user authentication."
86
+ "Use Magento to manage user authentication.","Use Magento to manage user authentication."
87
+ "Used to link order in Magento with tickets in Zendesk","Used to link order in Magento with tickets in Zendesk"
88
+ "View All Tickets","View All Tickets"
89
+ "View ticket in Zendesk","View ticket in Zendesk"
90
+ "Views to show on dashboards","Views to show on dashboards"
91
+ "Voice","Voice"
92
+ "Web Portal","Web Portal"
93
+ "Zendesk Domain","Zendesk Domain"
94
+ "Zendesk Log Viewer","Zendesk Log Viewer"
95
+ "Zendesk Order Number field ID","Zendesk Order Number field ID"
96
+ "Zendesk SSO token not been set. Please add this to the settings page.","Zendesk SSO token not been set. Please add this to the settings page."
97
+ "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use."
98
+ "Zendesk domain not set. Please add this to the settings page.","Zendesk domain not set. Please add this to the settings page."
app/locale/es_ES/Zendesk_Zendesk.csv CHANGED
@@ -1,76 +1,98 @@
1
"English","Español"
2
- "Required for Magento App inside Zendesk to work.","Necesario para que Magento App pueda funcionar dentro de Zendesk."
3
- "API Enabled","API activada"
4
- "Generate","Generar"
5
- "Successfully generated a new API token","Se generó correctamente un nuevo token de API."
6
"API Details","Detalles de API"
7
"API Token","Token de API"
8
- "Create tickets from Contact Us form","Crear tickets basados en el formulario Contáctenos"
9
- "Decide which features you would like turned on in your Magento store.","Decida qué funciones desea tener activadas en su tienda Magento."
10
- "Code to display Feedback Tab","Código para mostrar la pestaña de ayuda"
11
- "Customize Feedback Tab","Personalizar la pestaña de ayuda"
12
- "Zendesk Order Number field ID","ID de campo del número del pedido de Zendesk"
13
- "Used to link order in Magento with tickets in Zendesk","Se usa para vincular el pedido en Magento con tickets en Zendesk"
14
- "Show support tickets on customer view","Mostrar tickets de soporte en la vista del cliente."
15
- "Show support tickets on admin dashboard","Mostrar tickets de soporte en el panel del administrador"
16
- "Show support tickets on order view","Mostrar tickets de soporte en la vista del pedido."
17
- "Features","Funciones"
18
- "Views to show on dashboards","Vistas para mostrar en los paneles "
19
- "General settings that are required to connect Zendesk and Magento.","Configuración general requerida para conectar a Zendesk con Magento."
20
- "Zendesk Domain","Dominio de Zendesk"
21
"Agent Email Address","Dirección de correo electrónico de agente"
22
- "Remote Authentication Token","Token de autenticación remota"
23
- "General","General"
24
"Agent Token","Token de agente"
25
- "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Para generar un token, inicie sesión en Zendesk y luego seleccione Administrar > Canales > API > Token"
26
- "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","¿No ha configurado su cuenta de Zendesk? Deje que la guía fácil le enseñe a usar Zendesk para ayudar a sus clientes."
27
- "Setup","Configuración"
28
- "Use Magento to manage user authentication.","Use Magento para administrar la autenticación de usuarios."
29
- "Single Sign-on","Inicio de sesión único"
30
- "API","API"
31
"Chat","Chat"
32
- "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk permite que sus clientes lo contacten con su método preferido. Use los vínculos a continuación para configurar los canales que desee usar."
33
"Email","Correo electrónico"
34
"Facebook","Facebook"
35
"Feedback Tab","Pestaña de ayuda"
36
- "Support Channels","Canales de soporte"
37
- "Twitter","Twitter"
38
- "Voice","Voice"
39
- "Web Portal","Portal web"
40
- "Dashboard","Panel"
41
- "Zendesk domain not set. Please add this to the settings page.","Dominio de Zendesk no se ha configurado. Agréguelo a la página de configuración."
42
- "Launch Zendesk","Inicie su cuenta de Zendesk."
43
- "No views selected. Please select one or more from the settings page.","No se han seleccionado vistas. Seleccione una o más en la página de configuración."
44
- "Zendesk SSO token not been set. Please add this to the settings page.","Token SSO de Zendesk no se ha configurado. Agréguelo a la página de configuración."
45
- "Support Tickets","Tickets de soporte"
46
- "View All Tickets","Ver todos los tickets"
47
- "View ticket in Zendesk","Ver ticket en Zendesk"
48
- "Assignee","Agente asignado"
49
- "Create Ticket","Crear ticket"
50
- "Description","Descripción"
51
"Group","Grupo"
52
"New Support Ticket","Nuevo ticket de soporte"
53
"No tickets found","No se encontraron tickets"
54
"Order number","Número de pedido"
55
"Priority","Prioridad"
56
- "High","Alta"
57
- "Low","Baja"
58
- "Normal","Normal"
59
- "Urgent","Urgente"
60
"Requester Email","Correo electrónico del solicitante"
61
"Requester Name","Nombre del solicitante"
62
"Requester Website","Sitio web del solicitante"
63
- "Status","Estado"
64
- "New","Nuevo"
65
- "On-hold","En espera"
66
- "Open","Abierto"
67
- "Pending","Pendiente"
68
"Solved","Resuelto"
69
"Subject","Asunto"
70
"Ticket #%s Created","El ticket #%s fue creado"
71
"Type","Tipo"
72
- "Incident","Incidente"
73
- "Problem","Problema"
74
- "Question","Pregunta"
75
- "Task","Tarea"
76
"Updated","Actualizado"
1
"English","Español"
2
"API Details","Detalles de API"
3
+ "API Enabled","API activada"
4
"API Token","Token de API"
5
+ "API test connection failed","Falló la conexión de prueba de API"
6
+ "API test connection successful","Conexión de prueba de API realizada correctamente"
7
+ "API","API"
8
"Agent Email Address","Dirección de correo electrónico de agente"
9
"Agent Token","Token de agente"
10
+ "Are you sure you want to clear the entire Zendesk log?","¿Está seguro de que desea borrar todo el registro de Zendesk?"
11
+ "Assignee","Agente asignado"
12
"Chat","Chat"
13
+ "Code to display Feedback Tab","Código para mostrar la pestaña de ayuda"
14
+ "Connection to Zendesk API failed","Falló la conexión a la API de Zendesk"
15
+ "Connection to Zendesk API successful","Conexión a la API de Zendesk realizada correctamente"
16
+ "Create Ticket","Crear ticket"
17
+ "Create tickets from Contact Us form","Crear tickets basados en el formulario Contáctenos"
18
+ "Customize Feedback Tab","Personalizar pestaña de ayuda"
19
+ "Dashboard","Panel"
20
+ "Decide which features you would like turned on in your Magento store.","Decida qué funciones desea tener activadas en su tienda Magento."
21
+ "Description","Descripción"
22
+ "Display link to Zendesk in Magento footer","Mostrar vínculo a Zendesk en pie de página de Magento"
23
"Email","Correo electrónico"
24
"Facebook","Facebook"
25
+ "Features","Funciones"
26
"Feedback Tab","Pestaña de ayuda"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","Tamaño de archivo muy grande: solo se muestran las últimas %s líneas. Haga clic en Descargar para recuperar todo el archivo."
28
+ "General settings that are required to connect Zendesk and Magento.","Configuración general requerida para conectar a Zendesk con Magento."
29
+ "General","General"
30
+ "Generate","Generar"
31
"Group","Grupo"
32
+ "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","¿No ha configurado su cuenta de Zendesk? Deje que la guía fácil le enseñe a usar Zendesk para ayudar a sus clientes."
33
+ "High","Alta"
34
+ "Incident","Incidente"
35
+ "Launch Zendesk","Inicie su cuenta de Zendesk."
36
+ "Low","Baja"
37
"New Support Ticket","Nuevo ticket de soporte"
38
+ "New","Nuevo"
39
"No tickets found","No se encontraron tickets"
40
+ "No views selected. Please select one or more from the settings page.","No se han seleccionado vistas. Seleccione una o más en la página de configuración."
41
+ "Normal","Normal"
42
+ "On-hold","En espera"
43
+ "Open","Abierto"
44
"Order number","Número de pedido"
45
+ "Pending","Pendiente"
46
"Priority","Prioridad"
47
+ "Problem","Problema"
48
+ "Question","Pregunta"
49
+ "Remote Authentication Token","Token de autenticación remota"
50
+ "Remote Authentication Token","Token de autenticación remota"
51
+ "Requested","Solicitada"
52
"Requester Email","Correo electrónico del solicitante"
53
"Requester Name","Nombre del solicitante"
54
"Requester Website","Sitio web del solicitante"
55
+ "Requester","Solicitante"
56
+ "Required for Magento App inside Zendesk to work.","Necesario para que Magento App pueda funcionar dentro de Zendesk."
57
+ "Save Config","Guardar config"
58
+ "Settings","Configuración"
59
+ "Setup guide","Guía de configuración"
60
+ "Setup","Configuración"
61
+ "Show support tickets on admin dashboard","Mostrar tickets de soporte en el panel del administrador."
62
+ "Show support tickets on customer view","Mostrar tickets de soporte en la vista del cliente."
63
+ "Show support tickets on order view","Mostrar tickets de soporte en la vista del pedido."
64
+ "Single Sign-on - Admins and Agents","Inicio de sesión único: administradores y agentes"
65
+ "Single Sign-on - End-users","Inicio de sesión único: usuarios finales"
66
+ "Single Sign-on Enabled","Inicio de sesión único activado"
67
+ "Single Sign-on Enabled","Inicio de sesión único activado"
68
"Solved","Resuelto"
69
+ "Status","Estado"
70
"Subject","Asunto"
71
+ "Successfully generated a new API token","Se generó correctamente un nuevo token de API."
72
+ "Support Channels","Canales de soporte"
73
+ "Support Tickets","Tickets de soporte"
74
+ "Task","Tarea"
75
+ "Test Connection","Conexión de prueba"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","No se ha creado el archivo de registro de Zendesk. Verifique si se ha activado el registro."
77
"Ticket #%s Created","El ticket #%s fue creado"
78
+ "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Para generar un token, inicie sesión en Zendesk y luego seleccione Administrar > Canales > API > Token"
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Las sugerencias para la resolución de problemas se encuentran en <a href="%s">%s</a>"
80
+ "Twitter","Twitter"
81
"Type","Tipo"
82
"Updated","Actualizado"
83
+ "Urgent","Urgente"
84
+ "Use Magento to manage admin and agent authentication.","Use Magento para administrar la autenticación de administradores y agentes."
85
+ "Use Magento to manage end-user authentication.","Use Magento para administrar la autenticación de usuarios finales."
86
+ "Use Magento to manage user authentication.","Use Magento para administrar la autenticación de usuarios."
87
+ "Used to link order in Magento with tickets in Zendesk","Se usa para vincular el pedido en Magento con tickets en Zendesk"
88
+ "View All Tickets","Ver todos los tickets"
89
+ "View ticket in Zendesk","Ver ticket en Zendesk"
90
+ "Views to show on dashboards","Vistas para mostrar en los paneles "
91
+ "Voice","Voice"
92
+ "Web Portal","Portal web"
93
+ "Zendesk Domain","Dominio de Zendesk"
94
+ "Zendesk Log Viewer","Visor del registro de Zendesk"
95
+ "Zendesk Order Number field ID","ID de campo del número del pedido de Zendesk"
96
+ "Zendesk SSO token not been set. Please add this to the settings page.","Token SSO de Zendesk no se ha configurado. Agréguelo a la página de configuración."
97
+ "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk permite que sus clientes lo contacten con su método preferido. Use los vínculos a continuación para configurar los canales que desee usar."
98
+ "Zendesk domain not set. Please add this to the settings page.","Dominio de Zendesk no se ha configurado. Agréguelo a la página de configuración."
app/locale/fr_FR/Zendesk_Zendesk.csv CHANGED
@@ -1,76 +1,98 @@
1
"English","Français"
2
- "Required for Magento App inside Zendesk to work.","Requis pour que l’appli Magento fonctionne dans Zendesk."
3
- "API Enabled","API activée"
4
- "Generate","Générer"
5
- "Successfully generated a new API token","Nouveau jeton API généré"
6
"API Details","Détails de l’API"
7
"API Token","Jeton API"
8
- "Create tickets from Contact Us form","Créer des tickets à partir du formulaire Nous contacter"
9
- "Decide which features you would like turned on in your Magento store.","Décidez des fonctionnalités que vous souhaitez activer dans votre magasin Magento."
10
"Code to display Feedback Tab","Code pour afficher l’onglet de suggestions"
11
"Customize Feedback Tab","Personnaliser l’onglet de suggestions"
12
- "Zendesk Order Number field ID","ID de champ du numéro de commande Zendesk"
13
- "Used to link order in Magento with tickets in Zendesk","Utilisé pour lier la commande dans Magento aux tickets dans Zendesk"
14
- "Show support tickets on customer view","Afficher les tickets d’assistance dans la vue client"
15
- "Show support tickets on admin dashboard","Afficher les tickets d’assistance dans le tableau de bord d’administration"
16
- "Show support tickets on order view","Afficher les tickets d’assistance dans la vue commande"
17
"Features","Fonctionnalités"
18
- "Views to show on dashboards","Vues à afficher dans les tableaux de bord"
19
"General settings that are required to connect Zendesk and Magento.","Paramètres généraux requis pour connecter Zendesk et Magento."
20
- "Zendesk Domain","Domaine Zendesk"
21
- "Agent Email Address","Adresse email de l’agent"
22
- "Remote Authentication Token","Jeton d’authentification à distance"
23
"General","Général"
24
- "Agent Token","Jeton de l’agent"
25
- "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Pour générer un jeton, connectez-vous à Zendesk, puis sélectionnez Gérer > Canaux > API > Jeton."
26
"Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Vous n’avez pas encore configuré Zendesk ? Suivez notre guide de configuration facile et commencez à utiliser Zendesk pour assister vos clients."
27
- "Setup","Configuration"
28
- "Use Magento to manage user authentication.","Utilisez Magento pour gérer l’authentification des utilisateurs."
29
- "Single Sign-on","Connexion unique"
30
- "API","API"
31
- "Chat","Chat"
32
- "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk permet à vos clients de vous contacter en utilisant la méthode de leur choix. Utilisez les liens ci-dessous pour configurer les canaux que vous voulez utiliser."
33
- "Email","Email"
34
- "Facebook","Facebook"
35
- "Feedback Tab","Onglet de suggestions"
36
- "Support Channels","Canaux d’assistance"
37
- "Twitter","Twitter"
38
- "Voice","Centre d’appels"
39
- "Web Portal","Portail"
40
- "Dashboard","Tableau de bord"
41
- "Zendesk domain not set. Please add this to the settings page.","Domaine Zendesk non configuré. Ajoutez-le à la page des paramètres."
42
"Launch Zendesk","Lancer Zendesk"
43
- "No views selected. Please select one or more from the settings page.","Aucune vue sélectionnée. Sélectionnez-en au moins une dans la page des paramètres."
44
- "Zendesk SSO token not been set. Please add this to the settings page.","Jeton de connexion unique Zendesk non configuré. Ajoutez-le à la page des paramètres."
45
- "Support Tickets","Tickets d’assistance"
46
- "View All Tickets","Afficher tous les tickets"
47
- "View ticket in Zendesk","Afficher le ticket dans Zendesk"
48
- "Assignee","Assigné"
49
- "Create Ticket","Créer un ticket"
50
- "Description","Description"
51
- "Group","Groupe"
52
"New Support Ticket","Nouveau ticket d’assistance"
53
"No tickets found","Aucun ticket trouvé"
54
"Order number","Numéro de commande"
55
"Priority","Priorité"
56
- "High","Élevée"
57
- "Low","Basse"
58
- "Normal","Normale"
59
- "Urgent","Urgente"
60
- "Requester Email","Email du demandeur"
61
"Requester Name","Nom du demandeur"
62
"Requester Website","Site Web du demandeur"
63
- "Status","Statut"
64
- "New","Nouveau"
65
- "On-hold","En suspens"
66
- "Open","Ouvert"
67
- "Pending","En attente"
68
"Solved","Résolu"
69
"Subject","Sujet"
70
"Ticket #%s Created","Ticket #%s créé"
71
"Type","Type"
72
- "Incident","Incident"
73
- "Problem","Problème"
74
- "Question","Question"
75
- "Task","Tâche"
76
"Updated","Mis à jour"
1
"English","Français"
2
"API Details","Détails de l’API"
3
+ "API Enabled","API activée"
4
"API Token","Jeton API"
5
+ "API test connection failed","Échec de la connexion test à l’API"
6
+ "API test connection successful","Réussite de la connexion test à l’API"
7
+ "API","API"
8
+ "Agent Email Address","Adresse e-mail de l’agent"
9
+ "Agent Token","Jeton de l’agent"
10
+ "Are you sure you want to clear the entire Zendesk log?","Voulez-vraiment effacer la totalité du journal Zendesk ?"
11
+ "Assignee","Assigné"
12
+ "Chat","Chat"
13
"Code to display Feedback Tab","Code pour afficher l’onglet de suggestions"
14
+ "Connection to Zendesk API failed","Échec de la connexion à l’API Zendesk"
15
+ "Connection to Zendesk API successful","Réussite de la connexion à l’API Zendesk"
16
+ "Create Ticket","Créer le ticket"
17
+ "Create tickets from Contact Us form","Créer des tickets à partir du formulaire Nous contacter"
18
"Customize Feedback Tab","Personnaliser l’onglet de suggestions"
19
+ "Dashboard","Tableau de bord"
20
+ "Decide which features you would like turned on in your Magento store.","Décidez des fonctionnalités que vous souhaitez activer dans votre magasin Magento."
21
+ "Description","Description"
22
+ "Display link to Zendesk in Magento footer","Afficher le lien vers Zendesk dans le bas de page Magento"
23
+ "Email","E-mail"
24
+ "Facebook","Facebook"
25
"Features","Fonctionnalités"
26
+ "Feedback Tab","Onglet de suggestions"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","Fichier trop volumineux – Seules les % dernières lignes sont affichées. Cliquez sur Télécharger pour récupérer la totalité du fichier."
28
"General settings that are required to connect Zendesk and Magento.","Paramètres généraux requis pour connecter Zendesk et Magento."
29
"General","Général"
30
+ "Generate","Générer"
31
+ "Group","Groupe"
32
"Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Vous n’avez pas encore configuré Zendesk ? Suivez notre guide de configuration facile et commencez à utiliser Zendesk pour assister vos clients."
33
+ "High","Élevée"
34
+ "Incident","Incident"
35
"Launch Zendesk","Lancer Zendesk"
36
+ "Low","Basse"
37
"New Support Ticket","Nouveau ticket d’assistance"
38
+ "New","Nouveau"
39
"No tickets found","Aucun ticket trouvé"
40
+ "No views selected. Please select one or more from the settings page.","Aucune vue sélectionnée. Sélectionnez-en au moins une dans la page des paramètres."
41
+ "Normal","Normale"
42
+ "On-hold","En pause"
43
+ "Open","Ouvert"
44
"Order number","Numéro de commande"
45
+ "Pending","En attente"
46
"Priority","Priorité"
47
+ "Problem","Problème"
48
+ "Question","Question"
49
+ "Remote Authentication Token","Jeton d’authentification à distance"
50
+ "Remote Authentication Token","Jeton d’authentification à distance"
51
+ "Requested","Création"
52
+ "Requester Email","E-mail du demandeur"
53
"Requester Name","Nom du demandeur"
54
"Requester Website","Site Web du demandeur"
55
+ "Requester","Demandeur"
56
+ "Required for Magento App inside Zendesk to work.","Requis pour que l’application Magento fonctionne dans Zendesk."
57
+ "Save Config","Enregistrer la configuration"
58
+ "Settings","Paramètres"
59
+ "Setup guide","Guide de configuration"
60
+ "Setup","Configuration"
61
+ "Show support tickets on admin dashboard","Afficher les tickets d’assistance dans le tableau de bord d’administration"
62
+ "Show support tickets on customer view","Afficher les tickets d’assistance dans la vue client"
63
+ "Show support tickets on order view","Afficher les tickets d’assistance dans la vue commande"
64
+ "Single Sign-on - Admins and Agents","Connexion unique – Administrateurs et agents"
65
+ "Single Sign-on - End-users","Connexion unique – Utilisateurs finaux"
66
+ "Single Sign-on Enabled","Connexion unique activée"
67
+ "Single Sign-on Enabled","Connexion unique activée"
68
"Solved","Résolu"
69
+ "Status","Statut"
70
"Subject","Sujet"
71
+ "Successfully generated a new API token","Nouveau jeton API généré"
72
+ "Support Channels","Canaux d’assistance"
73
+ "Support Tickets","Tickets d’assistance"
74
+ "Task","Tâche"
75
+ "Test Connection","Tester la connexion"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","Le fichier journal Zendesk n’a pas été créé. Vérifiez que l’enregistrement est activé."
77
"Ticket #%s Created","Ticket #%s créé"
78
+ "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Pour générer un jeton, connectez-vous à Zendesk, puis sélectionnez Gérer > Canaux > API > Jeton."
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Vous trouverez des conseils de dépannage sur <a href="%s">%s</a>"
80
+ "Twitter","Twitter"
81
"Type","Type"
82
"Updated","Mis à jour"
83
+ "Urgent","Urgente"
84
+ "Use Magento to manage admin and agent authentication.","Utilisez Magento pour gérer l’authentification des administrateurs et des agents."
85
+ "Use Magento to manage end-user authentication.","Utilisez Magento pour gérer l’authentification des utilisateurs finaux."
86
+ "Use Magento to manage user authentication.","Utilisez Magento pour gérer l’authentification des utilisateurs."
87
+ "Used to link order in Magento with tickets in Zendesk","Utilisé pour lier la commande dans Magento aux tickets dans Zendesk"
88
+ "View All Tickets","Afficher tous les tickets"
89
+ "View ticket in Zendesk","Afficher le ticket dans Zendesk"
90
+ "Views to show on dashboards","Vues à afficher dans les tableaux de bord"
91
+ "Voice","Centre d’appels"
92
+ "Web Portal","Portail"
93
+ "Zendesk Domain","Domaine Zendesk"
94
+ "Zendesk Log Viewer","Afficheur du journal Zendesk"
95
+ "Zendesk Order Number field ID","ID de champ du numéro de commande Zendesk"
96
+ "Zendesk SSO token not been set. Please add this to the settings page.","Jeton de connexion unique Zendesk non configuré. Ajoutez-le à la page des paramètres."
97
+ "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk permet à vos clients de vous contacter en utilisant la méthode de leur choix. Utilisez les liens ci-dessous pour configurer les canaux que vous voulez utiliser."
98
+ "Zendesk domain not set. Please add this to the settings page.","Domaine Zendesk non configuré. Ajoutez-le à la page des paramètres."
app/locale/it_IT/Zendesk_Zendesk.csv CHANGED
@@ -1,76 +1,98 @@
1
"English","Italiano"
2
- "Required for Magento App inside Zendesk to work.","Necessario per usare l’App Magento in Zendesk."
3
- "API Enabled","Attivato API"
4
- "Generate","Genera"
5
- "Successfully generated a new API token","Generato correttamente un nuovo token API"
6
"API Details","Dettagli API"
7
"API Token","Token API"
8
- "Create tickets from Contact Us form","Crea ticket dal modulo Contattarci"
9
- "Decide which features you would like turned on in your Magento store.","Decidi quali funzionalità attivare nel negozio Magento."
10
- "Code to display Feedback Tab","Codica per visualizzare scheda Feedback"
11
- "Customize Feedback Tab","Personalizza scheda Feedback"
12
- "Zendesk Order Number field ID","ID campo numero ordine Zendesk"
13
- "Used to link order in Magento with tickets in Zendesk","Usato per collegare ordini in Magento e ticket in Zendesk"
14
- "Show support tickets on customer view","Mostra ticket assistenza nella vista cliente"
15
- "Show support tickets on admin dashboard","Mostra ticket assistenza nel pannello amministratore"
16
- "Show support tickets on order view","Mostra ticket assistenza nella vista ordine"
17
- "Features","Funzionalità"
18
- "Views to show on dashboards","Viste da mostrare nei pannello"
19
- "General settings that are required to connect Zendesk and Magento.","Impostazioni generali necessarie per collegare Zendesk e Magento."
20
- "Zendesk Domain","Dominio Zendesk"
21
"Agent Email Address","Indirizzo e-mail agente"
22
- "Remote Authentication Token","Token autenticazione remota"
23
- "General","Generale"
24
"Agent Token","Token agente"
25
- "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Per generare un token, accedi a Zendesk, quindi seleziona Gestisci > Canali > API > Token"
26
- "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Non hai ancora impostato Zendesk? Segui la nostra semplice guida all’impostazione per iniziare a usare Zendesk nell’assistenza ai clienti."
27
- "Setup","Impostazione"
28
- "Use Magento to manage user authentication.","Usa Magento per gestire l’autenticazione dei clienti."
29
- "Single Sign-on","Single Sign-on"
30
- "API","API"
31
"Chat","Chat"
32
- "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk consente ai vostri clienti di contattarvi nel modo che preferiscono. Utilizza i collegamenti seguenti per configurare i canali da utilizzare."
33
"Email","E-mail"
34
"Facebook","Facebook"
35
"Feedback Tab","Scheda Feedback"
36
- "Support Channels","Canali assistenza"
37
- "Twitter","Twitter"
38
- "Voice","Voice"
39
- "Web Portal","Portale Web"
40
- "Dashboard","Pannello"
41
- "Zendesk domain not set. Please add this to the settings page.","Dominio Zendesk non impostato. Aggiungilo alla pagina impostazioni."
42
- "Launch Zendesk","Avvia Zendesk"
43
- "No views selected. Please select one or more from the settings page.","Nessuna vista selezionata Selezionane almeno una nella pagina impostazioni."
44
- "Zendesk SSO token not been set. Please add this to the settings page.","Token SSP Zendesk non impostato. Aggiungilo alla pagina impostazioni."
45
- "Support Tickets","Ticket assistenza"
46
- "View All Tickets","Mostra tutti i ticket"
47
- "View ticket in Zendesk","Mostra ticket in Zendesk"
48
- "Assignee","Assegnatario"
49
- "Create Ticket","Crea ticket"
50
- "Description","Descrizione"
51
"Group","Gruppo"
52
"New Support Ticket","Nuovo ticket assistenza"
53
"No tickets found","Nessun ticket trovato"
54
"Order number","Numero ordine"
55
"Priority","Priorità"
56
- "High","Alta"
57
- "Low","Bassa"
58
- "Normal","Normale"
59
- "Urgent","Urgente"
60
"Requester Email","E-mail richiedente"
61
"Requester Name","Nome richiedente"
62
"Requester Website","Sito Web richiedente"
63
- "Status","Stato"
64
- "New","Nuovo"
65
- "On-hold","In attesa"
66
- "Open","Aperto"
67
- "Pending","In sospeso"
68
"Solved","Risolto"
69
"Subject","Oggetto"
70
- "Ticket #%s Created","Ticket #%s creato"
71
- "Type","Tipo"
72
- "Incident","Incidente"
73
- "Problem","Problema"
74
- "Question","Domanda"
75
"Task","Compito"
76
"Updated","Aggiornato"
1
"English","Italiano"
2
"API Details","Dettagli API"
3
+ "API Enabled","Attivato API"
4
"API Token","Token API"
5
+ "API test connection failed","Collegamento di prova API non riuscito"
6
+ "API test connection successful","Collegamento di prova API riuscito"
7
+ "API","API"
8
"Agent Email Address","Indirizzo e-mail agente"
9
"Agent Token","Token agente"
10
+ "Are you sure you want to clear the entire Zendesk log?","Cancellare l’intero registro Zendesk?"
11
+ "Assignee","Assegnatario"
12
"Chat","Chat"
13
+ "Code to display Feedback Tab","Codica per visualizzare scheda Feedback"
14
+ "Connection to Zendesk API failed","Collegamento a Zendesk API non riuscito"
15
+ "Connection to Zendesk API successful","Collegamento a Zendesk API riuscito"
16
+ "Create Ticket","Crea ticket"
17
+ "Create tickets from Contact Us form","Crea ticket dal modulo Contattarci"
18
+ "Customize Feedback Tab","Personalizza scheda Feedback"
19
+ "Dashboard","Pannello"
20
+ "Decide which features you would like turned on in your Magento store.","Decidi quali funzionalità attivare nel negozio Magento."
21
+ "Description","Descrizione"
22
+ "Display link to Zendesk in Magento footer","Mostra link a Zendesk nel piè di pagina di Magento"
23
"Email","E-mail"
24
"Facebook","Facebook"
25
+ "Features","Funzionalità"
26
"Feedback Tab","Scheda Feedback"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","Il file è troppo grande – vengono mostrate solo le ultime %s righe. Fare clic su Scarica per scaricare l’intero file."
28
+ "General settings that are required to connect Zendesk and Magento.","Impostazioni generali necessarie per collegare Zendesk e Magento."
29
+ "General","Generale"
30
+ "Generate","Genera"
31
"Group","Gruppo"
32
+ "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Non hai ancora impostato Zendesk? Segui la nostra semplice guida all’impostazione per iniziare a usare Zendesk nell’assistenza ai clienti."
33
+ "High","Alta"
34
+ "Incident","Incidente"
35
+ "Launch Zendesk","Avvia Zendesk"
36
+ "Low","Bassa"
37
"New Support Ticket","Nuovo ticket assistenza"
38
+ "New","Nuovo"
39
"No tickets found","Nessun ticket trovato"
40
+ "No views selected. Please select one or more from the settings page.","Nessuna vista selezionata Selezionane almeno una nella pagina impostazioni."
41
+ "Normal","Normale"
42
+ "On-hold","In sospeso"
43
+ "Open","Aperto"
44
"Order number","Numero ordine"
45
+ "Pending","In attesa"
46
"Priority","Priorità"
47
+ "Problem","Problema"
48
+ "Question","Domanda"
49
+ "Remote Authentication Token","Token autenticazione remota"
50
+ "Remote Authentication Token","Token autenticazione remota"
51
+ "Requested","Richiesto"
52
"Requester Email","E-mail richiedente"
53
"Requester Name","Nome richiedente"
54
"Requester Website","Sito Web richiedente"
55
+ "Requester","Richiedente"
56
+ "Required for Magento App inside Zendesk to work.","Necessario per usare l’App Magento in Zendesk."
57
+ "Save Config","Salva config."
58
+ "Settings","Impostazioni"
59
+ "Setup guide","Guida all’impostazione"
60
+ "Setup","Impostazione"
61
+ "Show support tickets on admin dashboard","Mostra ticket assistenza nel pannello amministratore."
62
+ "Show support tickets on customer view","Mostra ticket assistenza nella vista cliente"
63
+ "Show support tickets on order view","Mostra ticket assistenza nella vista ordine"
64
+ "Single Sign-on - Admins and Agents","Single Sign-on – Amministratori e agenti"
65
+ "Single Sign-on - End-users","Single Sign-on - Utenti finali"
66
+ "Single Sign-on Enabled","Single Sign-on attivato"
67
+ "Single Sign-on Enabled","Single Sign-on attivato"
68
"Solved","Risolto"
69
+ "Status","Stato"
70
"Subject","Oggetto"
71
+ "Successfully generated a new API token","Generato correttamente un nuovo token API"
72
+ "Support Channels","Canali assistenza"
73
+ "Support Tickets","Ticket assistenza"
74
"Task","Compito"
75
+ "Test Connection","Prova collegamento"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","Il file di registro Zendesk non è stato creato. Verificare che la registrazione sia stata attivata."
77
+ "Ticket #%s Created","Ticket n. #%s creato"
78
+ "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Per generare un token, accedi a Zendesk, quindi seleziona Gestisci > Canali > API > Token"
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Per suggerimenti sulla soluzione dei problemi, visitare <a href="%s">%s</a>"
80
+ "Twitter","Twitter"
81
+ "Type","Tipo"
82
"Updated","Aggiornato"
83
+ "Urgent","Urgente"
84
+ "Use Magento to manage admin and agent authentication.","Usa Magento per gestire l’autenticazione degli amministratori e degli agenti."
85
+ "Use Magento to manage end-user authentication.","Usa Magento per gestire l’autenticazione degli utenti finali."
86
+ "Use Magento to manage user authentication.","Usa Magento per gestire l’autenticazione dei clienti."
87
+ "Used to link order in Magento with tickets in Zendesk","Usato per collegare ordini in Magento e ticket in Zendesk"
88
+ "View All Tickets","Mostra tutti i ticket"
89
+ "View ticket in Zendesk","Mostra ticket in Zendesk"
90
+ "Views to show on dashboards","Viste da mostrare nei pannello"
91
+ "Voice","Voice"
92
+ "Web Portal","Portale Web"
93
+ "Zendesk Domain","Dominio Zendesk"
94
+ "Zendesk Log Viewer","Visualizzatore registro Zendesk"
95
+ "Zendesk Order Number field ID","ID campo numero ordine Zendesk"
96
+ "Zendesk SSO token not been set. Please add this to the settings page.","Token SSP Zendesk non impostato. Aggiungilo alla pagina impostazioni."
97
+ "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Zendesk consente ai vostri clienti di contattarvi nel modo che preferiscono. Utilizza i collegamenti seguenti per configurare i canali da utilizzare."
98
+ "Zendesk domain not set. Please add this to the settings page.","Dominio Zendesk non impostato. Aggiungilo alla pagina impostazioni."
app/locale/nl_NL/Zendesk_Zendesk.csv CHANGED
@@ -1,76 +1,98 @@
1
"English","Nederlands (Dutch)"
2
- "Required for Magento App inside Zendesk to work.","Vereist voor Magento-app binnen Zendesk om te werken."
3
- "API Enabled","API ingeschakeld"
4
- "Generate","Genereren"
5
- "Successfully generated a new API token","Er is een nieuw API-token gegenereerd"
6
"API Details","API-details"
7
"API Token","API-token"
8
- "Create tickets from Contact Us form","Tickets maken van Contact-formulier"
9
- "Decide which features you would like turned on in your Magento store.","Bepaal welke functies u ingeschakeld wilt hebben in uw Magento-winkel."
10
- "Code to display Feedback Tab","Code om tabblad Feedback weer te geven"
11
- "Customize Feedback Tab","Tabblad Feedback aanpassen"
12
- "Zendesk Order Number field ID","Id van Zendesk-ordernummerveld"
13
- "Used to link order in Magento with tickets in Zendesk","Gebruikt om order in Magento te koppelen aan tickets in Zendesk"
14
- "Show support tickets on customer view","Ondersteuningstickets weergeven in klantweergave"
15
- "Show support tickets on admin dashboard","Ondersteuningstickets weergeven in Administrator-dashboard"
16
- "Show support tickets on order view","Ondersteuningstickets weergeven in orderweergave"
17
- "Features","Kenmerken"
18
- "Views to show on dashboards","Weergaven voor dashboards"
19
- "General settings that are required to connect Zendesk and Magento.","Algemene instellingen die zijn vereist om Zendesk en Magento te koppelen."
20
- "Zendesk Domain","Zendesk-domein"
21
"Agent Email Address","E-mailadres van agent"
22
- "Remote Authentication Token","Token voor externe verificatie"
23
- "General","Algemeen"
24
"Agent Token","Agent-token"
25
- "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Als u een token wilt genereren, dient u zich aan te melden bij Zendesk. Selecteer daarna Beheren > Kanalen > API > Token"
26
- "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Hebt u Zendesk nog niet ingesteld? Volg de eenvoudige stappen om met Zendesk klanten te ondersteunen."
27
- "Setup","Instellen"
28
- "Use Magento to manage user authentication.","Met Magento kunt u gebruikersverificatie beheren."
29
- "Single Sign-on","Enkelvoudige aanmelding"
30
- "API","API"
31
"Chat","Chat"
32
- "Zendesk allows your customers to contact you using the methods they prefer. Use the links below to configure the channels you would like to use.","Met Zendesk kunnen klanten contact met u opnemen via de methode van hun voorkeur. Gebruik onderstaande koppelingen om de kanalen te configureren die u wilt gebruiken."
33
"Email","E-mail"
34
"Facebook","Facebook"
35
"Feedback Tab","Tabblad Feedback"
36
- "Support Channels","Ondersteuningskanalen"
37
- "Twitter","Twitter"
38
- "Voice","Voice"
39
- "Web Portal","Webportal"
40
- "Dashboard","Dashboard"
41
- "Zendesk domain not set. Please add this to the settings page.","Zendesk-domein niet ingesteld. Voeg dit toe aan de instellingenpagina."
42
- "Launch Zendesk","Zendesk starten"
43
- "No views selected. Please select one or more from the settings page.","Geen weergaven geselecteerd. Selecteer er een of meer op de instellingenpagina."
44
- "Zendesk SSO token not been set. Please add this to the settings page.","Zendesk SSO-token niet ingesteld. Voeg dit toe aan de instellingenpagina."
45
- "Support Tickets","Ondersteuningstickets"
46
- "View All Tickets","Alle tickets weergeven"
47
- "View ticket in Zendesk","Ticket in Zendesk weergeven"
48
- "Assignee","Medewerker"
49
- "Create Ticket","Ticket maken"
50
- "Description","Beschrijving"
51
"Group","Groep"
52
"New Support Ticket","Nieuwe ondersteuningsticket"
53
"No tickets found","Geen tickets gevonden"
54
"Order number","Ordernummer"
55
"Priority","Prioriteit"
56
- "High","Hoog"
57
- "Low","Laag"
58
- "Normal","Normaal"
59
- "Urgent","Urgent"
60
"Requester Email","E-mail van aanvrager"
61
"Requester Name","Naam van aanvrager"
62
"Requester Website","Website van aanvrager"
63
- "Status","Status"
64
- "New","Nieuw"
65
- "On-hold","In de wacht"
66
- "Open","Open"
67
- "Pending","In afwachting"
68
"Solved","Opgelost"
69
"Subject","Onderwerp"
70
"Ticket #%s Created","Ticket #%s gemaakt"
71
"Type","Type"
72
- "Incident","Incident"
73
- "Problem","Probleem"
74
- "Question","Vraag"
75
- "Task","Taak"
76
"Updated","Bijgewerkt"
1
"English","Nederlands (Dutch)"
2
"API Details","API-details"
3
+ "API Enabled","API ingeschakeld"
4
"API Token","API-token"
5
+ "API test connection failed","API-testverbinding mislukt"
6
+ "API test connection successful","API-testverbinding gelukt"
7
+ "API","API"
8
"Agent Email Address","E-mailadres van agent"
9
"Agent Token","Agent-token"
10
+ "Are you sure you want to clear the entire Zendesk log?","Weet u zeker dat u het gehele Zendesk-log wilt wissen?"
11
+ "Assignee","Medewerker"
12
"Chat","Chat"
13
+ "Code to display Feedback Tab","Code om tabblad Feedback weer te geven"
14
+ "Connection to Zendesk API failed","Verbinding met Zendesk-API mislukt"
15
+ "Connection to Zendesk API successful","Verbinding met Zendesk-API gelukt"
16
+ "Create Ticket","Ticket maken"
17
+ "Create tickets from Contact Us form","Tickets maken van Contact-formulier"
18
+ "Customize Feedback Tab","Tabblad Feedback aanpassen"
19
+ "Dashboard","Dashboard"
20
+ "Decide which features you would like turned on in your Magento store.","Bepaal welke functies u ingeschakeld wilt hebben in uw Magento-winkel."
21
+ "Description","Beschrijving"
22
+ "Display link to Zendesk in Magento footer","Koppeling naar Zendesk in Magento-voettekst weergeven"
23
"Email","E-mail"
24
"Facebook","Facebook"
25
+ "Features","Kenmerken"
26
"Feedback Tab","Tabblad Feedback"
27
+ "File size too large - only showing the last %s lines. Click Download to retrieve the entire file.","Bestand te groot – alleen de laatste %s regels worden weergegeven. Klik op Downloaden om het gehele bestand op te halen."
28
+ "General settings that are required to connect Zendesk and Magento.","Algemene instellingen die zijn vereist om Zendesk en Magento te koppelen."
29
+ "General","Algemeen"
30
+ "Generate","Genereren"
31
"Group","Groep"
32
+ "Haven't setup Zendesk yet? Follow our easy setup guide to start using Zendesk to support your customers.","Hebt u Zendesk nog niet ingesteld? Volg de eenvoudige stappen om met Zendesk klanten te ondersteunen."
33
+ "High","Hoog"
34
+ "Incident","Incident"
35
+ "Launch Zendesk","Zendesk starten"
36
+ "Low","Laag"
37
"New Support Ticket","Nieuwe ondersteuningsticket"
38
+ "New","Nieuw"
39
"No tickets found","Geen tickets gevonden"
40
+ "No views selected. Please select one or more from the settings page.","Geen weergaven geselecteerd. Selecteer er een of meer op de instellingenpagina."
41
+ "Normal","Normaal"
42
+ "On-hold","Geparkeerd"
43
+ "Open","Open"
44
"Order number","Ordernummer"
45
+ "Pending","In afwachting"
46
"Priority","Prioriteit"
47
+ "Problem","Probleem"
48
+ "Question","Vraag"
49
+ "Remote Authentication Token","Token voor externe verificatie"
50
+ "Remote Authentication Token","Token voor externe verificatie"
51
+ "Requested","Aangevraagd"
52
"Requester Email","E-mail van aanvrager"
53
"Requester Name","Naam van aanvrager"
54
"Requester Website","Website van aanvrager"
55
+ "Requester","Aanvrager"
56
+ "Required for Magento App inside Zendesk to work.","Vereist voor Magento-app binnen Zendesk om te werken."
57
+ "Save Config","Configuratie opslaan"
58
+ "Settings","Instellingen"
59
+ "Setup guide","Installatiegids"
60
+ "Setup","Instellen"
61
+ "Show support tickets on admin dashboard","Ondersteuningstickets weergeven in Administrator-dashboard."
62
+ "Show support tickets on customer view","Ondersteuningstickets weergeven in klantweergave"
63
+ "Show support tickets on order view","Ondersteuningstickets weergeven in orderweergave"
64
+ "Single Sign-on - Admins and Agents","Enkelvoudige aanmelding – Admins en agenten"
65
+ "Single Sign-on - End-users","Enkelvoudige aanmelding - Eindgebruikers"
66
+ "Single Sign-on Enabled","Enkelvoudige aanmelding ingeschakeld"
67
+ "Single Sign-on Enabled","Enkelvoudige aanmelding ingeschakeld"
68
"Solved","Opgelost"
69
+ "Status","Status"
70
"Subject","Onderwerp"
71
+ "Successfully generated a new API token","Er is een nieuw API-token gegenereerd"
72
+ "Support Channels","Ondersteuningskanalen"
73
+ "Support Tickets","Ondersteuningstickets"
74
+ "Task","Taak"
75
+ "Test Connection","Verbinding testen"
76
+ "The Zendesk log file has not been created. Check to see if logging has been enabled.","Het Zendesk-logbestand is niet gemaakt. Controleer of vastleggen in logbestand is ingeschakeld."
77
"Ticket #%s Created","Ticket #%s gemaakt"
78
+ "To generate a token, log in to Zendesk then select Manage > Channels > API > Token","Als u een token wilt genereren, dient u zich aan te melden bij Zendesk. Selecteer daarna Beheren > Kanalen > API > Token"
79
+ "Troubleshooting tips can be found at <a href="%s">%s</a>","Tip voor het oplossen van problemen vindt u op <a href="%s">%s</a>"
80
+ "Twitter","Twitter"
81
"Type","Type"
82
"Updated","Bijgewerkt"
83
+ "Urgent","Urgent"
84
+ "Use Magento to manage admin and agent authentication.","Gebruik Magento om Admin- en agentenverificatie te beheren."
85
+ "Use Magento to manage end-user authentication.","Met Magento kunt u eindgebruikersautorisatie beheren."
86
+ "Use Magento to manage user authentication.","Met Magento kunt u gebruikersverificatie beheren."
87
+ "Used to link order in Magento with tickets in Zendesk","Gebruikt om order in Magento te koppelen aan tickets in Zendesk"
88
+ "View All Tickets","Alle tickets weergeven"
89
+ "View ticket in Zendesk","Ticket in Zendesk weergeven"
90
+ "Views to show on dashboards","Weergaven voor dashboards"
91
+ "Voice","Voice"
92