i18n-embedded-references 1.2.0 → 1.2.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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/lib/i18n/embedded_references/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d032504e8c76d865e42ef46c9c5505f3d9431def87e9b86725f1b3f229940720
|
|
4
|
+
data.tar.gz: 67de3d1cf9a26f87db0409e4501c76fa7e7dd0ecff0165c697838eb03f85cbe1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 558b3dd7fcf007d0305bb5285be1d8809a24de89437aeefcdda60a228d993b136a1aa5ea13bd0d1c42352ac97c0d890226e9a3cdd7f076f99b948e9f62e69aba
|
|
7
|
+
data.tar.gz: 3b561ed767de866a1b09d3cc37ad88eebf4a3f85a326a89452ac145a1ee3111b8dddb34ad5d7cd6827c1fb23fda8a258a0dd4ecef0cdb5a38f9f6d9a508cd1ab
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.1
|
|
4
|
+
|
|
5
|
+
- Gem description mentions the static checker and describes the gem as a
|
|
6
|
+
maintained alternative to i18n-recursive-lookup rather than its successor.
|
|
7
|
+
No code changes.
|
|
8
|
+
|
|
3
9
|
## 1.2.0
|
|
4
10
|
|
|
5
11
|
- The requested locale is taken from the `fallback_original_locale` option
|
|
@@ -45,7 +51,7 @@
|
|
|
45
51
|
|
|
46
52
|
## 1.0.0
|
|
47
53
|
|
|
48
|
-
Initial release.
|
|
54
|
+
Initial release. A maintained alternative to [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
|
|
49
55
|
rewritten without ActiveSupport.
|
|
50
56
|
|
|
51
57
|
- `${key}` references inside strings, hashes and arrays, resolved recursively.
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ I18n.t(:'footer.legal') # => "Acme Corp is a registered trademark."
|
|
|
17
17
|
|
|
18
18
|
Change `company` once and every translation that embeds it follows.
|
|
19
19
|
|
|
20
|
-
This gem is
|
|
20
|
+
This gem is a maintained alternative to [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
|
|
21
21
|
which has been unmaintained since 2015. It keeps the `${}` syntax, drops the
|
|
22
22
|
ActiveSupport dependency, resolves references recursively with cycle detection,
|
|
23
23
|
and is locale-aware when fallbacks are in play.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n-embedded-references
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jaime Arrieta
|
|
@@ -32,9 +32,11 @@ dependencies:
|
|
|
32
32
|
version: '2'
|
|
33
33
|
description: |
|
|
34
34
|
An I18n backend extension that lets a translation embed other translations
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
with ${some.key}. References resolve on lookup, recursively, with cycle
|
|
36
|
+
detection and in the requested locale when fallbacks apply. Works with
|
|
37
|
+
strings, hashes and arrays. Ships a static checker (CLI and rake task) that
|
|
38
|
+
finds broken and circular references in locale files. A maintained
|
|
39
|
+
alternative to i18n-recursive-lookup, with the same syntax.
|
|
38
40
|
email:
|
|
39
41
|
- contacto@buk.cl
|
|
40
42
|
executables:
|