translation 1.36 → 1.37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e636552d35e488800b2e69f3555d818ae351f8adead0c682f17d424efaa8ff3f
4
- data.tar.gz: fbb85ef559098ed37d7571d31ba31f34f69a2eacf162d4da9ffc33e35d426313
3
+ metadata.gz: 1aa63e584ea2e2064a46f87fdba20f387135bb3379c7ab85eaf6383a312cca59
4
+ data.tar.gz: d77f0d69b67ab0e112a7f27da673199fe091df0230643893356b38a67653145b
5
5
  SHA512:
6
- metadata.gz: cf5c428012f2d4a615a01dc004c3079a9e675b95f1754598053422861e2fb354ec5fd9e8aaf7790c8dae9f8c1a560c6bddb06c9f75d04a062fbca9d6104462ad
7
- data.tar.gz: 30d1f01243637205bae1e7a6bf26180b929028f046a240f4325e55af2a3736a1da663a9c376c0d27afc6eb067a70df24496494b2f27b2eb2c618811fce46f5df
6
+ metadata.gz: 483b2b4f922ed667b465d2a6ac551f0df46188c52859c2dc93951c2ea7f595af79055161e09ca88260bf23849514e0282257a02834455d768e264dcd6b39a5a3
7
+ data.tar.gz: 9b0fe16f145640b20add0c2476e01f335be0692c31b53041b4768c366c45ec80dd0be7fa13354895335afc5073ec95a457b193f86827a45f792ccbcb55395df6
data/README.md CHANGED
@@ -144,7 +144,7 @@ end
144
144
  4. Initialize your project and push existing translations to Translation.io with:
145
145
 
146
146
  ~~~bash
147
- $ bundle exec rake translation:init
147
+ bundle exec rake translation:init
148
148
  ~~~
149
149
 
150
150
  If you need to add or remove languages in the future, please read our
@@ -157,7 +157,7 @@ If you need to add or remove languages in the future, please read our
157
157
  To send new translatable keys/strings and get new translations from Translation.io, simply run:
158
158
 
159
159
  ~~~bash
160
- $ bundle exec rake translation:sync
160
+ bundle exec rake translation:sync
161
161
  ~~~
162
162
 
163
163
  ### Sync and Show Purgeable
@@ -165,7 +165,7 @@ $ bundle exec rake translation:sync
165
165
  If you need to find out what are the unused keys/strings from Translation.io, using the current branch as reference:
166
166
 
167
167
  ~~~bash
168
- $ bundle exec rake translation:sync_and_show_purgeable
168
+ bundle exec rake translation:sync_and_show_purgeable
169
169
  ~~~
170
170
 
171
171
  As the name says, this operation will also perform a sync at the same time.
@@ -175,7 +175,7 @@ As the name says, this operation will also perform a sync at the same time.
175
175
  If you need to remove unused keys/strings from Translation.io, using the current branch as reference:
176
176
 
177
177
  ~~~bash
178
- $ bundle exec rake translation:sync_and_purge
178
+ bundle exec rake translation:sync_and_purge
179
179
  ~~~
180
180
 
181
181
  As the name says, this operation will also perform a sync at the same time.
@@ -368,7 +368,7 @@ a queue but it returns an error under heavy load), we implemented this
368
368
  threadsafe readonly task:
369
369
 
370
370
  ~~~bash
371
- $ bundle exec rake translation:sync_readonly
371
+ bundle exec rake translation:sync_readonly
372
372
  ~~~
373
373
 
374
374
  This task will prevent your CI from failing and still provide new translations. But
@@ -442,7 +442,7 @@ with percent signs or spaces) that he might break.
442
442
  We think localization is part of the configuration of the app and it should not reach the translator UI at all.
443
443
  That's why these localization keys are detected and separated on a dedicated YAML file with Translation.io.
444
444
 
445
- We automatically treat [known localization keys](lib/translation_io/yaml_entry.rb), but if you would like
445
+ We automatically treat [known localization keys](https://github.com/translation/rails/blob/master/lib/translation_io/yaml_entry.rb), but if you would like
446
446
  to add some more, use the `localization_key_prefixes` option.
447
447
 
448
448
  For example:
@@ -587,7 +587,7 @@ This gem was created specifically for Rails, but you can also use it in a pure R
587
587
  To run the specs:
588
588
 
589
589
  ~~~bash
590
- $ bundle exec rspec
590
+ bundle exec rspec
591
591
  ~~~
592
592
 
593
593
  ## Contributing
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: translation
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.36'
4
+ version: '1.37'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hoste
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-03 00:00:00.000000000 Z
12
+ date: 2023-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gettext
@@ -23,7 +23,7 @@ dependencies:
23
23
  version: 3.2.5
24
24
  - - "<="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.3
26
+ version: 3.4.4
27
27
  type: :runtime
28
28
  prerelease: false
29
29
  version_requirements: !ruby/object:Gem::Requirement
@@ -36,7 +36,7 @@ dependencies:
36
36
  version: 3.2.5
37
37
  - - "<="
38
38
  - !ruby/object:Gem::Version
39
- version: 3.4.3
39
+ version: 3.4.4
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rake
42
42
  requirement: !ruby/object:Gem::Requirement