ET_CurrencyManager - Version 1.1.0

Version Notes

stable release

Download this release

Release Info

Developer Magento Core Team
Extension ET_CurrencyManager
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.3 to 1.1.0

app/code/community/ET/CurrencyManager/Block/Adminhtml/Support.php CHANGED
@@ -23,7 +23,7 @@ class ET_CurrencyManager_Block_Adminhtml_Support
23
  {
24
  /**
25
  * Support tab
26
- * version 1.0.0
27
  */
28
  public function render(Varien_Data_Form_Element_Abstract $element)
29
  {
@@ -41,7 +41,7 @@ class ET_CurrencyManager_Block_Adminhtml_Support
41
  $moduleLink = $this->_getConfigValue($moduleNameId, 'permanentlink') . $linkParameters;
42
  $servicesLink = $this->_getConfigValue($moduleNameId, 'ourserviceslink') . $linkParameters;
43
 
44
- $html =
45
  '<style>
46
  .line {border-top: 1px solid #c6c6c6; }
47
  .developer-label {color: #000000; font-weight:bold; width: 150px;}
@@ -83,7 +83,7 @@ class ET_CurrencyManager_Block_Adminhtml_Support
83
  <td class="developer-text line">' . $helper->__(
84
  'Extension support is available through <a href="%s" target="_blank">issue tracking system' .
85
  '</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br>' .
86
- '<br>Please, report all bugs and feature requests that are connected to this extension.<br>' .
87
  '<br>If by some reason you can not submit a question, bug report or feature request to our ' .
88
  'ticket system, you can write us an email - support@etwebsolutions.com.',
89
  $moduleSupportLink) . '</td>
23
  {
24
  /**
25
  * Support tab
26
+ * version 1.0.1
27
  */
28
  public function render(Varien_Data_Form_Element_Abstract $element)
29
  {
41
  $moduleLink = $this->_getConfigValue($moduleNameId, 'permanentlink') . $linkParameters;
42
  $servicesLink = $this->_getConfigValue($moduleNameId, 'ourserviceslink') . $linkParameters;
43
 
44
+ $html =
45
  '<style>
46
  .line {border-top: 1px solid #c6c6c6; }
47
  .developer-label {color: #000000; font-weight:bold; width: 150px;}
83
  <td class="developer-text line">' . $helper->__(
84
  'Extension support is available through <a href="%s" target="_blank">issue tracking system' .
85
  '</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br>' .
86
+ '<br>Please, report all bugs and feature requests that are related to this extension.<br>' .
87
  '<br>If by some reason you can not submit a question, bug report or feature request to our ' .
88
  'ticket system, you can write us an email - support@etwebsolutions.com.',
89
  $moduleSupportLink) . '</td>
app/code/community/ET/CurrencyManager/Block/Adminhtml/Symbolreplace.php CHANGED
@@ -71,7 +71,7 @@ class ET_CurrencyManager_Block_Adminhtml_Symbolreplace extends Mage_Adminhtml_Bl
71
  $html = '<label>' . $this->__('Replace Zero Price to:') . ' </label> ';
72
  $html .= '<input class="input-text" name="' . $this->getElement()->getName() . '[zerotext][]" value="'
73
  . $this->_getValue('zerotext/' . $row) . '" ' . $this->_getDisabled() . '/> ';
74
- $html .= '<p class="nm"><small>' . $this->__('Leave empty for disable replace') . '</small></p>';
75
  return $html;
76
  }
77
 
71
  $html = '<label>' . $this->__('Replace Zero Price to:') . ' </label> ';
72
  $html .= '<input class="input-text" name="' . $this->getElement()->getName() . '[zerotext][]" value="'
73
  . $this->_getValue('zerotext/' . $row) . '" ' . $this->_getDisabled() . '/> ';
74
+ $html .= '<p class="nm"><small>' . $this->__('Leave empty for global value use') . '</small></p>';
75
  return $html;
76
  }
77
 
app/code/community/ET/CurrencyManager/Helper/Data.php CHANGED
@@ -122,6 +122,10 @@ class ET_CurrencyManager_Helper_Data extends Mage_Core_Helper_Abstract
122
  if (isset($config['precision'])) { // precision must be in range -1 .. 30
123
  $options['precision'] = min(30, max(-1, (int)$config['precision']));
124
  }
 
 
 
 
125
  }
126
 
127
  if (isset($config['position'])) {
@@ -131,6 +135,7 @@ class ET_CurrencyManager_Helper_Data extends Mage_Core_Helper_Abstract
131
  $options['display'] = (int)$config['display'];
132
  }
133
 
 
134
  if (isset($config['input_admin'])) {
135
  if ($config['input_admin'] > 0) {
136
  $optionsAdvanced['input_admin'] = (int)$config['input_admin'];
@@ -166,9 +171,7 @@ class ET_CurrencyManager_Helper_Data extends Mage_Core_Helper_Abstract
166
  $tmpOptions['symbol'] = $this->_getCurrencyOption($currency, $symbolReplace, 'symbol');
167
 
168
  if ($notCheckout) {
169
- $tmpOptionsAdvanced['zerotext'] = $this->_getCurrencyOption(
170
- $currency, $symbolReplace, 'zerotext'
171
- );
172
 
173
  $precision = $this->_getCurrencyOption($currency, $symbolReplace, 'precision', true);
174
  if ($precision !== false) {
122
  if (isset($config['precision'])) { // precision must be in range -1 .. 30
123
  $options['precision'] = min(30, max(-1, (int)$config['precision']));
124
  }
125
+
126
+ if (isset($config['zerotext'])) {
127
+ $optionsAdvanced['zerotext'] = $config['zerotext'];
128
+ }
129
  }
130
 
131
  if (isset($config['position'])) {
135
  $options['display'] = (int)$config['display'];
136
  }
137
 
138
+
139
  if (isset($config['input_admin'])) {
140
  if ($config['input_admin'] > 0) {
141
  $optionsAdvanced['input_admin'] = (int)$config['input_admin'];
171
  $tmpOptions['symbol'] = $this->_getCurrencyOption($currency, $symbolReplace, 'symbol');
172
 
173
  if ($notCheckout) {
174
+ $tmpOptionsAdvanced['zerotext'] = $this->_getCurrencyOption($currency, $symbolReplace, 'zerotext');
 
 
175
 
176
  $precision = $this->_getCurrencyOption($currency, $symbolReplace, 'precision', true);
177
  if ($precision !== false) {
app/code/community/ET/CurrencyManager/Helper/Url.php ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * You may not sell, sub-license, rent or lease
6
+ * any portion of the Software or Documentation to anyone.
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade to newer
11
+ * versions in the future.
12
+ *
13
+ * @category ET
14
+ * @package ET_CurrencyManager
15
+ * @copyright Copyright (c) 2012 ET Web Solutions (http://etwebsolutions.com)
16
+ * @contacts support@etwebsolutions.com
17
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
18
+ */
19
+
20
+ class ET_CurrencyManager_Helper_Url extends Mage_Directory_Helper_Url
21
+ {
22
+ /**
23
+ * Retrieve switch currency url
24
+ *
25
+ * @param array $params Additional url params
26
+ * @return string
27
+ */
28
+ public function getSwitchCurrencyUrl($params = array())
29
+ {
30
+ $params = is_array($params) ? $params : array();
31
+
32
+ /*if ($this->_getRequest()->getAlias('rewrite_request_path')) {
33
+ $url = Mage::app()->getStore()->getBaseUrl() . $this->_getRequest()->getAlias('rewrite_request_path');
34
+ }
35
+ else {*/
36
+ $url = $this->getCurrentUrl();
37
+ //}
38
+ $params[Mage_Core_Controller_Front_Action::PARAM_NAME_URL_ENCODED] = Mage::helper('core')->urlEncode($url);
39
+
40
+
41
+ return $this->_getUrl('directory/currency/switch', $params);
42
+ }
43
+
44
+ }
app/code/community/ET/CurrencyManager/Model/Currency.php CHANGED
@@ -23,7 +23,7 @@ class ET_CurrencyManager_Model_Currency extends Mage_Directory_Model_Currency
23
  public function format($price, $options = array(), $includeContainer = true, $addBrackets = false)
24
  {
25
  if (method_exists($this, "formatPrecision")) {
26
- $options = Mage::helper('currencymanager')->getOptions(array());
27
 
28
  return $this->formatPrecision(
29
  $price,
@@ -66,7 +66,7 @@ class ET_CurrencyManager_Model_Currency extends Mage_Directory_Model_Currency
66
  //check against -0
67
  $answer = $this->_formatWithPrecision($options, $optionsAdvanced, $price, $answer);
68
 
69
- if (!($helper->isInOrder() & $optionsAdvanced['excludecheckout'])) {
70
  if ($price == 0) {
71
  if (isset($optionsAdvanced['zerotext']) && $optionsAdvanced['zerotext'] != "") {
72
  return $optionsAdvanced['zerotext'];
23
  public function format($price, $options = array(), $includeContainer = true, $addBrackets = false)
24
  {
25
  if (method_exists($this, "formatPrecision")) {
26
+ $options = Mage::helper('currencymanager')->getOptions($options);
27
 
28
  return $this->formatPrecision(
29
  $price,
66
  //check against -0
67
  $answer = $this->_formatWithPrecision($options, $optionsAdvanced, $price, $answer);
68
 
69
+ if (!($helper->isInOrder() && $optionsAdvanced['excludecheckout'])) {
70
  if ($price == 0) {
71
  if (isset($optionsAdvanced['zerotext']) && $optionsAdvanced['zerotext'] != "") {
72
  return $optionsAdvanced['zerotext'];
app/code/community/ET/CurrencyManager/Model/Observer.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * You may not sell, sub-license, rent or lease
6
+ * any portion of the Software or Documentation to anyone.
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade to newer
11
+ * versions in the future.
12
+ *
13
+ * @category ET
14
+ * @package ET_CurrencyManager
15
+ * @copyright Copyright (c) 2012 ET Web Solutions (http://etwebsolutions.com)
16
+ * @contacts support@etwebsolutions.com
17
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
18
+ */
19
+
20
+ class ET_CurrencyManager_Model_Observer
21
+ {
22
+
23
+ public function fixCurrencySwitchUrl(Varien_Event_Observer $observer)
24
+ {
25
+ $isFixEnabled = (int)Mage::getConfig()->getNode('default/currencymanager/additional/fix_currency_switch_url');
26
+ if ($isFixEnabled) {
27
+ //helper rewrite
28
+ Mage::getConfig()->setNode('global/helpers/directory/rewrite/url', 'ET_CurrencyManager_Helper_Url');
29
+
30
+ //controller rewrite
31
+ Mage::getConfig()->setNode('global/rewrite/currencymanager_switch_currency/from',
32
+ '#^/directory/currency#');
33
+ Mage::getConfig()->setNode('global/rewrite/currencymanager_switch_currency/to',
34
+ '/currencymanager/currency');
35
+ }
36
+ }
37
+ }
app/code/community/ET/CurrencyManager/controllers/CurrencyController.php ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * NOTICE OF LICENSE
4
+ *
5
+ * You may not sell, sub-license, rent or lease
6
+ * any portion of the Software or Documentation to anyone.
7
+ *
8
+ * DISCLAIMER
9
+ *
10
+ * Do not edit or add to this file if you wish to upgrade to newer
11
+ * versions in the future.
12
+ *
13
+ * @category ET
14
+ * @package ET_CurrencyManager
15
+ * @copyright Copyright (c) 2012 ET Web Solutions (http://etwebsolutions.com)
16
+ * @contacts support@etwebsolutions.com
17
+ * @license http://shop.etwebsolutions.com/etws-license-free-v1/ ETWS Free License (EFL1)
18
+ */
19
+
20
+ require_once 'Mage/Directory/controllers/CurrencyController.php';
21
+ class ET_CurrencyManager_CurrencyController extends Mage_Directory_CurrencyController
22
+ {
23
+
24
+ public function switchAction()
25
+ {
26
+ if ($curency = (string)$this->getRequest()->getParam('currency')) {
27
+ Mage::app()->getStore()->setCurrentCurrencyCode($curency);
28
+ }
29
+ $this->_redirectReferer(Mage::getBaseUrl());
30
+ }
31
+
32
+ protected function _redirectReferer($defaultUrl = null)
33
+ {
34
+
35
+ $refererUrl = $this->_getRefererUrl();
36
+ if (empty($refererUrl)) {
37
+ $refererUrl = empty($defaultUrl) ? Mage::getBaseUrl() : $defaultUrl;
38
+ }
39
+
40
+ $this->getResponse()->setRedirect($refererUrl);
41
+ return $this;
42
+ }
43
+
44
+ protected function _getRefererUrl()
45
+ {
46
+ $refererUrl = $this->getRequest()->getServer('HTTP_REFERER');
47
+ if ($url = $this->getRequest()->getParam(self::PARAM_NAME_REFERER_URL)) {
48
+ $refererUrl = $url;
49
+ }
50
+ if ($url = $this->getRequest()->getParam(self::PARAM_NAME_BASE64_URL)) {
51
+ $refererUrl = Mage::helper('core')->urlDecode($url);
52
+ }
53
+ if ($url = $this->getRequest()->getParam(self::PARAM_NAME_URL_ENCODED)) {
54
+ $refererUrl = Mage::helper('core')->urlDecode($url);
55
+ }
56
+
57
+ //$refererUrl = Mage::helper('core')->escapeUrl($refererUrl);
58
+
59
+ if (!$this->_isUrlInternal($refererUrl)) {
60
+ $refererUrl = Mage::app()->getStore()->getBaseUrl();
61
+ }
62
+ return $refererUrl;
63
+ }
64
+ }
app/code/community/ET/CurrencyManager/etc/config.xml CHANGED
@@ -22,7 +22,7 @@
22
  <modules>
23
  <ET_CurrencyManager>
24
  <name>ET Currency Manager</name>
25
- <version>1.0.3</version>
26
  <descr>
27
  <ru_RU><![CDATA[Модуль позволяет владельцу магазина просто и удобно управлять отображением цены: указывать свой символ валюты, количество знаков после запятой, позицию символа и др.]]>
28
  </ru_RU>
@@ -59,6 +59,7 @@
59
  <data>ET_CurrencyManager_Helper_Tax</data>
60
  </rewrite>
61
  </tax>
 
62
  </helpers>
63
  <models>
64
  <directory>
@@ -111,6 +112,17 @@
111
  </connection>
112
  </currencymanager_read>
113
  </resources>
 
 
 
 
 
 
 
 
 
 
 
114
  </global>
115
 
116
  <default>
@@ -126,6 +138,9 @@
126
  <position>8</position>
127
  <display>2</display>
128
  </general>
 
 
 
129
  </currencymanager>
130
  </default>
131
 
@@ -138,6 +153,15 @@
138
  </currencymanager>
139
  </updates>
140
  </layout>
 
 
 
 
 
 
 
 
 
141
  </frontend>
142
 
143
  <adminhtml>
22
  <modules>
23
  <ET_CurrencyManager>
24
  <name>ET Currency Manager</name>
25
+ <version>1.1.0</version>
26
  <descr>
27
  <ru_RU><![CDATA[Модуль позволяет владельцу магазина просто и удобно управлять отображением цены: указывать свой символ валюты, количество знаков после запятой, позицию символа и др.]]>
28
  </ru_RU>
59
  <data>ET_CurrencyManager_Helper_Tax</data>
60
  </rewrite>
61
  </tax>
62
+
63
  </helpers>
64
  <models>
65
  <directory>
112
  </connection>
113
  </currencymanager_read>
114
  </resources>
115
+ <events>
116
+ <controller_front_init_before>
117
+ <observers>
118
+ <fix_currency_switch_url>
119
+ <type>model</type>
120
+ <class>currencymanager/observer</class>
121
+ <method>fixCurrencySwitchUrl</method>
122
+ </fix_currency_switch_url>
123
+ </observers>
124
+ </controller_front_init_before>
125
+ </events>
126
  </global>
127
 
128
  <default>
138
  <position>8</position>
139
  <display>2</display>
140
  </general>
141
+ <additional>
142
+ <fix_currency_switch_url>0</fix_currency_switch_url>
143
+ </additional>
144
  </currencymanager>
145
  </default>
146
 
153
  </currencymanager>
154
  </updates>
155
  </layout>
156
+ <routers>
157
+ <currencymanager>
158
+ <use>standard</use>
159
+ <args>
160
+ <module>ET_CurrencyManager</module>
161
+ <frontName>currencymanager</frontName>
162
+ </args>
163
+ </currencymanager>
164
+ </routers>
165
  </frontend>
166
 
167
  <adminhtml>
app/code/community/ET/CurrencyManager/etc/system.xml CHANGED
@@ -193,6 +193,15 @@
193
  <show_in_website>1</show_in_website>
194
  <show_in_store>1</show_in_store>
195
  </display>
 
 
 
 
 
 
 
 
 
196
 
197
  <heading_specific translate="label">
198
  <label>Currency options (for specific currency)</label>
@@ -212,8 +221,29 @@
212
  <show_in_website>1</show_in_website>
213
  <show_in_store>1</show_in_store>
214
  </symbolreplace>
 
215
  </fields>
216
  </general>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
  </groups>
218
  </currencymanager>
219
  </sections>
193
  <show_in_website>1</show_in_website>
194
  <show_in_store>1</show_in_store>
195
  </display>
196
+ <zerotext translate="label comment">
197
+ <label>Replace Zero Price to</label>
198
+ <comment><![CDATA[Leave empty for disable replace]]></comment>
199
+ <frontend_type>text</frontend_type>
200
+ <sort_order>350</sort_order>
201
+ <show_in_default>1</show_in_default>
202
+ <show_in_website>1</show_in_website>
203
+ <show_in_store>1</show_in_store>
204
+ </zerotext>
205
 
206
  <heading_specific translate="label">
207
  <label>Currency options (for specific currency)</label>
221
  <show_in_website>1</show_in_website>
222
  <show_in_store>1</show_in_store>
223
  </symbolreplace>
224
+
225
  </fields>
226
  </general>
227
+ <additional translate="label">
228
+ <label>Additional Options</label>
229
+ <frontend_type>text</frontend_type>
230
+ <sort_order>20</sort_order>
231
+ <show_in_default>1</show_in_default>
232
+ <show_in_website>1</show_in_website>
233
+ <show_in_store>1</show_in_store>
234
+ <fields>
235
+ <fix_currency_switch_url translate="label comment">
236
+ <label>Fix URL</label>
237
+ <comment><![CDATA[In Magento by default when customer switches to another currency, he stays on the same page, but all parameters are omitted.<br><br><b>before switch:</b><br>site.com/category.html?color=24&price=100-200<br><b>after switch:</b><br>site.com/category.html<br><br>This setting allows to return customer to the same address, where he was before switching currency.]]></comment>
238
+ <frontend_type>select</frontend_type>
239
+ <source_model>adminhtml/system_config_source_yesno</source_model>
240
+ <sort_order>100</sort_order>
241
+ <show_in_default>1</show_in_default>
242
+ <show_in_website>1</show_in_website>
243
+ <show_in_store>1</show_in_store>
244
+ </fix_currency_switch_url>
245
+ </fields>
246
+ </additional>
247
  </groups>
248
  </currencymanager>
249
  </sections>
app/locale/en_US/ET_Currencymanager.csv CHANGED
@@ -34,6 +34,7 @@
34
  "Currency symbol use:","Currency symbol use:"
35
  "Replace symbol to:","Replace symbol to:"
36
  "Replace Zero Price to:","Replace Zero Price to:"
 
37
  "Add currency specific options","Add currency specific options"
38
  "Currency Manager information","Currency Manager information"
39
  "Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com","Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com"
@@ -42,4 +43,4 @@
42
  "Used only if Cut Zero Decimals = Yes, default "",-""","Used only if Cut Zero Decimals = Yes, default "",-"""
43
  "Enable for Inputs","Enable for Inputs"
44
  "Suffix:","Suffix:"
45
- "Replaces Cuted Zero Decimals","Replaces Cuted Zero Decimals"
34
  "Currency symbol use:","Currency symbol use:"
35
  "Replace symbol to:","Replace symbol to:"
36
  "Replace Zero Price to:","Replace Zero Price to:"
37
+ "Replace Zero Price to","Replace Zero Price to"
38
  "Add currency specific options","Add currency specific options"
39
  "Currency Manager information","Currency Manager information"
40
  "Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com","Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com"
43
  "Used only if Cut Zero Decimals = Yes, default "",-""","Used only if Cut Zero Decimals = Yes, default "",-"""
44
  "Enable for Inputs","Enable for Inputs"
45
  "Suffix:","Suffix:"
46
+ "Replaces Cuted Zero Decimals","Replaces Cuted Zero Decimals"
app/locale/ru_RU/ET_Currencymanager.csv CHANGED
@@ -1,66 +1,70 @@
1
- "Currency Manager","Currency Manager"
2
- "Remove","Удалить"
3
- "* Select currency","* Выберите валюту"
4
- "Currency Options","Параметры валюты"
5
- "Enabled for Frontend","Включено для пользователей"
6
- "Enabled for Admin","Включено для администраторов"
7
- "Precision","Точность"
8
- "Precision:","Точность:"
9
- "Number of decimal (e.g. 0, 1, 2). Default: 0","Кол-во знаков после запятой (например: 0, 1, 2). По умолчанию: 0"
10
- "Symbol position","Позиция символа"
11
- "Currency symbol use","Обозначение валюты"
12
- "e.g. Symbol = Ls, Short name = LVL, Name = Latvian Lats","Например: Символ = руб., Код = RUB, Наименование = Российский рубль"
13
- "Default","По умолчанию"
14
- "Right","После цены"
15
- "Left","Перед ценой"
16
- "Do not use","не использовать"
17
- "Use symbol","символ"
18
- "Use short name","код"
19
- "Use name","наименование"
20
- "Yes","Да"
21
- "No","Нет"
22
- "Frontend specific options","Параметры для пользовательской части"
23
- "Admin specific options","Параметры для панели администрирования"
24
- "Currency options (global)","Параметры валюты (глобальные)"
25
- "Currency options (for specific currency)","Параметры валюты (для конкретной валюты)"
26
- "Exclude for checkout","Исключение для заказа"
27
- "If Yes - options [Precision] and [Replace Zero Price] will not affect display of prices in checkout.","Если Да - параметры [Точность] и [Заменить нулевые цены] не будут влиять на отображение цены в заказе."
28
- "Cut Zero Decimals","Отбрасывать нули после запятой"
29
- "Cut Zero Decimals:","Отбрасывать нули после запятой:"
30
- "If Yes price will be 99 instead of 99.00, but 99.99 if price 99.99","Если Да цена будет 99 вместо 99.00, но 99.99 при цене 99.99"
31
- "Currency specific options","Параметры для конкретной валюты"
32
- "Select currency:","Выберите валюту:"
33
- "Symbol position:","Позиция символа:"
34
- "Currency symbol use:","Обозначение валюты:"
35
- "Replace symbol to:","Заменить символ на:"
36
- "Replace Zero Price to:","Заменить нулевые цены на:"
37
- "Add currency specific options","Добавить параметры, специфичные для валюты"
38
- "Currency Manager information","Информация о модуле Currency Manager"
39
- "Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com","Поддержка - support@etwebsolutions.com <br /> Вы можете нанять нашу команду для любых работ по Magento. Пишите на sales@etwebsolutions.com"
40
- "Leave empty for disable replace","Оставьте пустым, если не хотите делать замену"
41
- "Leave empty for global value use","Оставьте пустым для использования глобального значения"
42
- "Used only if Cut Zero Decimals = Yes, default "",-""","Используется только при значении Отбрасывать нули после запятой = Да. По умолчанию: "",-"""
43
- "Enable for Inputs","Применять для полей ввода цены"
44
- "Suffix:","Заменить отброшенные нули на значение:"
45
- "Replaces Cuted Zero Decimals","Заменить отброшенные нули на значение"
46
- "Click here to configure currency additional display options","Перейти к дополнительным настройкам отображения валюты"
47
-
48
- "Extension:","Модуль:"
49
- "<strong>%s</strong> (version %s)","<strong>%s</strong> (версия %s)"
50
- "License:","Лицензия:"
51
- "Short Description:","Краткое описание:"
52
- "Documentation:","Документация:"
53
- "Support:","Поддержка:"
54
- "Advertisement:","Реклама:"
55
- "You can see description of extension features and answers to the frequently asked questions on <a href=""%s"" target=""_balnk"">our website</a>.","Описание позможностей модуля и ответы на часто задаваемые вопросы смотрите на <a href=""%s"" target=""_balnk"">нашем сайте</a>."
56
- "You can hire our team to customize the extension. E-mail us on sales@etwebsolutions.com.<br><br>You can see a list of provided services on <a href=""%s"" target=""_blank"">our website</a>.","Вы можете нанять нашу команду для любых работ по модификации модуля. Пишите на адрес sales@etwebsolutions.com.<br><br>Со списком предоставляемых нами услуг вы можете ознакомиться <a href=""%s"" target=""_blank"">на нашем сайте</a>."
57
-
58
- "Extension support is available through <a href=""%s"" target=""_blank"">issue tracking system</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br><br>Please, report all bugs and feature requests that are connected to this extension.<br><br>If by some reason you can not submit a question, bug report or feature request to our ticket system, you can write us an email - support@etwebsolutions.com.","Поддержка модуля осуществляется через <a href=""%s"" target=""_blank"">систему отслеживания заданий</a>.<br>Для создания задачи будет необходимо зарегистрироваться. Для просмотра информации регистрация не требуется.<br><br>Пожалуйста, сообщайте нам о найденных ошибках и о своих пожеланиях в рамках этого модуля.<br><br>Если по каким-либо причинам вы не можете размеситить вопрос/сообщение об ошибке/пожелание в списке задач, то можете написать нам по адресу support@etwebsolutions.com."
59
- "",""
60
- "",""
61
- "",""
62
- "",""
63
- "",""
64
- "",""
65
- "",""
66
- "",""
 
 
 
 
1
+ "Currency Manager","Currency Manager"
2
+ "Remove","Удалить"
3
+ "* Select currency","* Выберите валюту"
4
+ "Currency Options","Параметры валюты"
5
+ "Enabled for Frontend","Включено для пользователей"
6
+ "Enabled for Admin","Включено для администраторов"
7
+ "Precision","Точность"
8
+ "Precision:","Точность:"
9
+ "Number of decimal (e.g. 0, 1, 2). Default: 0","Кол-во знаков после запятой (например: 0, 1, 2). По умолчанию: 0"
10
+ "Symbol position","Позиция символа"
11
+ "Currency symbol use","Обозначение валюты"
12
+ "e.g. Symbol = Ls, Short name = LVL, Name = Latvian Lats","Например: Символ = руб., Код = RUB, Наименование = Российский рубль"
13
+ "Default","По умолчанию"
14
+ "Right","После цены"
15
+ "Left","Перед ценой"
16
+ "Do not use","не использовать"
17
+ "Use symbol","символ"
18
+ "Use short name","код"
19
+ "Use name","наименование"
20
+ "Yes","Да"
21
+ "No","Нет"
22
+ "Frontend specific options","Параметры для пользовательской части"
23
+ "Admin specific options","Параметры для панели администрирования"
24
+ "Currency options (global)","Параметры валюты (глобальные)"
25
+ "Currency options (for specific currency)","Параметры валюты (для конкретной валюты)"
26
+ "Exclude for checkout","Исключение для заказа"
27
+ "If Yes - options [Precision] and [Replace Zero Price] will not affect display of prices in checkout.","Если Да - параметры [Точность] и [Заменить нулевые цены] не будут влиять на отображение цены в заказе."
28
+ "Cut Zero Decimals","Отбрасывать нули после запятой"
29
+ "Cut Zero Decimals:","Отбрасывать нули после запятой:"
30
+ "If Yes price will be 99 instead of 99.00, but 99.99 if price 99.99","Если Да цена будет 99 вместо 99.00, но 99.99 при цене 99.99"
31
+ "Currency specific options","Параметры для конкретной валюты"
32
+ "Select currency:","Выберите валюту:"
33
+ "Symbol position:","Позиция символа:"
34
+ "Currency symbol use:","Обозначение валюты:"
35
+ "Replace symbol to:","Заменить символ на:"
36
+ "Replace Zero Price to:","Заменить нулевые цены на:"
37
+ "Replace Zero Price to","Заменить нулевые цены на"
38
+ "Add currency specific options","Добавить параметры, специфичные для валюты"
39
+ "Currency Manager information","Информация о модуле Currency Manager"
40
+ "Support by support@etwebsolutions.com <br /> You can hire our team for any customizations. Contact us at sales@etwebsolutions.com","Поддержка - support@etwebsolutions.com <br /> Вы можете нанять нашу команду для любых работ по Magento. Пишите на sales@etwebsolutions.com"
41
+ "Leave empty for disable replace","Оставьте пустым, если не хотите делать замену"
42
+ "Leave empty for global value use","Оставьте пустым для использования глобального значения"
43
+ "Used only if Cut Zero Decimals = Yes, default "",-""","Используется только при значении Отбрасывать нули после запятой = Да. По умолчанию: "",-"""
44
+ "Enable for Inputs","Применять для полей ввода цены"
45
+ "Suffix:","Заменить отброшенные нули на значение:"
46
+ "Replaces Cuted Zero Decimals","Заменить отброшенные нули на значение"
47
+ "Click here to configure currency additional display options","Перейти к дополнительным настройкам отображения валюты"
48
+ "Additional Options","Дополнительные настройки"
49
+ "Fix URL","Исправить адрес"
50
+
51
+ "Extension:","Модуль:"
52
+ "<strong>%s</strong> (version %s)","<strong>%s</strong> (версия %s)"
53
+ "License:","Лицензия:"
54
+ "Short Description:","Краткое описание:"
55
+ "Documentation:","Документация:"
56
+ "Support:","Поддержка:"
57
+ "Advertisement:","Реклама:"
58
+ "You can see description of extension features and answers to the frequently asked questions on <a href=""%s"" target=""_balnk"">our website</a>.","Описание позможностей модуля и ответы на часто задаваемые вопросы смотрите на <a href=""%s"" target=""_balnk"">нашем сайте</a>."
59
+ "You can hire our team to customize the extension. E-mail us on sales@etwebsolutions.com.<br><br>You can see a list of provided services on <a href=""%s"" target=""_blank"">our website</a>.","Вы можете нанять нашу команду для любых работ по модификации модуля. Пишите на адрес sales@etwebsolutions.com.<br><br>Со списком предоставляемых нами услуг вы можете ознакомиться <a href=""%s"" target=""_blank"">на нашем сайте</a>."
60
+
61
+ "Extension support is available through <a href=""%s"" target=""_blank"">issue tracking system</a>.<br>You can see information freely, but you will have to sign up to open a ticket.<br><br>Please, report all bugs and feature requests that are related to this extension.<br><br>If by some reason you can not submit a question, bug report or feature request to our ticket system, you can write us an email - support@etwebsolutions.com.","Поддержка модуля осуществляется через <a href=""%s"" target=""_blank"">систему отслеживания заданий</a>.<br>Для создания задачи будет необходимо зарегистрироваться. Для просмотра информации регистрация не требуется.<br><br>Пожалуйста, сообщайте нам о найденных ошибках и о своих пожеланиях в рамках этого модуля.<br><br>Если по каким-либо причинам вы не можете размеситить вопрос/сообщение об ошибке/пожелание в списке задач, то можете написать нам по адресу support@etwebsolutions.com."
62
+ "In Magento by default when customer switches to another currency, he stays on the same page, but all parameters are omitted.<br><br><b>before switch:</b><br>site.com/category.html?color=24&price=100-200<br><b>after switch:</b><br>site.com/category.html<br><br>This setting allows to return customer to the same address, where he was before switching currency.","По умолчанию в Magento при переключении валюты клиент остаётся на текущей странице, но отбрасываются все параметры.<br><br><b>перед переключением:</b><br>site.com/category.html?color=24&price=100-200<br><b>после:</b><br>site.com/category.html<br><br>Данная настройка позволяет вернуться точно на тот же адрес, где клиент был до переключения валюты."
63
+ "",""
64
+ "",""
65
+ "",""
66
+ "",""
67
+ "",""
68
+ "",""
69
+ "",""
70
+ "",""
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_CurrencyManager</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
@@ -9,10 +9,10 @@
9
  <summary>Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc.</summary>
10
  <description>_Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc._</description>
11
  <notes>stable release</notes>
12
- <authors><author><name>Jurij</name><user>niro</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>zlojd</user><email>support@etwebsolutions.com</email></author></authors>
13
- <date>2012-12-18</date>
14
- <time>08:54:07</time>
15
- <contents><target name="magecommunity"><dir name="ET"><dir name="CurrencyManager"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Options"><file name="Option.php" hash="3c8ebb1d4539a0cad43a247336c2ed2b"/></dir></dir></dir></dir></dir><file name="Formprice.php" hash="787bb8c6466fd5b58edff9119aeca6f0"/><file name="Heading.php" hash="0282201202dfbe3c2a9a7f0e3016bbd4"/><file name="Support.php" hash="c6a46702557a855dbdedd370f8981551"/><file name="Symbolreplace.php" hash="575dd05525aaa2fba90fa17703db373b"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Linktooptions.php" hash="254eef26e1ae0edecc76a31541b244ae"/></dir></dir></dir></dir></dir><file name="Js.php" hash="086a2b3e70400c840615fd499ab5883e"/></dir><dir name="Helper"><file name="Data.php" hash="6d9aabf9c789c1b42741d62271d9d7ed"/><file name="Tax.php" hash="46abce595a7a809facf1c4d45db5043e"/></dir><dir name="Model"><file name="Currency.php" hash="6cb15c536e758b727dcb291f5bb6d0d6"/><file name="Locale.php" hash="5f4d8d523f8d7a351f5afc952cdc9dd5"/><file name="Store.php" hash="c4894be6525eca58ef8efa909f87f959"/><file name="Typeposition.php" hash="9132477fac1f0bc56be36e18613ff23c"/><file name="Typesymboluse.php" hash="50b7bdd60eb040007f1b8f5bd9486b19"/></dir><dir name="etc"><file name="config.xml" hash="c1529784f179de7004bd70524ec890c9"/><file name="system.xml" hash="eb917d8b2320082c266af46a000acd9b"/></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_Currencymanager.csv" hash="4e3660d05aeb3623031169a55d34d649"/></dir><dir name="en_US"><file name="ET_Currencymanager.csv" hash="c763398c9a2bcba295fe3ba623b6614f"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_CurrencyManager.xml" hash="3c6bef9710e3c4922e45f962a41e1f9e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="et_currencymanager.xml" hash="8f5344b2377c45da3ec2b0cc3199040e"/></dir><dir name="template"><dir name="et_currencymanager"><file name="js.phtml" hash="0274f020be65ff87521d1ba053a31ad3"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="et"><dir name="currencymanager"><file name="et_currencymanager.js" hash="4eccc0024cae9c67123584d2cac2f38a"/><file name="et_currencymanager_round.js" hash="a57cee1500b4ab851110982fcaea4f36"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_CurrencyManager</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://shop.etwebsolutions.com/eng/etws-license-free-v1">ETWS Free License (EFL1)</license>
7
  <channel>community</channel>
9
  <summary>Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc.</summary>
10
  <description>_Currency Manager lets shop owner manage price display in an easy and convenient way: show custom currency symbol, change its position, change number of decimals and etc._</description>
11
  <notes>stable release</notes>
12
+ <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
13
+ <date>2013-09-30</date>
14
+ <time>08:51:15</time>
15
+ <contents><target name="magecommunity"><dir name="ET"><dir name="CurrencyManager"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Edit"><dir name="Tab"><dir name="Options"><file name="Option.php" hash="3c8ebb1d4539a0cad43a247336c2ed2b"/></dir></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Linktooptions.php" hash="254eef26e1ae0edecc76a31541b244ae"/></dir></dir></dir></dir><file name="Formprice.php" hash="787bb8c6466fd5b58edff9119aeca6f0"/><file name="Heading.php" hash="0282201202dfbe3c2a9a7f0e3016bbd4"/><file name="Support.php" hash="3bf2f4c1e67d325bf27bf265b7945644"/><file name="Symbolreplace.php" hash="9cb76a50d037c9bfd220f764054c071a"/></dir><file name="Js.php" hash="086a2b3e70400c840615fd499ab5883e"/></dir><dir name="Helper"><file name="Data.php" hash="5110a2932a487c4122d744469e122895"/><file name="Tax.php" hash="46abce595a7a809facf1c4d45db5043e"/><file name="Url.php" hash="c955b5c25a971c10042d7d027ac92973"/></dir><dir name="Model"><file name="Currency.php" hash="59070f730b53de3b9492d155691181d3"/><file name="Locale.php" hash="5f4d8d523f8d7a351f5afc952cdc9dd5"/><file name="Observer.php" hash="b20551aa49c19479e6426039c1dd45c8"/><file name="Store.php" hash="c4894be6525eca58ef8efa909f87f959"/><file name="Typeposition.php" hash="9132477fac1f0bc56be36e18613ff23c"/><file name="Typesymboluse.php" hash="50b7bdd60eb040007f1b8f5bd9486b19"/></dir><dir name="controllers"><file name="CurrencyController.php" hash="854266bb77f94e5265ada83073a60cd1"/></dir><dir name="etc"><file name="config.xml" hash="b70f279017b41d301eaf3dcede08ecb1"/><file name="system.xml" hash="253222ff517c8c88154648ca01cc3ff5"/></dir></dir></dir></target><target name="magelocale"><dir name="ru_RU"><file name="ET_Currencymanager.csv" hash="64b229548090093d20d13fa38cff5313"/></dir><dir name="en_US"><file name="ET_Currencymanager.csv" hash="551008a104f6f1090500cdb05c90acd2"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_CurrencyManager.xml" hash="3c6bef9710e3c4922e45f962a41e1f9e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="et_currencymanager.xml" hash="8f5344b2377c45da3ec2b0cc3199040e"/></dir><dir name="template"><dir name="et_currencymanager"><file name="js.phtml" hash="0274f020be65ff87521d1ba053a31ad3"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="js"><dir name="et"><dir name="currencymanager"><file name="et_currencymanager.js" hash="4eccc0024cae9c67123584d2cac2f38a"/><file name="et_currencymanager_round.js" hash="a57cee1500b4ab851110982fcaea4f36"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies/>
18
  </package>