timeliness-i18n 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/config/locales/ja.yml +16 -0
- data/lib/timeliness-i18n/version.rb +1 -1
- 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: 9000de76ddf587e4713f98633f5f8cff50981bcf959dd6cc3d7bfe666421dda3
|
4
|
+
data.tar.gz: eed677603f2bc1ad925681f4e7a2f499dba25ef8b22d07456a65d35080fc9897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2577f5ede44ffa536eb542356d30d4f68d49bc5b6c6ffab5c39b6c1824fdf8e21802f4420a535f4e165a8417bcbda929a26be70b56b2ca8fab3b5df0ca4b4a13
|
7
|
+
data.tar.gz: 1afa71d95956c6f158e8f252a8a7cbc233184eb1fa395e1b6dc0159c5397b2519df890d34d1bce9e18e4d348ace1f2e0260fa95fe3600267c52280fb3d82a7ac
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
[]()
|
5
5
|
[]()
|
6
6
|
|
7
|
+
Translations for [timeliness](https://github.com/adzap/timeliness) and [validates_timeliness](https://github.com/adzap/validates_timeliness) gem.
|
8
|
+
|
7
9
|
## Installation
|
8
10
|
|
9
11
|
Add this line to your application's Gemfile:
|
@@ -20,6 +22,8 @@ Or install it yourself as:
|
|
20
22
|
|
21
23
|
$ gem install timeliness-i18n
|
22
24
|
|
25
|
+
That's all! Now, you just need to set the locale of your application and see the messages translated automatically.
|
26
|
+
|
23
27
|
## Something wrong with the translations? Contribute it!
|
24
28
|
|
25
29
|
Send a pull request! Fix the translations or create it for some missing locale. Help us to improves the quality of translations!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
ja:
|
2
|
+
errors:
|
3
|
+
messages:
|
4
|
+
invalid_date: 'は不正な日付です'
|
5
|
+
invalid_time: 'は不正な時間です'
|
6
|
+
invalid_datetime: 'は不正な日時です'
|
7
|
+
is_at: 'は%{restriction}にしてください'
|
8
|
+
before: 'は%{restriction}より前にしてください'
|
9
|
+
on_or_before: 'は%{restriction}以前にしてください'
|
10
|
+
after: 'は%{restriction}より後にしてください'
|
11
|
+
on_or_after: 'は%{restriction}以後にしてください'
|
12
|
+
validates_timeliness:
|
13
|
+
error_value_formats:
|
14
|
+
date: '%Y-%m-%d'
|
15
|
+
time: '%H:%M:%S'
|
16
|
+
datetime: '%Y-%m-%d %H:%M:%S'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timeliness-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pedro Furtado
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- config/locales/fi.yml
|
85
85
|
- config/locales/fr.yml
|
86
86
|
- config/locales/it.yml
|
87
|
+
- config/locales/ja.yml
|
87
88
|
- config/locales/lt.yml
|
88
89
|
- config/locales/pt-BR.yml
|
89
90
|
- config/locales/ru.yml
|
@@ -112,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
113
|
version: '0'
|
113
114
|
requirements: []
|
114
115
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.7.
|
116
|
+
rubygems_version: 2.7.7
|
116
117
|
signing_key:
|
117
118
|
specification_version: 4
|
118
119
|
summary: Translations for the timeliness and validates_timeliness gem.
|