- Added standard Laravel directory structure and configuration. - Included Svelte and Tailwind configuration for the admin interface. - Added core PHPUnit and testing scripts.
10 lines
240 B
PHP
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);
|
|
}
|
|
}
|