timeliness-i18n 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f91916e35e6cbbbfa91498610760124be6f6c5a697b1cb4b25d4752402c0eca4
4
- data.tar.gz: baa1c9fb209ddd5ece76848cc1ddff103e0344561adf1322c66a46fc006ef89a
3
+ metadata.gz: 9000de76ddf587e4713f98633f5f8cff50981bcf959dd6cc3d7bfe666421dda3
4
+ data.tar.gz: eed677603f2bc1ad925681f4e7a2f499dba25ef8b22d07456a65d35080fc9897
5
5
  SHA512:
6
- metadata.gz: 718477d6a3be14a0eaedf32225c6ba4a633c363dc6b06171042a3e9c7078a4b79cd5bdccc9f6cb137872e7ecf879557fda412ecd216463911a3ba0f91c28b4e3
7
- data.tar.gz: abbe0dbb2b6940c458803f81d5d61f5631ef3214038b09c64468bbecc60ab38372ff9ebe7cf57727674d360324ce34b34e8e2b5a3be36b5fdafe38cb2c228a68
6
+ metadata.gz: 2577f5ede44ffa536eb542356d30d4f68d49bc5b6c6ffab5c39b6c1824fdf8e21802f4420a535f4e165a8417bcbda929a26be70b56b2ca8fab3b5df0ca4b4a13
7
+ data.tar.gz: 1afa71d95956c6f158e8f252a8a7cbc233184eb1fa395e1b6dc0159c5397b2519df890d34d1bce9e18e4d348ace1f2e0260fa95fe3600267c52280fb3d82a7ac
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  [![Gem](https://img.shields.io/gem/dt/timeliness-i18n.svg)]()
5
5
  [![license](https://img.shields.io/github/license/pedrofurtado/timeliness-i18n.svg)]()
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'
@@ -1,3 +1,3 @@
1
1
  module TimelinessI18n
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.6.0'.freeze
3
3
  end
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.5.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-05-04 00:00:00.000000000 Z
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.6
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.