jekyll-date-localization 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/locales/it.yml +47 -0
- data/lib/locales/tr.yml +47 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82fd5e61e9becb9248cb028fe8c43368818c6e2338b0a063e60033bd9810757f
|
4
|
+
data.tar.gz: 103296532ac82026a31a6fe8596fe39b425f9674cc8d8d2dfab6504bb7c14998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deac9a5cc3ba7d062f67322845ac1750a6a0769515306e1aa9b455835a7b750a1453d127dc89e0d3053e9754a9aac3ab1dce05cf1ae46cb1b023a9cec337e86c
|
7
|
+
data.tar.gz: b95bcde959226281a6e841777037d58a28983ad500660feeba12f8498af5087750f09a3f3a986a6706267d9106e2fc2a9bd0609292a65fbe5fd75f203d69efc6
|
data/README.md
CHANGED
@@ -33,13 +33,13 @@ date_locale: cs
|
|
33
33
|
In your markup, simply use the `localize` liquid filter made available through this plugin:
|
34
34
|
|
35
35
|
```
|
36
|
-
{{ page.date | localize '%d. %B %Y' }}
|
36
|
+
{{ page.date | localize: '%d. %B %Y' }}
|
37
37
|
```
|
38
38
|
|
39
39
|
By default the value of `date_locale` is used to select the language. Alternatively you can also directly specify the language:
|
40
40
|
|
41
41
|
```
|
42
|
-
{{ page.date | localize '%d. %B %Y', 'fr' }}
|
42
|
+
{{ page.date | localize: '%d. %B %Y', 'fr' }}
|
43
43
|
```
|
44
44
|
|
45
45
|
For details about the formatting string, see [strftime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html#method-i-strftime) documentation. The localized entries are `%b %B %a %A`.
|
data/lib/locales/it.yml
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
it:
|
3
|
+
date:
|
4
|
+
abbr_day_names:
|
5
|
+
- dom
|
6
|
+
- lun
|
7
|
+
- mar
|
8
|
+
- mer
|
9
|
+
- gio
|
10
|
+
- ven
|
11
|
+
- sab
|
12
|
+
abbr_month_names:
|
13
|
+
-
|
14
|
+
- gen
|
15
|
+
- feb
|
16
|
+
- mar
|
17
|
+
- apr
|
18
|
+
- mag
|
19
|
+
- giu
|
20
|
+
- lug
|
21
|
+
- ago
|
22
|
+
- set
|
23
|
+
- ott
|
24
|
+
- nov
|
25
|
+
- dic
|
26
|
+
day_names:
|
27
|
+
- domenica
|
28
|
+
- lunedì
|
29
|
+
- martedì
|
30
|
+
- mercoledì
|
31
|
+
- giovedì
|
32
|
+
- venerdì
|
33
|
+
- sabato
|
34
|
+
month_names:
|
35
|
+
-
|
36
|
+
- gennaio
|
37
|
+
- febbraio
|
38
|
+
- marzo
|
39
|
+
- aprile
|
40
|
+
- maggio
|
41
|
+
- giugno
|
42
|
+
- luglio
|
43
|
+
- agosto
|
44
|
+
- settembre
|
45
|
+
- ottobre
|
46
|
+
- novembre
|
47
|
+
- dicembre
|
data/lib/locales/tr.yml
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
tr:
|
3
|
+
date:
|
4
|
+
abbr_day_names:
|
5
|
+
- Paz
|
6
|
+
- Pzt
|
7
|
+
- Sal
|
8
|
+
- Çar
|
9
|
+
- Per
|
10
|
+
- Cum
|
11
|
+
- Cts
|
12
|
+
abbr_month_names:
|
13
|
+
-
|
14
|
+
- Oca
|
15
|
+
- Şub
|
16
|
+
- Mar
|
17
|
+
- Nis
|
18
|
+
- May
|
19
|
+
- Haz
|
20
|
+
- Tem
|
21
|
+
- Ağu
|
22
|
+
- Eyl
|
23
|
+
- Eki
|
24
|
+
- Kas
|
25
|
+
- Ara
|
26
|
+
day_names:
|
27
|
+
- Pazar
|
28
|
+
- Pazartesi
|
29
|
+
- Salı
|
30
|
+
- Çarşamba
|
31
|
+
- Perşembe
|
32
|
+
- Cuma
|
33
|
+
- Cumartesi
|
34
|
+
month_names:
|
35
|
+
-
|
36
|
+
- Ocak
|
37
|
+
- Şubat
|
38
|
+
- Mart
|
39
|
+
- Nisan
|
40
|
+
- Mayıs
|
41
|
+
- Haziran
|
42
|
+
- Temmuz
|
43
|
+
- Ağustos
|
44
|
+
- Eylül
|
45
|
+
- Ekim
|
46
|
+
- Kasım
|
47
|
+
- Aralık
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-date-localization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- krupkat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -38,8 +38,10 @@ files:
|
|
38
38
|
- lib/locales/en.yml
|
39
39
|
- lib/locales/es.yml
|
40
40
|
- lib/locales/fr.yml
|
41
|
+
- lib/locales/it.yml
|
41
42
|
- lib/locales/pt.yml
|
42
43
|
- lib/locales/ro.yml
|
44
|
+
- lib/locales/tr.yml
|
43
45
|
homepage: https://github.com/krupkat/jekyll-date-localization
|
44
46
|
licenses:
|
45
47
|
- MIT
|
@@ -59,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
61
|
- !ruby/object:Gem::Version
|
60
62
|
version: '0'
|
61
63
|
requirements: []
|
62
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.3.5
|
63
65
|
signing_key:
|
64
66
|
specification_version: 4
|
65
67
|
summary: Liquid filter for custom locale date formatting.
|