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) {
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();
}
});

@ -352,7 +352,7 @@ class ContentSEOAnalyzer {
<h4>${window.TR.avgParaStruc}</h4>
<div class="metric-value">
${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>

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

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

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

Loading…
Cancel
Save