| @@ -20,8 +20,9 @@ | ||
| 20 | 20 | use FluentCart\App\Models\AttributeGroup; |
| 21 | 21 | use FluentCart\App\Models\ShippingMethod; |
| 22 | 22 | use FluentCart\App\Modules\Tax\TaxModule; |
| 23 | 23 | use FluentCart\App\Modules\FluentPlayer\FluentPlayerBridge; |
| 24 | +use FluentCart\App\Modules\AdminFooter\AdminFooter; | |
| 24 | 25 | use FluentCart\App\Helpers\CurrenciesHelper; |
| 25 | 26 | use FluentCart\App\Services\Filter\TaxFilter; |
| 26 | 27 | use FluentCart\App\Services\Filter\OrderFilter; |
| 27 | 28 | use FluentCart\App\Services\Filter\LicenseFilter; |
| @@ -33,8 +34,9 @@ | ||
| 33 | 34 | use FluentCart\App\Services\Filter\OrderBumpFilter; |
| 34 | 35 | use FluentCart\App\Modules\Shipping\Services\Filter\ShippingClassFilter; |
| 35 | 36 | use FluentCart\App\Modules\Shipping\Services\Filter\ShippingZoneFilter; |
| 36 | 37 | use FluentCart\App\Modules\Integrations\AddOnModule; |
| 38 | +use FluentCart\App\Services\DateTime\DayjsFormatter; | |
| 37 | 39 | use FluentCart\App\Services\Translations\TransStrings; |
| 38 | 40 | use FluentCart\App\Services\Permission\PermissionManager; |
| 39 | 41 | use FluentCart\Database\DataBackfills; |
| 40 | 42 | use FluentCart\App\Modules\PaymentMethods\Core\GatewayManager; |
| @@ -50,8 +52,9 @@ | ||
| 50 | 52 | |
| 51 | 53 | if ($page == 'fluent-cart') { |
| 52 | 54 | |
| 53 | 55 | \FluentCart\App\Events\FirstTimePluginActivation::handle(); |
| 56 | + (new AdminFooter())->register(); | |
| 54 | 57 | add_action('admin_enqueue_scripts', function () { |
| 55 | 58 | Vite::enqueueStyle('fluent_cart_admin_app_css', |
| 56 | 59 | 'styles/tailwind/style.css', |
| 57 | 60 | ); |
| @@ -596,9 +599,9 @@ | ||
| 596 | 599 | // POSTs data-backfills/run until done; endpoint requires manage_options |
| 597 | 600 | 'has_data_migrations' => $hasDataMigrations, |
| 598 | 601 | 'subscription_intervals' => Helper::getAvailableSubscriptionIntervalOptions(), |
| 599 | 602 | |
| 600 | - 'datei18' => TransStrings::dateTimeStrings(), | |
| 603 | + 'datei18' => DayjsFormatter::localizedStrings(), | |
| 601 | 604 | 'el_strings' => TransStrings::elStrings(), |
| 602 | 605 | 'wp_locale' => get_locale(), |
| 603 | 606 | 'is_full_name_required' => CheckoutFieldsSchema::isFullNameRequired(), |
| 604 | 607 | 'business_details' => [ |