-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathblueprints.yaml
50 lines (46 loc) · 1.27 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
name: Translate Date
slug: translate-date
type: plugin
version: 0.4.0
icon: calendar
author:
name: Karmalakas
description: Define date formats for each language and easily use for dates in your templates
keywords: grav, plugin, date, translation, languages, multi-language
homepage: https://github.com/Karmalakas/grav-plugin-translate-date
bugs: https://github.com/Karmalakas/grav-plugin-translate-date/issues
docs: https://github.com/Karmalakas/grav-plugin-translate-date/blob/main/README.md
demo: https://www.karmalakas.lt/grav-plugins-demos/translate-date
license: MIT
dependencies:
- { name: grav, version: '>=1.7.0' }
form:
validation: loose
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
processor:
type: toggle
label: Processor
highlight: basic
default: basic
options:
basic: basic
intl: intl
validate:
type: string
formats:
type: array
label: Default formats
help: Default format for date and time in the according language.
placeholder_key: Language
placeholder_value: Format
required: true