cms/app/Support/helpers.php
Funky Waddle 37ed997989 feat(cms): initialize Laravel project structure and core CMS files
- Added standard Laravel directory structure and configuration.

- Included Svelte and Tailwind configuration for the admin interface.

- Added core PHPUnit and testing scripts.
2026-04-13 12:48:06 -05:00

10 lines
240 B
PHP

<?php
use App\Services\TranslationManager;
if (!function_exists('t')) {
function t(string $key, array $replace = [], ?string $locale = null) {
return app(TranslationManager::class)->translate($key, $replace, $locale);
}
}