-
Notifications
You must be signed in to change notification settings - Fork 26
/
blueprints.yaml
73 lines (68 loc) · 2.18 KB
/
blueprints.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: LangSwitcher
version: 3.1.1
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.
icon: globe
author:
name: Team Grav
email: [email protected]
url: http://getgrav.org
homepage: https://github.com/getgrav/grav-plugin-langswitcher
keywords: mulitlang, multilanguage, translation, switcher
bugs: https://github.com/getgrav/grav-plugin-langswitcher/issues
license: MIT
dependencies:
- { name: grav, version: '>=1.7.37' }
form:
validation: strict
fields:
enabled:
type: toggle
label: PLUGIN_ADMIN.PLUGIN_STATUS
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
built_in_css:
type: toggle
label: PLUGIN_LANGSWITCHER.BUILTIN_CSS
help: PLUGIN_LANGSWITCHER.BUILTIN_CSS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
translated_urls:
type: toggle
label: PLUGIN_LANGSWITCHER.TRANSLATED_URLS
help: PLUGIN_LANGSWITCHER.TRANSLATED_URLS_HELP
highlight: 1
default: 1
options:
1: PLUGIN_ADMIN.ENABLED
0: PLUGIN_ADMIN.DISABLED
validate:
type: bool
language_display:
type: select
size: small
label: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY
help: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_HELP
default: long
options:
long: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_LONG
short: PLUGIN_LANGSWITCHER.LANGUAGE_DISPLAY_SHORT
untranslated_pages_behavior:
type: select
size: medium
label: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR
help: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_HELP
default: none
options:
none: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_NONE
redirect: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_REDIRECT
hide: PLUGIN_LANGSWITCHER.UNTRANSLATED_PAGES_BEHAVIOR_OPTION_HIDE