lang-publisher.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * This file is part of the "Laravel-Lang/publisher" project.
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. *
  8. * @author Andrey Helldar <helldar@dragon-code.pro>
  9. * @copyright 2022 Andrey Helldar
  10. * @license MIT
  11. *
  12. * @see https://github.com/Laravel-Lang/publisher
  13. */
  14. declare(strict_types=1);
  15. return [
  16. /*
  17. * Determines what type of files to use when updating language files.
  18. *
  19. * `true` means inline files will be used.
  20. * `false` means that default files will be used.
  21. *
  22. * For example, the difference between them can be seen here:
  23. *
  24. * The :attribute must be accepted. // default
  25. * This field must be accepted. // inline
  26. *
  27. * By default, `false`.
  28. */
  29. 'inline' => false,
  30. /*
  31. * Do arrays need to be aligned by keys before processing arrays?
  32. *
  33. * By default, true
  34. */
  35. 'align' => true,
  36. /*
  37. * The language codes chosen for the files in this repository may not
  38. * match the preferences for your project.
  39. *
  40. * Specify here mappings of localizations with your project.
  41. */
  42. 'aliases' => [
  43. //\LaravelLang\Publisher\Constants\Locales::GERMAN->value => 'de-DE',
  44. //
  45. //\LaravelLang\Publisher\Constants\Locales::GERMAN_SWITZERLAND->value => 'de-CH',
  46. ],
  47. ];