be081d782fc5b1bdf0d921cc93a90482.yaml.php 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/home/kevin/Documents/Sites/anissabensalah.net/user/plugins/language-selector/blueprints.yaml',
  5. 'modified' => 1544136629,
  6. 'data' => [
  7. 'name' => 'Language Selector',
  8. 'version' => '1.1.0',
  9. 'description' => 'Language Selector is a [Grav](http://github.com/getgrav/grav) plugin that provides native language selector with flags to switch between [multiple languages](http://learn.getgrav.org/content/multi-language).',
  10. 'icon' => 'globe',
  11. 'author' => [
  12. 'name' => 'Clément G.',
  13. 'email' => 'contact@clemdesign.fr',
  14. 'url' => 'http://www.clemdesign.fr'
  15. ],
  16. 'homepage' => 'https://github.com/clemdesign/grav-plugin-language-selector',
  17. 'keywords' => 'mulitlang, multilanguage, translation, switcher, selector, flag',
  18. 'bugs' => 'https://github.com/clemdesign/grav-plugin-language-selector/issues',
  19. 'docs' => 'https://github.com/clemdesign/grav-plugin-language-selector/blob/master/README.md',
  20. 'license' => 'MIT',
  21. 'form' => [
  22. 'validation' => 'strict',
  23. 'fields' => [
  24. 'enabled' => [
  25. 'type' => 'toggle',
  26. 'label' => 'PLUGINS.LANGUAGE_SELECTOR.PLUGIN_STATUS',
  27. 'highlight' => 1,
  28. 'default' => 1,
  29. 'options' => [
  30. 1 => 'PLUGIN_ADMIN.ENABLED',
  31. 0 => 'PLUGIN_ADMIN.DISABLED'
  32. ],
  33. 'validate' => [
  34. 'type' => 'bool'
  35. ]
  36. ],
  37. 'built_in_css' => [
  38. 'type' => 'toggle',
  39. 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUILT_IN_CSS',
  40. 'highlight' => 1,
  41. 'default' => 1,
  42. 'options' => [
  43. 1 => 'PLUGIN_ADMIN.ENABLED',
  44. 0 => 'PLUGIN_ADMIN.DISABLED'
  45. ],
  46. 'validate' => [
  47. 'type' => 'bool'
  48. ]
  49. ],
  50. 'untranslated_pages_behavior' => [
  51. 'type' => 'select',
  52. 'label' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.LABEL',
  53. 'help' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.HELP',
  54. 'default' => 'none',
  55. 'options' => [
  56. 'none' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_NONE',
  57. 'redirect' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_REDIR',
  58. 'hide' => 'PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_HIDE'
  59. ]
  60. ],
  61. 'button_display' => [
  62. 'type' => 'select',
  63. 'label' => 'PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.LABEL',
  64. 'help' => 'PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.HELP',
  65. 'default' => 'default',
  66. 'options' => [
  67. 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
  68. 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
  69. 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
  70. ]
  71. ],
  72. 'select_display' => [
  73. 'type' => 'select',
  74. 'label' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.LABEL',
  75. 'help' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.HELP',
  76. 'default' => 'default',
  77. 'options' => [
  78. 'default' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT',
  79. 'flag' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG',
  80. 'name' => 'PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME'
  81. ]
  82. ]
  83. ]
  84. ]
  85. ]
  86. ];