blueprints.yaml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. name: LangSwitcher
  2. version: 3.1.1
  3. description: LangSwitcher is a [Grav](https://github.com/getgrav/grav) plugin that provides native language text links to switch between [multiple languages](http://learn.getgrav.org/content/multi-language) in Grav **v0.9.30** or greater.
  4. icon: globe
  5. author:
  6. name: Team Grav
  7. email: devs@getgrav.org
  8. url: http://getgrav.org
  9. homepage: https://github.com/getgrav/grav-plugin-langswitcher
  10. keywords: mulitlang, multilanguage, translation, switcher
  11. bugs: https://github.com/getgrav/grav-plugin-langswitcher/issues
  12. license: MIT
  13. dependencies:
  14. - { name: grav, version: '>=1.7.37' }
  15. form:
  16. validation: strict
  17. fields:
  18. enabled:
  19. type: toggle
  20. label: PLUGIN_ADMIN.PLUGIN_STATUS
  21. highlight: 1
  22. default: 1
  23. options:
  24. 1: PLUGIN_ADMIN.ENABLED
  25. 0: PLUGIN_ADMIN.DISABLED
  26. validate:
  27. type: bool
  28. built_in_css:
  29. type: toggle
  30. label: PLUGIN_LANGSWITCHER.BUILTIN_CSS
  31. help: PLUGIN_LANGSWITCHER.BUILTIN_CSS_HELP
  32. highlight: 1
  33. default: 1
  34. options:
  35. 1: PLUGIN_ADMIN.ENABLED
  36. 0: PLUGIN_ADMIN.DISABLED
  37. validate:
  38. type: bool
  39. translated_urls:
  40. type: toggle
  41. label: PLUGIN_LANGSWITCHER.TRANSLATED_URLS
  42. help: PLUGIN_LANGSWITCHER.TRANSLATED_URLS_HELP
  43. highlight: 1
  44. default: 1
  45. options:
  46. 1: PLUGIN_ADMIN.ENABLED
  47. 0: PLUGIN_ADMIN.DISABLED
  48. validate:
  49. type: bool
  50. language_display:
  51. type: select
  52. size: small
  53. label: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY
  54. help: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_HELP
  55. default: long
  56. options:
  57. long: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_LONG
  58. short: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_SHORT
  59. untranslated_pages_behavior:
  60. type: select
  61. size: medium
  62. label: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR
  63. help: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_HELP
  64. default: none
  65. options:
  66. none: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_NONE
  67. redirect: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_REDIRECT
  68. hide: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_HIDE