Add translation support for contact

This commit is contained in:
Amanmyrat 2023-09-14 15:41:30 +05:00
parent ef4d5847fe
commit 776ce81a5b
1 changed files with 13 additions and 13 deletions

View File

@ -9,7 +9,7 @@
<div class="contact_box"> <div class="contact_box">
<div class="contact_box-row"> <div class="contact_box-row">
<h2 class="contact_box-title wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".1s"> <h2 class="contact_box-title wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".1s">
Отправьте нам сообщение {{'Отправьте нам сообщение'|_}}
</h2> </h2>
<span> <span>
@ -30,7 +30,7 @@
{{ __SELF__.getAntispamFieldHtmlCode({})|raw }} {{ __SELF__.getAntispamFieldHtmlCode({})|raw }}
{{ __SELF__.getDescriptionFieldHtmlCode({})|raw }} {{ __SELF__.getDescriptionFieldHtmlCode({})|raw }}
{{ __SELF__.getRedirectFieldHtmlCode({})|raw }} {{ __SELF__.getRedirectFieldHtmlCode({})|raw }}
{% if (settingsGet('google_recaptcha_version') is null or settingsGet('google_recaptcha_version') == 'v2checkbox') and settingsGet('add_google_recaptcha') and settingsGet('google_recaptcha_site_key') %} {% if (settingsGet('google_recaptcha_version') is null or settingsGet('google_recaptcha_version') == 'v2checkbox') and settingsGet('add_google_recaptcha') and settingsGet('google_recaptcha_site_key') %}
@ -45,7 +45,7 @@
<div class="contact_btn wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".27s"> <div class="contact_btn wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".27s">
<button type="submit"> <button type="submit">
Отправить {{'Отправить'|_}}
<span> <span>
<svg width="14" height="12" viewBox="0 0 14 12" fill="none" <svg width="14" height="12" viewBox="0 0 14 12" fill="none"
@ -57,12 +57,12 @@
</span> </span>
</button> </button>
</div> </div>
</div> </div>
<div class="contact_info"> <div class="contact_info">
<h4 class="contact_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s"> <h4 class="contact_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s">
Контактная информация {{'Контактная информация'|_}}
</h4> </h4>
<a href="tel:+993 12 46-87-87" class="contact_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".13s"> <a href="tel:+993 12 46-87-87" class="contact_info-txt wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".13s">
@ -91,7 +91,7 @@
</svg> </svg>
</span> </span>
Atatürk köçesi 80, Aşgabat 744000, Туркменистан {{'Atatürk köçesi 80, Aşgabat 744000, Туркменистан'|_}}
</div> </div>
<div class="contact_info-media"> <div class="contact_info-media">
@ -163,16 +163,16 @@
{{ form_close() }} {{ form_close() }}
{% if settingsGet('add_google_recaptcha') and settingsGet('google_recaptcha_scripts_allow') %} {% if settingsGet('add_google_recaptcha') and settingsGet('google_recaptcha_scripts_allow') %}
<script src='https://www.google.com/recaptcha/api.js{{ settingsGet("google_recaptcha_locale_allow") and currentLocale ? ("?hl="~currentLocale) }}' async defer></script> <script src='https://www.google.com/recaptcha/api.js{{ settingsGet("google_recaptcha_locale_allow") and currentLocale ? ("?hl="~currentLocale) }}' async defer></script>
{% if settingsGet('google_recaptcha_version') == 'v2invisible' %} {% if settingsGet('google_recaptcha_version') == 'v2invisible' %}
<script> <script>
function onSubmit_{{ __SELF__.alias }}(token) { function onSubmit_{{ __SELF__.alias }}(token) {
return new Promise(function(resolve, reject) { return new Promise(function(resolve, reject) {
//Your code logic goes here //Your code logic goes here
@ -185,13 +185,13 @@
</script> </script>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% endif %} {% endif %}