r18n-core 1.1.10 → 1.1.11
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/{ChangeLog → ChangeLog.md} +55 -52
- data/lib/r18n-core/version.rb +1 -1
- data/r18n-core.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b47c07c8bd6ee5322233ea9ab8fd2e6f62096a06
|
|
4
|
+
data.tar.gz: 72b876e87382bc4132952244b0dfe0083a9d91b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0e8a7e05839673279849b8bb25d93fe9c7df0fe96232a22a87b711c0db544fbe57e7da969482c4e6c21197730cca31fbd75a38bb511654c12a076a712dd1974
|
|
7
|
+
data.tar.gz: 49db67bdbfbaf93250812bf283ae59e7f36a5a5203a476f0009275dcf48dec6102773df063e4e8af68d996da5286d80e2cfbcf70b887bfcde42afc6fcc7674d4
|
data/{ChangeLog → ChangeLog.md}
RENAMED
|
@@ -1,74 +1,77 @@
|
|
|
1
|
-
|
|
1
|
+
### 1.1.11 (São Paulo)
|
|
2
|
+
* Allow to set Proc as `default` option in Rails I18n backend.
|
|
3
|
+
|
|
4
|
+
### 1.1.10 (十)
|
|
2
5
|
* Fix Esperanto locale by Larry Gilbert.
|
|
3
|
-
* Fix Chinese locale by
|
|
6
|
+
* Fix Chinese locale (by 刘当一).
|
|
4
7
|
|
|
5
|
-
|
|
6
|
-
* Fix Rails 4.0.4 support. Prevent loop on enforce_available_locales
|
|
8
|
+
### 1.1.9 (Не знайдено)
|
|
9
|
+
* Fix Rails 4.0.4 support. Prevent loop on `enforce_available_locales`.
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
### 1.1.8 (Osam)
|
|
9
12
|
* Add Croatian locale (by Dino Kovač).
|
|
10
13
|
* Add Serbian latin locale (by Dino Kovač).
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
* Return nil on untranslated in models with Translated.
|
|
14
|
-
* Add transliterate method to I18n backend.
|
|
15
|
+
### 1.1.7 (Tujuh)
|
|
16
|
+
* Return `nil` on untranslated in models with Translated.
|
|
17
|
+
* Add `transliterate` method to I18n backend.
|
|
15
18
|
* Add Indonesian locale (by Guntur Akhmad).
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
* Return TranslatedString after global String filters.
|
|
20
|
+
### 1.1.6 (Vitebsk)
|
|
21
|
+
* Return `TranslatedString` after global String filters.
|
|
19
22
|
* Fix path in global String filters.
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
### 1.1.5 (Hilo)
|
|
22
25
|
* Fix Sinatra plugin under multithreaded web-server (by Viktors Rotanovs).
|
|
23
26
|
* Fix BigDecimal localizing (by François Beausoleil).
|
|
24
27
|
* Add American American Spanish locale (by renemarcelo).
|
|
25
28
|
|
|
26
|
-
|
|
29
|
+
### 1.1.4 (Bokmål)
|
|
27
30
|
* Add Norwegian “no” locale as gateway to Bokmål or Nynorsk.
|
|
28
31
|
* Fix Norwegian Bokmål locale code.
|
|
29
32
|
* Fix hungarian time format (Kővágó Zoltán).
|
|
30
33
|
|
|
31
|
-
|
|
34
|
+
### 1.1.3 (Saint Petersburg)
|
|
32
35
|
* Fix memory leak from cache key missmatch in Rails plugin (by silentshade).
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
### 1.1.2 (Marshal)
|
|
35
38
|
* Fix translation and untranslated marshalizing (by silentshade).
|
|
36
39
|
* Allow to compare untranslated strings.
|
|
37
40
|
* Fix untranslated strings output in tests.
|
|
38
41
|
|
|
39
|
-
|
|
42
|
+
### 1.1.1 (Dunhuang)
|
|
40
43
|
* Don’t change YAML parser in Ruby 1.9.
|
|
41
44
|
* Allow to change locale by argument in R18n Rails backend.
|
|
42
45
|
* Set also Rails I18n locale in Rails autodetect filter.
|
|
43
46
|
* Fix caching with custom filters (by Anton Onyshchenko).
|
|
44
|
-
* Fix translation variables
|
|
47
|
+
* Fix translation variables with `%1` text inside (by Taras Kunch).
|
|
45
48
|
* Fix Latvian locale (by Aleksandrs Ļedovskis).
|
|
46
49
|
|
|
47
|
-
|
|
50
|
+
### 1.1.0 (Leipzig)
|
|
48
51
|
* A lot of fixes in Rails I18n compatibility (thanks for Stephan Schubert).
|
|
49
52
|
* Return Untranslted, when user try to call another translation key on
|
|
50
53
|
already translated string.
|
|
51
|
-
* Add Translation#to_hash to get raw translation.
|
|
52
|
-
* Add Translation#inspect to easy debug.
|
|
54
|
+
* Add `Translation#to_hash` to get raw translation.
|
|
55
|
+
* Add `Translation#inspect` to easy debug.
|
|
53
56
|
* Return translation, when pluralization filter didn’t get count.
|
|
54
57
|
* Set R18n backend on Rails plugin init, to use it in console.
|
|
55
58
|
* Allow to use Fixnum in translation keys.
|
|
56
59
|
|
|
57
|
-
|
|
60
|
+
### 1.0.1 (Phuket Town)
|
|
58
61
|
* Fix translation reloading in Rails and Sinatra.
|
|
59
62
|
* Use global R18n settings for Sinatra extension.
|
|
60
63
|
* Allow to override desktop autodetect by LANG environment on all platforms.
|
|
61
64
|
* Add support for JRuby in 1.9 mode.
|
|
62
|
-
* Rename R18n.reset to R18n.reset
|
|
65
|
+
* Rename `R18n.reset` to `R18n.reset!` and add `R18n.clear_cache!`.
|
|
63
66
|
* Fix Sinatra with loaded ActiveSupport.
|
|
64
67
|
* Add Mongolian locale (by Elias Klughammer).
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
* Add R18n.default_places
|
|
69
|
+
### 1.0.0 (Bangkok)
|
|
70
|
+
* Add `R18n.default_places`.
|
|
68
71
|
* Rails SafeBuffer support.
|
|
69
|
-
* Allow in Rails app to put filters to app/i18n reload them in development.
|
|
70
|
-
* Move R18n::I18n.available_locales to R18n.available_locales
|
|
71
|
-
* Rename _keys to translation_keys
|
|
72
|
+
* Allow in Rails app to put filters to `app/i18n` reload them in development.
|
|
73
|
+
* Move `R18n::I18n.available_locales` to `R18n.available_locales`.
|
|
74
|
+
* Rename `_keys` to `translation_keys`.
|
|
72
75
|
* Use Kramdown instead of Maruku for Markdown.
|
|
73
76
|
* Allow to use R18n for Rails without mailer.
|
|
74
77
|
* Allow to overwrite I18n object for models.
|
|
@@ -76,34 +79,34 @@
|
|
|
76
79
|
* Set default locale to R18n on Rails start to easy use in Rails console.
|
|
77
80
|
* Use env language in Rails console.
|
|
78
81
|
* Mark untranslated part as red in Rails console.
|
|
79
|
-
* Allow to temporary change locale by R18n.change
|
|
80
|
-
* Add R18n.locale shortcut.
|
|
82
|
+
* Allow to temporary change locale by `R18n.change`.
|
|
83
|
+
* Add `R18n.locale` shortcut.
|
|
81
84
|
* Allow return from setter block locale code, instead of I18n object.
|
|
82
85
|
* Allow to set custom filters for I18n object.
|
|
83
86
|
* Add Galician locale (by Eduard Giménez).
|
|
84
87
|
* Add Traditional Chinese and Simplified Chinese (by Francis Chong).
|
|
85
88
|
* Fix Norsk locale (by Peter Haza).
|
|
86
89
|
|
|
87
|
-
|
|
90
|
+
### 0.4.14 (üç)
|
|
88
91
|
* Fix support for Ruby 1.9.3.
|
|
89
92
|
* Added Turkish locale (by Ahmet Özkaya).
|
|
90
93
|
* Fix Swedish locale (by Pär Wieslander).
|
|
91
94
|
|
|
92
|
-
|
|
95
|
+
### 0.4.13 (Sti)
|
|
93
96
|
* Fix Pathname to String error in r18n-desktop.
|
|
94
97
|
* Add Norwegian locale (by Oddmund Strømme).
|
|
95
98
|
|
|
96
|
-
|
|
99
|
+
### 0.4.12 (Шлях)
|
|
97
100
|
* Fix Pathname to String convertion error.
|
|
98
101
|
* Fix model translation for non-ActiveRecord (by Szymon Przybył).
|
|
99
102
|
* Add Ukrainian locale (by Ярослав Руденок).
|
|
100
103
|
|
|
101
|
-
|
|
104
|
+
### 0.4.11 (Nancy)
|
|
102
105
|
* Support for Sinatra 1.3.
|
|
103
106
|
* Fix JRuby support by Paul Walker.
|
|
104
107
|
* Add R18n helpers to Rails mailer by Alexey Medvedev.
|
|
105
108
|
|
|
106
|
-
|
|
109
|
+
### 0.4.10 (Kvantum)
|
|
107
110
|
* Add R18n.set(locales, places), R18n.t and R18n.l shortcuts.
|
|
108
111
|
* Convert float to number on pluralization.
|
|
109
112
|
* Fix loading empty translation file.
|
|
@@ -111,7 +114,7 @@
|
|
|
111
114
|
* Add Dutch locale (by Sander Heilbron).
|
|
112
115
|
* Add Swedish locale (by Magnus Hörberg).
|
|
113
116
|
|
|
114
|
-
|
|
117
|
+
### 0.4.9 (Kazan)
|
|
115
118
|
* Add support for Psych YAML parser (thanks for Ravil Bayramgalin).
|
|
116
119
|
* Fix ActiveRecord support in Translated.
|
|
117
120
|
* Fix Translated to return non-string values.
|
|
@@ -119,17 +122,17 @@
|
|
|
119
122
|
* Add Bulgarian locale (by Mitko Kostov).
|
|
120
123
|
* Add Australian English locale (by Dave Sag).
|
|
121
124
|
|
|
122
|
-
|
|
125
|
+
### 0.4.8 (En ni to)
|
|
123
126
|
* Fix support for Ruby 1.9.2.
|
|
124
127
|
* Fix caching issue (by Viktors Rotanovs).
|
|
125
128
|
* Add Danish locale (by Hans Czajkowski Jørgensen)
|
|
126
129
|
* Fix Italian locale (by Viktors Rotanovs).
|
|
127
130
|
* Move untranslated filters with html highlight to r18n-core.
|
|
128
131
|
|
|
129
|
-
|
|
132
|
+
### 0.4.7.1 (Kyū)
|
|
130
133
|
* Fix Japanese locale in Ruby 1.9.1.
|
|
131
134
|
|
|
132
|
-
|
|
135
|
+
### 0.4.7 (Mado)
|
|
133
136
|
* Fix autodetect locale in Windows and Ruby 1.9.1 (by Marvin Gülker).
|
|
134
137
|
* Fix autodetect locale in JRuby (by Kővágó, Zoltán).
|
|
135
138
|
* Fix human time format on 60 minutes.
|
|
@@ -137,7 +140,7 @@
|
|
|
137
140
|
* Add Japanese locale (by hryk).
|
|
138
141
|
* Fix Polish locale (by Piotr Szotkowski).
|
|
139
142
|
|
|
140
|
-
|
|
143
|
+
### 0.4.6 (Trinity)
|
|
141
144
|
* Add support for new interpolation syntax in Rails 3.
|
|
142
145
|
* Add Catalian locale (by Jordi Romero).
|
|
143
146
|
* Add Finish locale (by Laura Guillén).
|
|
@@ -148,13 +151,13 @@
|
|
|
148
151
|
* Fix documentation (by Iļja Ketris and felix).
|
|
149
152
|
* Remove RubyGems from plugins requires.
|
|
150
153
|
|
|
151
|
-
|
|
154
|
+
### 0.4.5 (Annual)
|
|
152
155
|
* Filters for several types.
|
|
153
156
|
* Global HTML escaping run before Markdown and Textile formatting.
|
|
154
157
|
* Fix active filters after passive filters.
|
|
155
158
|
* Fix human time formatting for dates with same month days.
|
|
156
159
|
|
|
157
|
-
|
|
160
|
+
### 0.4.4 (Frank)
|
|
158
161
|
* Use before filter to lazy set I18n object in Sinatra extension.
|
|
159
162
|
* Set I18n object to thread (by Simon Hafner).
|
|
160
163
|
* Add to l Rails helper R18n syntax.
|
|
@@ -163,23 +166,23 @@
|
|
|
163
166
|
* Clean up code and fix bug (by Akzhan Abdulin).
|
|
164
167
|
* Add Thai locale (by Felix Hanley).
|
|
165
168
|
|
|
166
|
-
|
|
169
|
+
### 0.4.3 (Flange)
|
|
167
170
|
* Add R18n style methods to Rails controllers.
|
|
168
171
|
* Fix for non-string translations in Rails I18n.
|
|
169
172
|
* Use default locale from Rails I18n config.
|
|
170
173
|
* Load translations recursively.
|
|
171
174
|
* Add Slovak locale (by Ahmed Al Hafoudh)
|
|
172
175
|
|
|
173
|
-
|
|
176
|
+
### 0.4.2 (EMS)
|
|
174
177
|
* Fixes for Ruby 1.8.6 (by Akzhan Abdulin).
|
|
175
178
|
* Add method to get translation keys.
|
|
176
179
|
|
|
177
|
-
|
|
180
|
+
### 0.4.1 (Lazy Boole)
|
|
178
181
|
* Add passive filters.
|
|
179
182
|
* Receive filter position as option Hash.
|
|
180
183
|
* Fix base translations (by Pavel Kunc).
|
|
181
184
|
|
|
182
|
-
|
|
185
|
+
### 0.4 (D-Day)
|
|
183
186
|
* Rails I18n compatibility.
|
|
184
187
|
* Rewrite a lot of core code to fast and cleanup version.
|
|
185
188
|
* Custom translation loaders.
|
|
@@ -190,19 +193,19 @@
|
|
|
190
193
|
* New locale API.
|
|
191
194
|
* Change API for extension translations.
|
|
192
195
|
|
|
193
|
-
|
|
196
|
+
### 0.3.2 (Pidgin)
|
|
194
197
|
* Print path of untranslated string by filters.
|
|
195
198
|
* Add Italian locale (by Guido De Rosa).
|
|
196
199
|
* Fix Polish locale (by Adrian Pacała).
|
|
197
200
|
* Fix American English locale (by Max Aller).
|
|
198
201
|
|
|
199
|
-
|
|
202
|
+
### 0.3.1 (Yield)
|
|
200
203
|
* Add Chinese locale (by Ilia Zayats).
|
|
201
204
|
* Add Spanish locale (by Andre O Moura).
|
|
202
205
|
* Add Brazilian Portuguese locale (by Andre O Moura).
|
|
203
206
|
* Remove RubyGems requires.
|
|
204
207
|
|
|
205
|
-
|
|
208
|
+
### 0.3 (Vladivostok)
|
|
206
209
|
* Translated mixin to add i18n support to model or any other class.
|
|
207
210
|
* New cool time formatters.
|
|
208
211
|
* Filters for translations.
|
|
@@ -213,28 +216,28 @@
|
|
|
213
216
|
* Bugfix in locale code case.
|
|
214
217
|
* Add Czech locale (by Josef Pospíšil).
|
|
215
218
|
|
|
216
|
-
|
|
219
|
+
### 0.2.3 (Shanghai eclipse)
|
|
217
220
|
* R18n will return path string if translation isn’t exists.
|
|
218
221
|
* Add UnsupportedLocale class for locale without information file.
|
|
219
222
|
* Load absent locale information from default locale.
|
|
220
223
|
* Add Polish locale (by Tymon Tobolski).
|
|
221
224
|
|
|
222
|
-
|
|
225
|
+
### 0.2.2 (Clone Wars)
|
|
223
226
|
* Localize numbers in pluralization.
|
|
224
227
|
* Bugfix in translation variables.
|
|
225
228
|
|
|
226
|
-
|
|
229
|
+
### 0.2.1 (Neun)
|
|
227
230
|
* Ruby 1.9 compatibility.
|
|
228
231
|
* Add German locale (by Benjamin Meichsner).
|
|
229
232
|
|
|
230
|
-
|
|
233
|
+
### 0.2 (Freedom of Language)
|
|
231
234
|
* Locale class can be extended for special language (for example, Indian locale
|
|
232
235
|
may has another digits grouping).
|
|
233
236
|
* Load translations from several dirs.
|
|
234
237
|
* Add French locale.
|
|
235
238
|
* Add Kazakh locale.
|
|
236
239
|
|
|
237
|
-
|
|
240
|
+
### 0.1.1 (Saluto)
|
|
238
241
|
* Loading i18n object without translations.
|
|
239
242
|
* Add output for standalone month name.
|
|
240
243
|
* Don’t call procedures from translations if it isn’t secure.
|
data/lib/r18n-core/version.rb
CHANGED
data/r18n-core.gemspec
CHANGED
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
|
16
16
|
|
|
17
17
|
s.files = `git ls-files`.split("\n")
|
|
18
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
19
|
-
s.extra_rdoc_files = ['README.md', 'LICENSE', 'ChangeLog']
|
|
19
|
+
s.extra_rdoc_files = ['README.md', 'LICENSE', 'ChangeLog.md']
|
|
20
20
|
s.require_path = 'lib'
|
|
21
21
|
|
|
22
22
|
s.author = 'Andrey Sitnik'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: r18n-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrey Sitnik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |2
|
|
14
14
|
R18n is a i18n tool to translate your Ruby application.
|
|
@@ -22,10 +22,10 @@ extensions: []
|
|
|
22
22
|
extra_rdoc_files:
|
|
23
23
|
- README.md
|
|
24
24
|
- LICENSE
|
|
25
|
-
- ChangeLog
|
|
25
|
+
- ChangeLog.md
|
|
26
26
|
files:
|
|
27
27
|
- ".rspec"
|
|
28
|
-
- ChangeLog
|
|
28
|
+
- ChangeLog.md
|
|
29
29
|
- LICENSE
|
|
30
30
|
- README.md
|
|
31
31
|
- Rakefile
|