isomorfeus-i18n 2.0.16 → 2.0.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/i18n/version.rb +1 -1
- data/lib/lucid_translation/mixin.rb +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30af8183dbbacb91114e6f11e1e35111e23683e2e3040bc3630862b61cf3035b
|
4
|
+
data.tar.gz: 9d424a45f154ca87ebd2a6e64736c0ba5f935dadc4cdfd68d7be1c6e4b745d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a413278a5ae98b70e3d95e89dc3dadbb12f2b335f60c073d0e1a747f512a8698a6ef9f3f31e56a6706d4a0c2b7c7ce87db680f49cfc884152d6cd9122f08e7a4
|
7
|
+
data.tar.gz: c11cda9436a3c286edb78250a3995303bf67c3c604a24fa23c4bc0145c717fafee2727e08d3ca44a233cf16231c7fa8797cefa320d3bbbaec744e46c553a9e79
|
@@ -13,7 +13,7 @@ module LucidTranslation
|
|
13
13
|
result = Redux.fetch_by_path(:i18n_state, domain, locale, '_', keys)
|
14
14
|
return result if result
|
15
15
|
_promise_send_i18n_method(domain, locale, '_', keys)
|
16
|
-
block_given? ? block.call :
|
16
|
+
block_given? ? block.call : ''
|
17
17
|
end
|
18
18
|
|
19
19
|
def n_(*keys, count, &block)
|
@@ -23,7 +23,7 @@ module LucidTranslation
|
|
23
23
|
result = Redux.fetch_by_path(:i18n_state, domain, locale, 'n_', keys + [count])
|
24
24
|
return result if result
|
25
25
|
_promise_send_i18n_method(domain, locale, 'n_', keys + [count])
|
26
|
-
block_given? ? block.call :
|
26
|
+
block_given? ? block.call : ''
|
27
27
|
end
|
28
28
|
|
29
29
|
def np_(context, plural_one, *args, separator: nil, &block)
|
@@ -50,7 +50,7 @@ module LucidTranslation
|
|
50
50
|
result = Redux.fetch_by_path(:i18n_state, domain, locale, 'p_', args)
|
51
51
|
return result if result
|
52
52
|
_promise_send_i18n_method(domain, locale, 'p_', args)
|
53
|
-
block_given? ? block.call :
|
53
|
+
block_given? ? block.call : ''
|
54
54
|
end
|
55
55
|
|
56
56
|
def s_(key, separator = nil, &block)
|
@@ -60,7 +60,7 @@ module LucidTranslation
|
|
60
60
|
result = Redux.fetch_by_path(:i18n_state, domain, locale, 's_', args)
|
61
61
|
return result if result
|
62
62
|
_promise_send_i18n_method(domain, locale, 's_', args)
|
63
|
-
block_given? ? block.call :
|
63
|
+
block_given? ? block.call : ''
|
64
64
|
end
|
65
65
|
|
66
66
|
def N_(translate)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 10.6.
|
117
|
+
version: 10.6.30
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 10.6.
|
124
|
+
version: 10.6.30
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: isomorfeus-redux
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,42 +142,42 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 2.0.
|
145
|
+
version: 2.0.20
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 2.0.
|
152
|
+
version: 2.0.20
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: isomorfeus-data
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.0.
|
159
|
+
version: 2.0.20
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 2.0.
|
166
|
+
version: 2.0.20
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: isomorfeus
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - '='
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 2.0.
|
173
|
+
version: 2.0.20
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 2.0.
|
180
|
+
version: 2.0.20
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: rake
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|