jekyll-date-localization 0.0.3 → 0.0.4
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/tr.yml +47 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50900338b6b074badf69ea2c4ec0a4a5f76fe0a791b8702056970d657f93c83e
|
4
|
+
data.tar.gz: 9617c31cc40d4b4abfa70ee9d7b0718a7ae89f05e750f942317bf9577e1fa05e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42296bf7fdd35b924b51279387ab4d201c81fcae56e2e1976b2db965ef595a2cb7c42347f150e92ee4b0557a56047c87b5c5f5d5c06a45b17965d6dc9fa62b5f
|
7
|
+
data.tar.gz: 5b61fb127c648c2bfca42ffbd6d38c2b5a7c21f449b2a97ed013f361ab97f71fec1044596e6963b95a2eb00b63da3a07a61ae5a8d38f0e9f8b5aefca0a3da604
|
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/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.4
|
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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -40,6 +40,7 @@ files:
|
|
40
40
|
- lib/locales/fr.yml
|
41
41
|
- lib/locales/pt.yml
|
42
42
|
- lib/locales/ro.yml
|
43
|
+
- lib/locales/tr.yml
|
43
44
|
homepage: https://github.com/krupkat/jekyll-date-localization
|
44
45
|
licenses:
|
45
46
|
- MIT
|
@@ -59,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
59
60
|
- !ruby/object:Gem::Version
|
60
61
|
version: '0'
|
61
62
|
requirements: []
|
62
|
-
rubygems_version: 3.
|
63
|
+
rubygems_version: 3.3.5
|
63
64
|
signing_key:
|
64
65
|
specification_version: 4
|
65
66
|
summary: Liquid filter for custom locale date formatting.
|