tkh_toolbox 0.9 → 0.9.1

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YjA2ZWM4ODJkM2Y5ZGI3NWQ1MjZmZTZjYzg4YzEyNzZhNTJkY2UxNw==
5
- data.tar.gz: !binary |-
6
- NzllYzhkN2UzN2NhMDUyYmExNzk3MzE0MDBjZWU0NzFlNGQ2N2FmYQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- NDgzODc4NWE1YTM3NmRhOGI3OWEyODk5MjQwM2RhMGI0MzMwYTU3YzFjOGU5
10
- MzAxOWE3YmI0MGM1YWE0YjA4NmNiOWM2MTdlN2NjNjgzYTI2MWYwZjg3ZDM3
11
- MTJiNmE5ZWRmMzIyZDQ0MTgwMzYyN2U0MDlhOWUzMmQ0MWYxMjM=
12
- data.tar.gz: !binary |-
13
- MzQyM2MwYzUzNGI2MTljYjdjOGFlMzdhNzE0OGVkMDc3ODFiMmYxZGZkYmQ0
14
- Zjg3N2U1ZGU4NWM1YjQwZDU3YjNlNDhiMzBmOGE4N2VhMjkwNTFkNjI4N2Yz
15
- Y2Y4OTc1NGNjZjdlNzZhNDVhY2EzNTAxZjQ1ZDA3ODc0ODkxYzA=
2
+ SHA1:
3
+ metadata.gz: 91a99288aa17e1ca64c98110fbc8be150574bf9d
4
+ data.tar.gz: d5deff72de30d23752d63b0a6d8fe185802ed4fb
5
+ SHA512:
6
+ metadata.gz: 97379a528f2e76e8ca88b4803dd4e376e6c70d2d5f44dadfd8f23bdd3045fd6f236a4732520519c19ace62a179cd8539ec022db88d5c14a4559baeb05108b5e5
7
+ data.tar.gz: 39bbaa5e4d6885bb83cee4a17e517cff59e682e70ae34420c85f9286e0b03b43dd29f942521023a9406d672e046e9b9a8c4ea71df1a024ab35611cf6b5430a33
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
- # TKH Illustrations
1
+ # TKH Toolbox
2
2
 
3
3
 
4
4
 
5
+ ## 0.9.0 and 0.9.1
6
+
7
+ * Bumped version to match all rails 4 compatible tkh gems
8
+ * Added a flash message partial but it might not work yet
9
+ * Added the full default set of locale translations for French language
10
+
11
+
5
12
  ## 0.0.4
6
13
 
7
14
  * Added a few translations
data/README.md CHANGED
@@ -23,7 +23,10 @@ Run the following command:
23
23
 
24
24
  ## Usage
25
25
 
26
- There are only general purpose locale files at this point. Look for them in the config/locales folder.
26
+ There are general purpose locale files. Look for them in the config/locales folder.
27
+
28
+ A flash view partial can be called at app/views/shared/_flash_messages.html.erb
29
+
27
30
 
28
31
  ## Contributing
29
32
 
@@ -1,11 +1,221 @@
1
1
  fr:
2
-
3
- full_name: 'Français'
4
-
2
+ date:
3
+ abbr_day_names:
4
+ - dim
5
+ - lun
6
+ - mar
7
+ - mer
8
+ - jeu
9
+ - ven
10
+ - sam
11
+ abbr_month_names:
12
+ - ~
13
+ - jan.
14
+ - fév.
15
+ - mar.
16
+ - avr.
17
+ - mai
18
+ - juin
19
+ - juil.
20
+ - août
21
+ - sept.
22
+ - oct.
23
+ - nov.
24
+ - déc.
25
+ day_names:
26
+ - dimanche
27
+ - lundi
28
+ - mardi
29
+ - mercredi
30
+ - jeudi
31
+ - vendredi
32
+ - samedi
33
+ formats:
34
+ default: "%d/%m/%Y"
35
+ short: "%e %b"
36
+ long: "%e %B %Y"
37
+ month_names:
38
+ - ~
39
+ - janvier
40
+ - février
41
+ - mars
42
+ - avril
43
+ - mai
44
+ - juin
45
+ - juillet
46
+ - août
47
+ - septembre
48
+ - octobre
49
+ - novembre
50
+ - décembre
51
+ order:
52
+ - :day
53
+ - :month
54
+ - :year
55
+ datetime:
56
+ distance_in_words:
57
+ about_x_hours:
58
+ one: "environ une heure"
59
+ other: "environ %{count} heures"
60
+ about_x_months:
61
+ one: "environ un mois"
62
+ other: "environ %{count} mois"
63
+ about_x_years:
64
+ one: "environ un an"
65
+ other: "environ %{count} ans"
66
+ almost_x_years:
67
+ one: "presqu'un an"
68
+ other: "presque %{count} ans"
69
+ half_a_minute: "une demi-minute"
70
+ less_than_x_minutes:
71
+ zero: "moins d'une minute"
72
+ one: "moins d'une minute"
73
+ other: "moins de %{count} minutes"
74
+ less_than_x_seconds:
75
+ zero: "moins d'une seconde"
76
+ one: "moins d'une seconde"
77
+ other: "moins de %{count} secondes"
78
+ over_x_years:
79
+ one: "plus d'un an"
80
+ other: "plus de %{count} ans"
81
+ x_days:
82
+ one: "1 jour"
83
+ other: "%{count} jours"
84
+ x_minutes:
85
+ one: "1 minute"
86
+ other: "%{count} minutes"
87
+ x_months:
88
+ one: "1 mois"
89
+ other: "%{count} mois"
90
+ x_seconds:
91
+ one: "1 seconde"
92
+ other: "%{count} secondes"
93
+ prompts:
94
+ day: "Jour"
95
+ hour: "Heure"
96
+ minute: "Minute"
97
+ month: "Mois"
98
+ second: "Seconde"
99
+ year: "Année"
100
+ errors: &errors
101
+ format: "%{attribute} %{message}"
102
+ messages: &errors_messages
103
+ accepted: "doit être accepté(e)"
104
+ blank: "doit être rempli(e)"
105
+ present: "doit être vide"
106
+ confirmation: "ne concorde pas avec la confirmation"
107
+ empty: "doit être rempli(e)"
108
+ equal_to: "doit être égal à %{count}"
109
+ even: "doit être pair"
110
+ exclusion: "n'est pas disponible"
111
+ greater_than: "doit être supérieur à %{count}"
112
+ greater_than_or_equal_to: "doit être supérieur ou égal à %{count}"
113
+ inclusion: "n'est pas inclus(e) dans la liste"
114
+ invalid: "n'est pas valide"
115
+ less_than: "doit être inférieur à %{count}"
116
+ less_than_or_equal_to: "doit être inférieur ou égal à %{count}"
117
+ not_a_number: "n'est pas un nombre"
118
+ not_an_integer: "doit être un nombre entier"
119
+ odd: "doit être impair"
120
+ record_invalid: "La validation a échoué : %{errors}"
121
+ restrict_dependent_destroy:
122
+ one: "Suppression impossible: un autre enregistrement est lié"
123
+ many: "Suppression impossible: d'autres enregistrements sont liés"
124
+ taken: "n'est pas disponible"
125
+ too_long:
126
+ one: "est trop long (pas plus d'un caractère)"
127
+ other: "est trop long (pas plus de %{count} caractères)"
128
+ too_short:
129
+ one: "est trop court (au moins un caractère)"
130
+ other: "est trop court (au moins %{count} caractères)"
131
+ wrong_length:
132
+ one: "ne fait pas la bonne longueur (doit comporter un seul caractère)"
133
+ other: "ne fait pas la bonne longueur (doit comporter %{count} caractères)"
134
+ other_than: "doit être différent de %{count}"
135
+ template: &errors_template
136
+ body: "Veuillez vérifier les champs suivants : "
137
+ header:
138
+ one: "Impossible d'enregistrer ce(tte) %{model} : 1 erreur"
139
+ other: "Impossible d'enregistrer ce(tte) %{model} : %{count} erreurs"
140
+ helpers:
141
+ select:
142
+ prompt: "Veuillez sélectionner"
143
+ submit:
144
+ create: "Créer un(e) %{model}"
145
+ submit: "Enregistrer ce(tte) %{model}"
146
+ update: "Modifier ce(tte) %{model}"
147
+ number:
148
+ currency:
149
+ format:
150
+ delimiter: " "
151
+ format: "%n %u"
152
+ precision: 2
153
+ separator: ","
154
+ significant: false
155
+ strip_insignificant_zeros: false
156
+ unit: "€"
157
+ format:
158
+ delimiter: " "
159
+ precision: 3
160
+ separator: ","
161
+ significant: false
162
+ strip_insignificant_zeros: false
163
+ human:
164
+ decimal_units:
165
+ format: "%n %u"
166
+ units:
167
+ billion: "milliard"
168
+ million: "million"
169
+ quadrillion: "million de milliards"
170
+ thousand: "millier"
171
+ trillion: "billion"
172
+ unit: ""
173
+ format:
174
+ delimiter: ""
175
+ precision: 2
176
+ significant: true
177
+ strip_insignificant_zeros: true
178
+ storage_units:
179
+ format: "%n %u"
180
+ units:
181
+ byte:
182
+ one: "octet"
183
+ other: "octets"
184
+ gb: "Go"
185
+ kb: "ko"
186
+ mb: "Mo"
187
+ tb: "To"
188
+ percentage:
189
+ format:
190
+ delimiter: ""
191
+ format: "%n%"
192
+ precision:
193
+ format:
194
+ delimiter: ""
195
+ support:
196
+ array:
197
+ last_word_connector: " et "
198
+ two_words_connector: " et "
199
+ words_connector: ", "
5
200
  time:
201
+ am: 'am'
6
202
  formats:
7
- tkh_default: "%d %b %Y à %H:%M"
8
-
203
+ default: "%d %B %Y %H:%M:%S"
204
+ long: "%A %d %B %Y %H:%M"
205
+ short: "%d %b %H:%M"
206
+ tkh_default: "%-d %B %Y à %H:%M"
207
+ pm: 'pm'
208
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
209
+ activemodel:
210
+ errors:
211
+ <<: *errors
212
+ activerecord:
213
+ errors:
214
+ <<: *errors
215
+
216
+
217
+ full_name: 'Français'
218
+
9
219
  actions: 'actions'
10
220
  admin_section: 'section administrative'
11
221
  all: 'tous'
@@ -1,3 +1,3 @@
1
1
  module TkhToolbox
2
- VERSION = "0.9"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_toolbox
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swami Atma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-22 00:00:00.000000000 Z
11
+ date: 2014-03-03 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Assortment of all-purpose utilities used by gems across the tkh_cms suite
14
14
  email:
@@ -17,7 +17,7 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
- - .gitignore
20
+ - ".gitignore"
21
21
  - CHANGELOG.md
22
22
  - Gemfile
23
23
  - LICENSE.txt
@@ -43,17 +43,17 @@ require_paths:
43
43
  - lib
44
44
  required_ruby_version: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - ! '>='
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0'
54
54
  requirements: []
55
55
  rubyforge_project:
56
- rubygems_version: 2.0.3
56
+ rubygems_version: 2.2.0
57
57
  signing_key:
58
58
  specification_version: 4
59
59
  summary: Assortment of all-purpose utilities used by gems across the tkh_cms suite