Skip to content
This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Commit daa42c8

Browse files
committed
Merge branch 'fixes' into develop
2 parents c4ec894 + d1e2351 commit daa42c8

File tree

16 files changed

+40
-20
lines changed

16 files changed

+40
-20
lines changed

app/code/Axis/Locale/controllers/IndexController.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<?php
22
/**
33
* Axis
4-
*
4+
*
55
* This file is part of Axis.
6-
*
6+
*
77
* Axis is free software: you can redistribute it and/or modify
88
* it under the terms of the GNU General Public License as published by
99
* the Free Software Foundation, either version 3 of the License, or
1010
* (at your option) any later version.
11-
*
11+
*
1212
* Axis is distributed in the hope that it will be useful,
1313
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
* GNU General Public License for more details.
16-
*
16+
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with Axis. If not, see <http://www.gnu.org/licenses/>.
19-
*
19+
*
2020
* @category Axis
2121
* @package Axis_Locale
2222
* @subpackage Axis_Locale_Controller
@@ -25,14 +25,14 @@
2525
*/
2626

2727
/**
28-
*
28+
*
2929
* @category Axis
3030
* @package Axis_Locale
3131
* @subpackage Axis_Locale_Controller
3232
* @author Axis Core Team <[email protected]>
3333
*/
3434
class Axis_Locale_IndexController extends Axis_Core_Controller_Front
35-
{
35+
{
3636
public function changeAction()
3737
{
3838
$locale = $this->_getParam('lang');
@@ -49,5 +49,5 @@ public function changeAction()
4949
}
5050
$this->_redirect($redirectUrl);
5151
}
52-
52+
5353
}

app/design/admin/default/templates/catalog/index/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if (in_array('Axis_Community', array_keys(Axis::app()->getModules()))) {
4646

4747
$this->setButtons(array(
4848
array(
49-
'title' => Axis::translate('Axis_Admin')->__('Update Price Indexes'),
49+
'title' => Axis::translate('Axis_Catalog')->__('Update Price Indexes'),
5050
'onclick' => 'Product.updatePriceIndex()',
5151
'class' => 'alt-button'
5252
)

app/locale/en_US/Axis_Catalog.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@
175175
"Values [0 - 100]","Values [0 - 100]"
176176
"Product","Product"
177177
"Item(s) %d to %d of %d","Item(s) %d to %d of %d"
178+
"Update Price Indexes","Update Price Indexes"

app/locale/pt_BR/Axis_Catalog.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,4 @@
174174
"Enable image cache", "Ativar cache de imagem"
175175
"Path relative to the skin images folder: catalog/watermark.png", "Caminho relativo para a pasta skin: catalog/watermark.png"
176176
"Item(s) %d to %d of %d","Item(s) %d para %d de %d"
177+
"Update Price Indexes","Update Price Indexes"

app/locale/ru_RU/Axis_Catalog.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@
175175
"Values [0 - 100]", "Значения [0 - 100]"
176176
"Product", "Продукт"
177177
"Item(s) %d to %d of %d","Показано %d - %d из %d"
178+
"Update Price Indexes","Обновить индексы цен"

app/locale/uk_UA/Axis_Catalog.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,4 @@
175175
"Values [0 - 100]","Значення [0 - 100]"
176176
"Product","Продукт"
177177
"Item(s) %d to %d of %d","Показано %d - %d із %d"
178+
"Update Price Indexes","Оновити індекси цін"

js/axis/admin/catalog/index/product.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var Product = {
5858

5959
updatePriceIndex: function(skipConfirm, skipSession) {
6060
if (!skipConfirm
61-
&& !confirm("Are you sure want to delete old price indexes " +
62-
"and create new for all products?\nThis can take a while.".l())) {
61+
&& !confirm(("Are you sure want to delete old price indexes " +
62+
"and create new for all products?\nThis can take a while.").l())) {
6363

6464
return;
6565
}

js/axis/admin/translation/en_US/core.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,6 @@ Locale.module("core", {
500500
"New Сategory": "New Сategory",
501501
"New Page": "New Page",
502502
"Install All": "Install All",
503-
"Upgrade All": "Upgrade All"
503+
"Upgrade All": "Upgrade All",
504+
"Are you sure want to delete old price indexes and create new for all products?\nThis can take a while.": "Are you sure want to delete old price indexes and create new for all products?\nThis can take a while."
504505
});

js/axis/admin/translation/pt_BR/core.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,6 @@ Locale.module("core", {
500500
"New Сategory": "Nova Categoria",
501501
"New Page": "Nova Página",
502502
"Install All": "Instalar Todos",
503-
"Upgrade All": "Atualizar Todos"
503+
"Upgrade All": "Atualizar Todos",
504+
"Are you sure want to delete old price indexes and create new for all products?\nThis can take a while.": "Are you sure want to delete old price indexes and create new for all products?\nThis can take a while."
504505
});

js/axis/admin/translation/ru_RU/core.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,6 @@ Locale.module("core", {
500500
"New Сategory": "Новая категория",
501501
"New Page": "Новая страница",
502502
"Install All": "Установить все",
503-
"Upgrade All": "Обновить все"
503+
"Upgrade All": "Обновить все",
504+
"Are you sure want to delete old price indexes and create new for all products?\nThis can take a while.": "Вы действительно желаете удалить все индексы и создать новые?\nЭто может занять некоторое время."
504505
});

0 commit comments

Comments
 (0)