Liveagent - Version 2.5.1

Version Notes

changes:
- support for translations added

Download this release

Release Info

Developer Juraj Simon
Extension Liveagent
Version 2.5.1
Comparing to
See all releases


Code changes from version 2.5.0 to 2.5.1

app/code/local/Qualityunit/Liveagent/Block/Signup.php CHANGED
@@ -23,8 +23,7 @@ class Qualityunit_Liveagent_Block_Signup extends Qualityunit_Liveagent_Block_Bas
23
  $this->assignVariable('termsLink', Mage::helper('adminhtml')->__('Terms & Conditions'));
24
  $this->assignVariable('skipLink', Mage::helper('adminhtml')->__('Skip this step, I already have an account'));
25
  $this->assignVariable('settingsSection', Mage::helper('adminhtml')->__('New account'));
26
- $this->assignVariable('pluginHelpText', Mage::helper('adminhtml')->__('We want you to enjoy the full functionality of LiveAgent with the free account. It does not limit the number of agents and you have the option to activate the most of available features. The only limitation is max. 50 conversations per month'));
27
- $this->assignVariable('pluginHelpLink', Mage::helper('adminhtml')->__('read more'));
28
  }
29
 
30
  private function getdomainOnly() {
@@ -76,7 +75,7 @@ class Qualityunit_Liveagent_Block_Signup extends Qualityunit_Liveagent_Block_Bas
76
  </div>
77
  <div class="entry-edit">
78
  <fieldset>
79
- {pluginHelpText}&nbsp;-&nbsp;<a href="http://support.qualityunit.com/671226-Free-account-limitations" target="_blank">{pluginHelpLink}</a>
80
  </fieldset>
81
  </div>
82
  <div class="entry-edit">
23
  $this->assignVariable('termsLink', Mage::helper('adminhtml')->__('Terms & Conditions'));
24
  $this->assignVariable('skipLink', Mage::helper('adminhtml')->__('Skip this step, I already have an account'));
25
  $this->assignVariable('settingsSection', Mage::helper('adminhtml')->__('New account'));
26
+ $this->assignVariable('pluginHelpText', Mage::helper('adminhtml')->__('We want you to enjoy the full functionality of LiveAgent with the free account. It does not limit the number of agents and you have the option to activate the most of available features.'));
 
27
  }
28
 
29
  private function getdomainOnly() {
75
  </div>
76
  <div class="entry-edit">
77
  <fieldset>
78
+ {pluginHelpText}
79
  </fieldset>
80
  </div>
81
  <div class="entry-edit">
app/code/local/Qualityunit/Liveagent/Block/Waiting.php CHANGED
@@ -7,9 +7,12 @@ class Qualityunit_Liveagent_Block_Waiting extends Qualityunit_Liveagent_Block_Ba
7
  $this->assignVariable('completeUrlAction', $this->getUrl('*/*/post'));
8
  $this->assignVariable('installingText', Mage::helper('adminhtml')->__('Thank you! Your account will be online within next few minutes. Please wait...'));
9
  $this->assignVariable('confEmailText', Mage::helper('adminhtml')->__('You should recieve confirmation email with your account credentials shortly.'));
10
- $this->assignVariable('bitLongerText', Mage::helper('adminhtml')->__('<i>Note: Sometimes account creation process may take a</i> <a href=\'http://support.qualityunit.com/knowledgebase/live-agent/integration/magento-plugin/frequently-asked-questions.html\' target="_blank">bit longer</a>.'));
11
- $this->assignVariable('installText', Mage::helper('adminhtml')->__('Installing...'));
12
- $this->assignVariable('formKey', Mage::getSingleton('core/session')->getFormKey());
 
 
 
13
  }
14
 
15
  protected function getTemplateString() {
@@ -41,24 +44,24 @@ class Qualityunit_Liveagent_Block_Waiting extends Qualityunit_Liveagent_Block_Ba
41
  <td ></td>
42
  </tr>
43
  <tr>
44
- <td><div name="liveagent_wait_status" id="liveagent_wait_status" style="padding:10px;">{installText}</div></td>
45
  </tr>
46
  <tr>
47
  <td></td>
48
  </tr>
49
  <tr>
50
- <td>{bitLongerText}</td>
51
  </tr>
52
  </tbody>
53
  </table>
54
  </fieldset>
55
  </div>
56
  <script type="text/javascript"><!--//--><![CDATA[//><!--
57
- setTimeout("document.getElementById(\'liveagent_wait_status\').innerHTML = \'Initializing...\'", 10);
58
  var timer = 3000;
59
  var percentage = 4;
60
  for (i=0;i<24;i++) {
61
- setTimeout("document.getElementById(\'liveagent_wait_status\').innerHTML = \'Installing " + percentage + "% ...\'", timer);
62
  timer+=1000;
63
  percentage+=4;
64
  }
7
  $this->assignVariable('completeUrlAction', $this->getUrl('*/*/post'));
8
  $this->assignVariable('installingText', Mage::helper('adminhtml')->__('Thank you! Your account will be online within next few minutes. Please wait...'));
9
  $this->assignVariable('confEmailText', Mage::helper('adminhtml')->__('You should recieve confirmation email with your account credentials shortly.'));
10
+ $this->assignVariable('bitLongerText', Mage::helper('adminhtml')->__('Note: Sometimes account creation process may take a'));
11
+ $this->assignVariable('bitLongerLink', Mage::helper('adminhtml')->__('bit longer'));
12
+ $this->assignVariable('installText', Mage::helper('adminhtml')->__('Installing'));
13
+ $this->assignVariable('formKey', Mage::getSingleton('core/session')->getFormKey());
14
+ $this->assignVariable('initializingText', Mage::helper('adminhtml')->__('Initializing...'));
15
+
16
  }
17
 
18
  protected function getTemplateString() {
44
  <td ></td>
45
  </tr>
46
  <tr>
47
+ <td><div name="liveagent_wait_status" id="liveagent_wait_status" style="padding:10px;">{installText}...</div></td>
48
  </tr>
49
  <tr>
50
  <td></td>
51
  </tr>
52
  <tr>
53
+ <td><i>{bitLongerText}</i><a href="http://support.qualityunit.com/knowledgebase/live-agent/integration/magento-plugin/frequently-asked-questions.html" target="_blank">{bitLongerLink}</a></td>
54
  </tr>
55
  </tbody>
56
  </table>
57
  </fieldset>
58
  </div>
59
  <script type="text/javascript"><!--//--><![CDATA[//><!--
60
+ setTimeout("document.getElementById(\'liveagent_wait_status\').innerHTML = \'{initializingText}\'", 10);
61
  var timer = 3000;
62
  var percentage = 4;
63
  for (i=0;i<24;i++) {
64
+ setTimeout("document.getElementById(\'liveagent_wait_status\').innerHTML = \'{installText} " + percentage + "% ...\'", timer);
65
  timer+=1000;
66
  percentage+=4;
67
  }
app/code/local/Qualityunit/Liveagent/etc/config.xml CHANGED
@@ -70,6 +70,15 @@
70
  </liveagent>
71
  </updates>
72
  </layout>
 
 
 
 
 
 
 
 
 
73
  </adminhtml>
74
  <global>
75
  <models>
70
  </liveagent>
71
  </updates>
72
  </layout>
73
+ <translate>
74
+ <modules>
75
+ <liveagent>
76
+ <files>
77
+ <default>qualityunit_liveagent.csv</default>
78
+ </files>
79
+ </liveagent>
80
+ </modules>
81
+ </translate>
82
  </adminhtml>
83
  <global>
84
  <models>
app/code/local/Qualityunit/Liveagent/translations.mo ADDED
Binary file
app/code/local/Qualityunit/Liveagent/translations.po ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: mg_la\n"
4
+ "POT-Creation-Date: 2012-10-02 13:20+0100\n"
5
+ "PO-Revision-Date: 2012-10-02 13:22+0100\n"
6
+ "Last-Translator: Juraj Simon <jsimon@qualityunit.com>\n"
7
+ "Language-Team: qualityunit <support@qualityunit.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Poedit-KeywordsList: _\n"
12
+ "X-Poedit-Basepath: .\n"
13
+ "X-Poedit-Language: English\n"
14
+ "X-Poedit-Country: UNITED STATES\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Liveagent</name>
4
- <version>2.5.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GPLv3</license>
7
  <channel>community</channel>
@@ -10,13 +10,11 @@
10
  <description>Magento-LiveAgent plugin integrates full featured help desk and live chat software Live Agent into any Magento installation.&#xD;
11
  Simply add "start chat" button by few simple clicks and be live within 5 minutes.</description>
12
  <notes>changes:&#xD;
13
- - code cleaning&#xD;
14
- - GUI completely rewritten to native Magento look &amp; feel&#xD;
15
- - account settings management improvements</notes>
16
  <authors><author><name>Juraj Simon</name><user>jurajsim</user><email>jsimon@qualityunit.com</email></author></authors>
17
- <date>2012-07-18</date>
18
- <time>11:44:54</time>
19
- <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Liveagent"><dir name="Block"><file name="Account.php" hash="08dfa4e6858112dd3c8506567af47949"/><file name="Base.php" hash="dc71cde05c3010139be7ccab1b9a9120"/><file name="Buttoncode.php" hash="5f9f75f174d5f6b790e57b2d5e79dc6b"/><file name="Signup.php" hash="58ee7c12f39a0c0e0f9e840f7b0e1cf4"/><file name="Waiting.php" hash="09ef44721ed39b116d7138308bf465b2"/></dir><dir name="Exception"><file name="Base.php" hash="6efd9dcda657c33bc9cfe6709300b883"/><file name="ConnectProblem.php" hash="f2c9840d533e6389ba84989337de32c9"/><file name="SignupFailed.php" hash="e370773d3b306bb8c24e5263d1491860"/></dir><dir name="Helper"><file name="Account.php" hash="e82e7c5f8bfc34ce8016a50d9c072046"/><file name="Auth.php" hash="3e7e9f453cf7949d04f519e8f47e8749"/><file name="Base.php" hash="5d7b663453478d14458103a694ab9137"/><file name="Data.php" hash="006a11910d2f5365f4d3fddb2a4058bf"/><file name="PhpApi.php" hash="adb77eb5ef4cc7a2d5b2adc076a3ee81"/><file name="Settings.php" hash="71025affe5879d766ec335bf68b43065"/><file name="Signup.php" hash="597e1fd00cd6446104347e4ea7727fde"/></dir><dir name="Model"><file name="Buttons.php" hash="2db48b5ff722dc0aa13c27ee0d625e74"/><file name="Liveagent.php" hash="91844f01d97d79cff0ee0c91496fa3a3"/><dir name="Mysql4"><dir name="Buttons"><file name="Collection.php" hash="b93a104561a802454e06bfb8ffc29ef5"/></dir><file name="Buttons.php" hash="12ea6a6a4cd03692c1665bfd86b81aa8"/><dir name="Liveagent"><file name="Collection.php" hash="3682b0f4f0ec4b640c5ee215cec222f1"/></dir><file name="Liveagent.php" hash="c52f750808b18966862ef49738eb8daf"/><dir name="Settings"><file name="Collection.php" hash="19b1f3e92b930af46d36d436fb0cdc23"/></dir><file name="Settings.php" hash="7e02819c52cc34ffd14d27aad6165697"/></dir><file name="Settings.php" hash="0c99b933072e01be32b202315367fce9"/><file name="Status.php" hash="c743fdabadd7527820e7b8ede6937f38"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LiveagentController.php" hash="03ed29c55aaeae3c4fdf698f2b524ee1"/></dir><file name="IndexController.php" hash="425c0f6b8d7e19d42ad491c5248efded"/></dir><dir name="etc"><file name="config.xml" hash="3de054d4a5b953fb11185174e8588c83"/></dir><dir name="sql"><dir name="liveagent_setup"><file name="mysql4-install-0.1.0.php" hash="cd122d01be68802ec7d82f553f6da657"/></dir></dir></dir><file name=".buildpath" hash="0d2475e3be03419439e2a22ebc4e0813"/><file name=".project" hash="41fa1353a5ab19352d5636d52e17351d"/><dir name=".settings"><file name="org.eclipse.php.core.prefs" hash="abf8f34f8087365ab830524698638d7c"/><file name="org.eclipse.wst.jsdt.ui.superType.container" hash="b27d1cf62dde4473bab7c433317bb0ce"/><file name="org.eclipse.wst.jsdt.ui.superType.name" hash="c89686a387d2b12b3c729ce35a0bcb5b"/><file name=".jsdtscope" hash="d098ed1fa924b2d9d9cb377fb391d758"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="e07cbd75c0faa7d86c9c0a8a2ff53df1"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="3cef6df19c905140c8c8ce01520f0ebd"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Liveagent.xml" hash="db13786c45588e15d5a390201a1709e4"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Liveagent</name>
4
+ <version>2.5.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/licenses/gpl-3.0.txt">GPLv3</license>
7
  <channel>community</channel>
10
  <description>Magento-LiveAgent plugin integrates full featured help desk and live chat software Live Agent into any Magento installation.&#xD;
11
  Simply add "start chat" button by few simple clicks and be live within 5 minutes.</description>
12
  <notes>changes:&#xD;
13
+ - support for translations added</notes>
 
 
14
  <authors><author><name>Juraj Simon</name><user>jurajsim</user><email>jsimon@qualityunit.com</email></author></authors>
15
+ <date>2012-10-03</date>
16
+ <time>03:48:10</time>
17
+ <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Liveagent"><dir name="Block"><file name="Account.php" hash="08dfa4e6858112dd3c8506567af47949"/><file name="Base.php" hash="dc71cde05c3010139be7ccab1b9a9120"/><file name="Buttoncode.php" hash="5f9f75f174d5f6b790e57b2d5e79dc6b"/><file name="Signup.php" hash="41f9ae06ea131470f8755fe1d40124f9"/><file name="Waiting.php" hash="fcae04ec0df2f9fbf7d69373249fc289"/></dir><dir name="Exception"><file name="Base.php" hash="6efd9dcda657c33bc9cfe6709300b883"/><file name="ConnectProblem.php" hash="f2c9840d533e6389ba84989337de32c9"/><file name="SignupFailed.php" hash="e370773d3b306bb8c24e5263d1491860"/></dir><dir name="Helper"><file name="Account.php" hash="e82e7c5f8bfc34ce8016a50d9c072046"/><file name="Auth.php" hash="3e7e9f453cf7949d04f519e8f47e8749"/><file name="Base.php" hash="5d7b663453478d14458103a694ab9137"/><file name="Data.php" hash="006a11910d2f5365f4d3fddb2a4058bf"/><file name="PhpApi.php" hash="adb77eb5ef4cc7a2d5b2adc076a3ee81"/><file name="Settings.php" hash="71025affe5879d766ec335bf68b43065"/><file name="Signup.php" hash="597e1fd00cd6446104347e4ea7727fde"/></dir><dir name="Model"><file name="Buttons.php" hash="2db48b5ff722dc0aa13c27ee0d625e74"/><file name="Liveagent.php" hash="91844f01d97d79cff0ee0c91496fa3a3"/><dir name="Mysql4"><dir name="Buttons"><file name="Collection.php" hash="b93a104561a802454e06bfb8ffc29ef5"/></dir><file name="Buttons.php" hash="12ea6a6a4cd03692c1665bfd86b81aa8"/><dir name="Liveagent"><file name="Collection.php" hash="3682b0f4f0ec4b640c5ee215cec222f1"/></dir><file name="Liveagent.php" hash="c52f750808b18966862ef49738eb8daf"/><dir name="Settings"><file name="Collection.php" hash="19b1f3e92b930af46d36d436fb0cdc23"/></dir><file name="Settings.php" hash="7e02819c52cc34ffd14d27aad6165697"/></dir><file name="Settings.php" hash="0c99b933072e01be32b202315367fce9"/><file name="Status.php" hash="c743fdabadd7527820e7b8ede6937f38"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LiveagentController.php" hash="03ed29c55aaeae3c4fdf698f2b524ee1"/></dir><file name="IndexController.php" hash="425c0f6b8d7e19d42ad491c5248efded"/></dir><dir name="etc"><file name="config.xml" hash="b4332f8627f166fab8367d18d8e2ac0e"/></dir><dir name="sql"><dir name="liveagent_setup"><file name="mysql4-install-0.1.0.php" hash="cd122d01be68802ec7d82f553f6da657"/></dir></dir><file name="translations.mo" hash="2ab0caaf4416647fffa9484f5d4fa2ca"/><file name="translations.po" hash="4838a0d90d00e34ec994b462685f70c4"/></dir><file name=".buildpath" hash="0d2475e3be03419439e2a22ebc4e0813"/><file name=".project" hash="41fa1353a5ab19352d5636d52e17351d"/><dir name=".settings"><file name="org.eclipse.php.core.prefs" hash="abf8f34f8087365ab830524698638d7c"/><file name="org.eclipse.wst.jsdt.ui.superType.container" hash="b27d1cf62dde4473bab7c433317bb0ce"/><file name="org.eclipse.wst.jsdt.ui.superType.name" hash="c89686a387d2b12b3c729ce35a0bcb5b"/><file name=".jsdtscope" hash="d098ed1fa924b2d9d9cb377fb391d758"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="liveagent.xml" hash="e07cbd75c0faa7d86c9c0a8a2ff53df1"/></dir><dir name="template"><dir name="liveagent"><file name="button.phtml" hash="3cef6df19c905140c8c8ce01520f0ebd"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Liveagent.xml" hash="db13786c45588e15d5a390201a1709e4"/></dir></target><target name="magelocale"><dir><dir name="app"><dir name="locale"><dir name="en_US"><file name="qualityunit_liveagent.csv" hash=""/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php><extension><name>curl</name><min></min><max></max></extension></required></dependencies>
20
  </package>