Commit 7cf62c92 by halweg

fix : 西语翻译补充

parent 76ddf55d
......@@ -42,8 +42,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
$str = $this->getUrlParameter($category);
$oldMetaDescription = $category->getMetaDescription();
$oldMetaKeyword = $category->getMetaKeywords();
$category->setMetaTitle('Buy the Latest ' . $str['title'] .' on '.$url);
$category->setMetaDescription('Shop ' . $str['title'] . '. ' . $oldMetaDescription);
$category->setMetaTitle(__('Buy the Latest').' '. $str['title'] .__(' on ').$url);
$category->setMetaDescription(__('Shop ') . $str['title'] . '. ' . $oldMetaDescription);
if ($str['keyword'] && $str['keyword'] != '.'){
$category->setMetaKeywords($str['keyword']);
}else{
......@@ -59,8 +59,8 @@ class CategoryLoadAfter implements \Magento\Framework\Event\ObserverInterface
$arr = ['title'=>'' , 'keyword'=>''];
if (isset($data['product_list_order'])){
$sortBy = $category->getAvailableSortByOptions();
$arr['title'] .= $sortBy[$data['product_list_order']] . ' ';
$arr['keyword'] .= $sortBy[$data['product_list_order']] .' '. $categoryName.',';
$arr['title'] .= __($sortBy[$data['product_list_order']]) . ' ';
$arr['keyword'] .= __($sortBy[$data['product_list_order']]) .' '. $categoryName.',';
}
if (isset($data['color'])){
......
......@@ -9,15 +9,15 @@
<div style="position: relative;">
<img style="position: absolute; left: 2px; top: 0;" alt="" src="/media/wysiwyg/cart.png">
<div style="padding-left: 45px;">
<span style="display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;">EASY RETURNS</span>
<span style="display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;">No-quibble return &amp; exchange within 15 Days</span>
<span style="display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;" translate="'EASY RETURNS'"></span>
<span style="display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;" translate="'No-quibble return & exchange within 15 Days'"></span>
</div>
</div>
<div style="position: relative;">
<img style="position: absolute; left: 9px; top: 0;" alt="" src="/media/wysiwyg/key.png">
<div style="padding-left: 45px;">
<span style="display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;">SAFE &amp; SECURE</span>
<span style="display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;">Your information is always protected</span>
<span style="display: block; font-family: Lato-Bold; font-size: 14px; margin-bottom: 5px;color: #1d1d1d;" translate="'SAFE & SECURE'"></span>
<span style="display: block; font-family: Regular; font-size: 12px; margin-bottom: 15px;color: #1d1d1d;" translate="'Your information is always protected'"></span>
</div>
</div>
<div>
......
......@@ -212,7 +212,7 @@ $_menuHtml = $block->getHtml('level-top', 'submenu', $columnsLimit)
<div class="nav-sections">
<nav class="navigation" data-action="navigation" id="joshine-navigation">
<ul data-mage-init='{"menu":{"responsive":true,"dropdown":"div", "expanded":true, "position":{"my":"left top","at":"left bottom"}}}'>
<li class="level0 nav-0 level-top"><a href="/" class="level-top"><span>Home</span></a></li>
<li class="level0 nav-0 level-top"><a href="/" class="level-top"><span><?= __('Home') ?></span></a></li>
<?= /* @noEscape */ $_menuHtml?>
<?= $block->getChildHtml() ?>
</ul>
......
......@@ -15619,9 +15619,14 @@ Coupon Code,Código preferencial
WHY CHOOSE US,¿¿ por qué nos eligen?
We Accept,Aceptamos
"JOIN OUR LIST FOR SPECIAL OFFERS!","¡¡ Únete a nuestra lista de preferencias!"
Recommend,Recomendación
Top Rated,La calificación más alta
New Arrivals,Recién llegado
Review Count,Recuento de revisión
Buy the Latest,Comprar los últimos productos
"Shop ","Tiendas "
" on "," En "
Best Seller,Mejor vendedora
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment