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-row">
<h2 class="contact_box-title wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".1s">
Отправьте нам сообщение
{{'Отправьте нам сообщение'|_}}
</h2>
<span>
@ -30,7 +30,7 @@
{{ __SELF__.getAntispamFieldHtmlCode({})|raw }}
{{ __SELF__.getDescriptionFieldHtmlCode({})|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') %}
@ -45,7 +45,7 @@
<div class="contact_btn wow fadeInUp" data-wow-duration=".3s" data-wow-delay=".27s">
<button type="submit">
Отправить
{{'Отправить'|_}}
<span>
<svg width="14" height="12" viewBox="0 0 14 12" fill="none"
@ -57,12 +57,12 @@
</span>
</button>
</div>
</div>
<div class="contact_info">
<h4 class="contact_info-title wow fadeInRight" data-wow-duration=".3s" data-wow-delay=".1s">
Контактная информация
{{'Контактная информация'|_}}
</h4>
<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>
</span>
Atatürk köçesi 80, Aşgabat 744000, Туркменистан
{{'Atatürk köçesi 80, Aşgabat 744000, Туркменистан'|_}}
</div>
<div class="contact_info-media">
@ -163,16 +163,16 @@
{{ form_close() }}
{% 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>
{% if settingsGet('google_recaptcha_version') == 'v2invisible' %}
<script>
function onSubmit_{{ __SELF__.alias }}(token) {
return new Promise(function(resolve, reject) {
return new Promise(function(resolve, reject) {
//Your code logic goes here
@ -185,13 +185,13 @@
</script>
{% endif %}
{% endif %}
{% endif %}