mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-13 06:56:48 +00:00
add Laravel languages
This commit is contained in:
55
config/lang-publisher.php
Normal file
55
config/lang-publisher.php
Normal file
@@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the "Laravel-Lang/publisher" project.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
* @author Andrey Helldar <helldar@dragon-code.pro>
|
||||
* @copyright 2022 Andrey Helldar
|
||||
* @license MIT
|
||||
*
|
||||
* @see https://github.com/Laravel-Lang/publisher
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
/*
|
||||
* Determines what type of files to use when updating language files.
|
||||
*
|
||||
* `true` means inline files will be used.
|
||||
* `false` means that default files will be used.
|
||||
*
|
||||
* For example, the difference between them can be seen here:
|
||||
*
|
||||
* The :attribute must be accepted. // default
|
||||
* This field must be accepted. // inline
|
||||
*
|
||||
* By default, `false`.
|
||||
*/
|
||||
|
||||
'inline' => false,
|
||||
|
||||
/*
|
||||
* Do arrays need to be aligned by keys before processing arrays?
|
||||
*
|
||||
* By default, true
|
||||
*/
|
||||
|
||||
'align' => true,
|
||||
|
||||
/*
|
||||
* The language codes chosen for the files in this repository may not
|
||||
* match the preferences for your project.
|
||||
*
|
||||
* Specify here mappings of localizations with your project.
|
||||
*/
|
||||
|
||||
'aliases' => [
|
||||
//\LaravelLang\Publisher\Constants\Locales::GERMAN->value => 'de-DE',
|
||||
//
|
||||
//\LaravelLang\Publisher\Constants\Locales::GERMAN_SWITZERLAND->value => 'de-CH',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user