blueprints.yaml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. name: Language Selector
  2. version: 1.1.0
  3. 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).
  4. icon: globe
  5. author:
  6. name: Clément G.
  7. email: contact@clemdesign.fr
  8. url: http://www.clemdesign.fr
  9. homepage: https://github.com/clemdesign/grav-plugin-language-selector
  10. keywords: mulitlang, multilanguage, translation, switcher, selector, flag
  11. bugs: https://github.com/clemdesign/grav-plugin-language-selector/issues
  12. docs: https://github.com/clemdesign/grav-plugin-language-selector/blob/master/README.md
  13. license: MIT
  14. form:
  15. validation: strict
  16. fields:
  17. enabled:
  18. type: toggle
  19. label: PLUGINS.LANGUAGE_SELECTOR.PLUGIN_STATUS
  20. highlight: 1
  21. default: 1
  22. options:
  23. 1: PLUGIN_ADMIN.ENABLED
  24. 0: PLUGIN_ADMIN.DISABLED
  25. validate:
  26. type: bool
  27. built_in_css:
  28. type: toggle
  29. label: PLUGINS.LANGUAGE_SELECTOR.BUILT_IN_CSS
  30. highlight: 1
  31. default: 1
  32. options:
  33. 1: PLUGIN_ADMIN.ENABLED
  34. 0: PLUGIN_ADMIN.DISABLED
  35. validate:
  36. type: bool
  37. untranslated_pages_behavior:
  38. type: select
  39. label: PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.LABEL
  40. help: PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.HELP
  41. default: none
  42. options:
  43. none: PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_NONE
  44. redirect: PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_REDIR
  45. hide: PLUGINS.LANGUAGE_SELECTOR.UNTRANSLATED_PAGES.OPT_HIDE
  46. button_display:
  47. type: select
  48. label: PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.LABEL
  49. help: PLUGINS.LANGUAGE_SELECTOR.BUTTON_DISPLAY.HELP
  50. default: default
  51. options:
  52. default: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT
  53. flag: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG
  54. name: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME
  55. select_display:
  56. type: select
  57. label: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.LABEL
  58. help: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.HELP
  59. default: default
  60. options:
  61. default: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_DEFAULT
  62. flag: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_FLAG
  63. name: PLUGINS.LANGUAGE_SELECTOR.SELECT_DISPLAY.OPT_NAME