fixed ui bugs

improve translates
master
A1Gard 1 day ago
parent 4a9ecdc6ca
commit c3d04f24ff

@ -20,7 +20,7 @@ document.addEventListener('DOMContentLoaded', () => {
document.querySelectorAll('.delete-confirm')?.forEach(function (el) { document.querySelectorAll('.delete-confirm')?.forEach(function (el) {
el.addEventListener('click', function (e) { el.addEventListener('click', function (e) {
if (!confirm('Are you sure you want to delete this item?')) { // WIP Need to translate if (!confirm(window.TR.deleteConfirm)) { // WIP Need to translate
e.preventDefault(); e.preventDefault();
} }
}); });

@ -352,7 +352,7 @@ class ContentSEOAnalyzer {
<h4>${window.TR.avgParaStruc}</h4> <h4>${window.TR.avgParaStruc}</h4>
<div class="metric-value"> <div class="metric-value">
${report.details.readability.paragraphCount} ${ window.TR.paragraphs} ${report.details.readability.paragraphCount} ${ window.TR.paragraphs}
(avg ${report.details.readability.avgWordsPerParagraph} ${ window.TR.words}) (${window.TR.avg} ${report.details.readability.avgWordsPerParagraph} ${ window.TR.words})
</div> </div>
</div> </div>
</div> </div>

@ -78,6 +78,7 @@
"Answered": "پاسخ داده شده", "Answered": "پاسخ داده شده",
"Approve": "تایید کردن", "Approve": "تایید کردن",
"Approved": "تایید شده", "Approved": "تایید شده",
"Are you sure you want to delete this item?": "آیا برای حذف این مورد مطمئن هستید؟",
"Area design": "طراحی محیط", "Area design": "طراحی محیط",
"Areas": "محیط‌ها ", "Areas": "محیط‌ها ",
"As you wished created successfully": "همانطور که شما مایل بودید ایجاد شد", "As you wished created successfully": "همانطور که شما مایل بودید ایجاد شد",
@ -581,6 +582,7 @@
"area": "محیط", "area": "محیط",
"area :NAME of website updated": "محیط :NAME وبسایت به روز شد", "area :NAME of website updated": "محیط :NAME وبسایت به روز شد",
"article": "مقاله", "article": "مقاله",
"avg": "معدل",
"body": "متن", "body": "متن",
"canonical": "کنونیکال", "canonical": "کنونیکال",
"category": "دسته‌بندی", "category": "دسته‌بندی",
@ -617,7 +619,7 @@
"news": "خبر", "news": "خبر",
"not searchable": "غیرقابل جستجو", "not searchable": "غیرقابل جستجو",
"one second ago": "یک ثانیه پیش", "one second ago": "یک ثانیه پیش",
"paragraphs": "بندها", "paragraphs": "بند",
"parent_id": "والد", "parent_id": "والد",
"password repeat": "تکرار گذرواژه", "password repeat": "تکرار گذرواژه",
"payment success": "پرداخت موفق بود", "payment success": "پرداخت موفق بود",
@ -649,7 +651,7 @@
"user_id": "کاربر", "user_id": "کاربر",
"view": "بازدید", "view": "بازدید",
"webp": "", "webp": "",
"words": "واژگان", "words": "واژه",
"xShop": "", "xShop": "",
"yesterday": "دیروز" "yesterday": "دیروز"
} }

@ -23,7 +23,9 @@
window.TR.avgParaStruc = `{{__("Paragraph Structure")}}`; window.TR.avgParaStruc = `{{__("Paragraph Structure")}}`;
window.TR.SEOScore = `{{__("SEO Score")}}`; window.TR.SEOScore = `{{__("SEO Score")}}`;
window.TR.words = `{{__("words")}}`; window.TR.words = `{{__("words")}}`;
window.TR.avg = `{{__("avg")}}`;
window.TR.times = `{{__("times")}}`; window.TR.times = `{{__("times")}}`;
window.TR.paragraphs = `{{__("paragraphs")}}`; window.TR.paragraphs = `{{__("paragraphs")}}`;
window.TR.deleteConfirm = `{{__("Are you sure you want to delete this item?")}}`;
</script> </script>

@ -14,7 +14,7 @@
.parallax-slide-item{ .parallax-slide-item{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: start;
width: 100%; width: 100%;
height: 750px; height: 750px;
} }
@ -25,7 +25,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 750px; height: 750px;
background-size: auto 120vh; background-size: 100% auto;
background-position: center 0; background-position: center 0;
@ -37,3 +37,10 @@
width: 500px; width: 500px;
} }
} }
/*-1000px width*/
@media (max-width: 1000px) {
.parallax-slider{
background-size: auto 125vh !important;
}
}

Loading…
Cancel
Save