From a016af804aa9b5e88904cc52e7a5a6ab00e44126 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Thu, 4 Jun 2026 05:24:27 +0330 Subject: [PATCH] =?UTF-8?q?fix(i18n):=20Persian=20brand=20(=D9=81=D9=84?= =?UTF-8?q?=D8=AA=E2=80=8C=D8=B1=D9=86=D8=AF=D8=B1)=20+=20localize=20aspec?= =?UTF-8?q?t=20'All=20Sizes'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - nav/footer/admin brand → فلت‌رندر in fa (FlatRender in en) - aspect-ratio 'All Sizes' option now uses t('allSizes') (همه اندازه‌ها) Co-Authored-By: Claude Opus 4.8 --- messages/en.json | 5 +++-- messages/fa.json | 9 +++++---- .../templates/video/VideoTemplatesFilterControls.tsx | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/messages/en.json b/messages/en.json index f962ceb..55ca92e 100644 --- a/messages/en.json +++ b/messages/en.json @@ -308,7 +308,7 @@ }, "auto": { "appAdminLayout": { - "brand": "FlatRender Admin", + "brand": "FlatRender", "nodes": "Nodes", "renderQueue": "Render Queue", "backToDashboard": "← Back to Dashboard", @@ -765,7 +765,8 @@ "premiumOnly": "Premium Only", "premiumOnlyAriaLabel": "Premium only", "sizeAriaLabel": "Template size", - "sizePlaceholder": "All Sizes" + "sizePlaceholder": "All Sizes", + "allSizes": "All Sizes" }, "componentsTrimmerTrimmerVideoPreview": { "previewAndCrop": "Preview & crop", diff --git a/messages/fa.json b/messages/fa.json index b6b6945..f4be139 100644 --- a/messages/fa.json +++ b/messages/fa.json @@ -4,7 +4,7 @@ "homeDescription": "FlatRender به سازندگان و برندها کمک می‌کند ویدیوها و تصاویر حرفه‌ای با قالب‌های هوش مصنوعی، ویرایشگرها و خروجی یک‌کلیکی بسازند." }, "nav": { - "brandName": "FlatRender", + "brandName": "فلت‌رندر", "ariaLabel": "صفحه اصلی FlatRender", "videoMaker": "ویدیو ساز", "imageMaker": "تصویر ساز", @@ -157,7 +157,7 @@ "businessDesc": "راه‌حل پیشرفته برای تیم‌ها و کسب‌وکارها. شامل مجوز فروش مجدد." }, "footer": { - "brandName": "FlatRender", + "brandName": "فلت‌رندر", "description": "ویدیوها و تصاویر حرفه‌ای با ابزارهای هوشمند هوش مصنوعی برای سازندگان و برندها بسازید.", "products": "محصولات", "company": "شرکت", @@ -308,7 +308,7 @@ }, "auto": { "appAdminLayout": { - "brand": "پنل مدیریت FlatRender", + "brand": "فلت‌رندر", "nodes": "نودها", "renderQueue": "صف رندر", "backToDashboard": "← بازگشت به داشبورد", @@ -765,7 +765,8 @@ "premiumOnly": "فقط ویژه", "premiumOnlyAriaLabel": "فقط ویژه", "sizeAriaLabel": "اندازه قالب", - "sizePlaceholder": "همه اندازه‌ها" + "sizePlaceholder": "همه اندازه‌ها", + "allSizes": "همه اندازه‌ها" }, "componentsTrimmerTrimmerVideoPreview": { "previewAndCrop": "پیش‌نمایش و برش", diff --git a/src/components/templates/video/VideoTemplatesFilterControls.tsx b/src/components/templates/video/VideoTemplatesFilterControls.tsx index fc25293..288a518 100644 --- a/src/components/templates/video/VideoTemplatesFilterControls.tsx +++ b/src/components/templates/video/VideoTemplatesFilterControls.tsx @@ -69,7 +69,7 @@ export function VideoTemplatesSizeSelect({ {ASPECT_RATIO_OPTIONS.map((option) => ( - {option.label} + {option.id === "all" ? t("allSizes") : option.label} ))}