Skip to content

Commit

Permalink
Update products.php (#486)
Browse files Browse the repository at this point in the history
Missing translation functions added (placeholders)
  • Loading branch information
LennDa authored and Mesuva committed Aug 27, 2019
1 parent b52e826 commit 4fac213
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions single_pages/dashboard/store/products.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@
<?= Config::get('community_store.symbol'); ?>
</div>
<?php $salePrice = $product->getSalePrice(); ?>
<?= $form->text("pSalePrice", $salePrice, ['placeholder' => 'No Sale Price Set']); ?>
<?= $form->text("pSalePrice", $salePrice, ['placeholder' => t('No Sale Price Set')]); ?>
</div>
</div>
<div class="form-group priceentry <?= ($product->allowCustomerPrice() ? '' : 'hidden'); ?>">
<?= $form->label('pPriceSuggestions', t('Price Suggestions')) ?>
<?= $form->text('pPriceSuggestions', $product->getPriceSuggestions(), ['placeholder' => 'e.g. 10,20,30']) ?>
<?= $form->text('pPriceSuggestions', $product->getPriceSuggestions(), ['placeholder' => t('e.g. 10,20,30')]) ?>
</div>
</div>
<div class="col-xs-6">
Expand All @@ -169,7 +169,7 @@
<?= Config::get('community_store.symbol');?>
</div>
<?php $wholesalePrice = $product->getWholesalePrice(); ?>
<?= $form->text("pWholesalePrice", $wholesalePrice, array('placeholder'=>'No Wholesale Price Set'));?>
<?= $form->text("pWholesalePrice", $wholesalePrice, array('placeholder'=>t('No Wholesale Price Set')));?>
</div>
</div>
</div>
Expand Down Expand Up @@ -198,7 +198,7 @@
<?= Config::get('community_store.symbol'); ?>
</div>
<?php $minimumPrice = $product->getPriceMinimum(); ?>
<?= $form->text("pPriceMinimum", $minimumPrice, ['placeholder' => 'No Minimum Price Set']); ?>
<?= $form->text("pPriceMinimum", $minimumPrice, ['placeholder' => t('No Minimum Price Set')]); ?>
</div>
</div>
</div>
Expand All @@ -210,7 +210,7 @@
<?= Config::get('community_store.symbol'); ?>
</div>
<?php $maximumPrice = $product->getPriceMaximum(); ?>
<?= $form->text("pPriceMaximum", $maximumPrice, ['placeholder' => 'No Maximum Price Set']); ?>
<?= $form->text("pPriceMaximum", $maximumPrice, ['placeholder' => t('No Maximum Price Set')]); ?>
</div>
</div>
</div>
Expand Down

0 comments on commit 4fac213

Please sign in to comment.