From a7ab40cde910d200ec0d69bea9f9cb783613415f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Wed, 1 Oct 2025 04:43:27 -0300 Subject: [PATCH] Implement Translation Tabs Component: Added TranslationTabs component for managing translations in Blog and Page resources. Integrated translation fields into forms, ensuring localization support for titles, content, and metadata. Updated existing pages to save and load translations, enhancing the universal translation system. Added relevant localization keys for English and Turkish. --- .cursorrules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cursorrules b/.cursorrules index 86e95fc..2c586b7 100644 --- a/.cursorrules +++ b/.cursorrules @@ -101,8 +101,12 @@ use Filament\Forms\Components\FileUpload; // Layout components (ÖNEMLİ: Schemas namespace!) use Filament\Schemas\Components\Section; // ✅ Doğru use Filament\Schemas\Components\Grid; // ✅ Doğru -use Filament\Schemas\Components\Tabs; // ✅ Doğru use Filament\Schemas\Components\Fieldset; // ✅ Doğru + +// Tabs components (ÖNEMLİ: Forms namespace!) +use Filament\Forms\Components\Tabs; // ✅ Doğru +// Tab kullanımı: Tabs\Tab::make() şeklinde kullan +// Import gerekmez, Tabs namespace'i üzerinden erişilir ``` #### **YANLIŞ KULLANIM (Eski Filament 3.x):**