using trans now instead of static value

This commit is contained in:
Metehan Celik 2022-01-12 12:37:32 +03:00
parent c7f728cc53
commit b996ecdf3d
3 changed files with 4 additions and 5 deletions

View File

@ -156,6 +156,7 @@ return [
'phone_gsm' => 'Gsm Phone',
'phone_office' => 'Office Phone',
'add_to_favorites' => "Add to Favorites",
'add_to_cart'=> "Add to Cart",
'send' => 'Send',
'search_name' => 'Search Name',
'my_favorite_searches' => 'Favorite Searches',

View File

@ -156,6 +156,7 @@ return [
'phone_gsm' => 'Cep Telefonu',
'phone_office' => 'Sabit telefon',
'add_to_favorites' => "Favorilere Ekle",
'add_to_cart'=> "Sepete Ekle",
'send' => 'Gönder',
'search_name' => 'Arama Adı',
'my_favorite_searches' => 'Favori Aramalar',

View File

@ -24,10 +24,7 @@
</a>
{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}
<a href="{{ adv.detail_url }}" class="product-name-hb text-truncate text-decoration-none text-dark">{{ adv.cat1_name }} /{{ adv.cat2_name }}</a>
<!--comment
<p class="d-md-none d-block"><strong>66</strong> Değerlendirme
</p>
-->
{% endif %}
{% if showPrice %}
<div class="product-price-hb rounded d-flex align-items-center mt-2 bg-secondary-md bg-none text-dark justify-content-between">
@ -35,7 +32,7 @@
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['comparisons'])|raw }}
</div>
<div class="review">
<button class="m-0 btn btn-sm btn-outline-dark d-md-none d-block w-100">Sepete Ekle</button>
<button class="m-0 btn btn-sm btn-outline-dark d-md-none d-block w-100">{{ trans('visiosoft.module.advs::field.add_to_cart') }}</button>
</div>
{% endif %}