mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-12 21:29:33 +00:00
Some checks are pending
Build assets artifact / Build assets artifact (push) Waiting to run
Docker Image Build / docker (push) Waiting to run
Docker Image Build (FrankenPHP) / docker (push) Waiting to run
Static analysis / Static analysis (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, mysql) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, postgres) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Waiting to run
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.5, sqlite) (push) Waiting to run
18 lines
588 B
JavaScript
18 lines
588 B
JavaScript
import { createTranslator } from '@symfony/ux-translator';
|
|
import { messages, localeFallbacks } from '../var/translations/index.js';
|
|
|
|
/*
|
|
* This file is part of the Symfony UX Translator package.
|
|
*
|
|
* If folder "../var/translations" does not exist, or some translations are missing,
|
|
* you must warmup your Symfony cache to refresh JavaScript translations.
|
|
*
|
|
* If you use TypeScript, you can rename this file to "translator.ts" to take advantage of types checking.
|
|
*/
|
|
|
|
const translator = createTranslator({
|
|
messages,
|
|
localeFallbacks,
|
|
});
|
|
|
|
export const { trans } = translator;
|