spree_i18n 5.3.2 → 5.3.3
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/README.md +28 -32
- data/Rakefile +11 -16
- data/config/locales/ar.yml +2041 -294
- data/config/locales/be.yml +1769 -79
- data/config/locales/bg.yml +1705 -46
- data/config/locales/ca.yml +1727 -3
- data/config/locales/cs.yml +1785 -48
- data/config/locales/da.yml +1722 -9
- data/config/locales/de-CH.yml +1773 -3
- data/config/locales/de.yml +1490 -58
- data/config/locales/el.yml +1645 -12
- data/config/locales/en-AU.yml +1726 -2
- data/config/locales/en-GB.yml +1725 -5
- data/config/locales/en-IN.yml +1725 -3
- data/config/locales/en-NZ.yml +1726 -2
- data/config/locales/es-CL.yml +1713 -54
- data/config/locales/es-EC.yml +1728 -8
- data/config/locales/es-MX.yml +1732 -9
- data/config/locales/es.yml +1563 -147
- data/config/locales/et.yml +1747 -5
- data/config/locales/fa.yml +2013 -89
- data/config/locales/fi.yml +1708 -3
- data/config/locales/fr.yml +1515 -93
- data/config/locales/hu.yml +1726 -5
- data/config/locales/id.yml +1731 -6
- data/config/locales/it.yml +1768 -66
- data/config/locales/ja.yml +2399 -661
- data/config/locales/km.yml +1774 -68
- data/config/locales/ko.yml +2071 -288
- data/config/locales/ku.yml +1725 -5
- data/config/locales/lt.yml +1641 -12
- data/config/locales/lv.yml +1744 -16
- data/config/locales/nb.yml +1561 -99
- data/config/locales/ne.yml +1729 -7
- data/config/locales/nl.yml +1728 -24
- data/config/locales/pl.yml +1560 -79
- data/config/locales/pt-BR.yml +1634 -63
- data/config/locales/pt.yml +1787 -4
- data/config/locales/ro.yml +1755 -32
- data/config/locales/ru.yml +2799 -1112
- data/config/locales/sk.yml +2002 -269
- data/config/locales/sl-SI.yml +1778 -8
- data/config/locales/sv.yml +1576 -120
- data/config/locales/th.yml +2473 -745
- data/config/locales/tr.yml +1922 -134
- data/config/locales/uk.yml +1538 -195
- data/config/locales/vi.yml +1875 -136
- data/config/locales/zh-CN.yml +2631 -928
- data/config/locales/zh-TW.yml +1600 -110
- data/lib/spree_i18n/version.rb +3 -9
- metadata +39 -40
- data/.github/dependabot.yml +0 -7
- data/.gitignore +0 -22
- data/.rspec +0 -3
- data/.rubocop.yml +0 -7
- data/.travis.yml +0 -44
- data/Appraisals +0 -9
- data/CONTRIBUTING.md +0 -81
- data/Gemfile +0 -6
- data/bin/rails +0 -7
- data/gemfiles/spree_4_2.gemfile +0 -8
- data/gemfiles/spree_master.gemfile +0 -8
- data/spec/features/russian_errors_translation_spec.rb +0 -16
- data/spec/features/translation_spec.rb +0 -46
- data/spec/spec_helper.rb +0 -10
- data/spec/support/i18n.rb +0 -5
- data/spree_i18n.gemspec +0 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: edb5c622116e9de8e5cfaf5c1239aa77ef0d096478f567315521ff52c5430666
|
|
4
|
+
data.tar.gz: 8eaf985b24d4877a9241a6615250cdaff6096d91cfc4ef179bfacb31ef74cef1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0bbf667daf0df599bc5e5ce237bc7585035bdb40aed79eb9a0bd495a298d7f664ce2302cd1ef900e62edcf1739320cf1431ab4178e7a282952f05b22b4d5d155
|
|
7
|
+
data.tar.gz: 2320b8cdbe8b973f6645986a88bbb5bd0b4363a8e43d0a25ec822ca4f4d54c39451ed15156886efc386344f6908b90d6650b4d99f79e6fa45e3966bad16bd808
|
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# Spree Internationalization
|
|
2
2
|
|
|
3
|
-
[](https://codeclimate.com/github/spree-contrib/spree_i18n)
|
|
3
|
+
[](https://github.com/spree/spree_i18n/actions/workflows/ci.yml)
|
|
5
4
|
|
|
6
5
|
This is the Internationalization project for [Spree Commerce][1]
|
|
7
6
|
|
|
@@ -24,59 +23,56 @@ Spree is developed and maintained by
|
|
|
24
23
|
1. Add this extension to your Gemfile with this line:
|
|
25
24
|
|
|
26
25
|
```ruby
|
|
27
|
-
|
|
26
|
+
bundle add spree_i18n
|
|
28
27
|
```
|
|
29
28
|
|
|
30
|
-
2.
|
|
31
|
-
```ruby
|
|
32
|
-
bundle install
|
|
33
|
-
```
|
|
29
|
+
2. Run the install generator
|
|
34
30
|
|
|
35
|
-
3. Copy & run migrations
|
|
36
31
|
```ruby
|
|
37
32
|
bundle exec rails g spree_i18n:install
|
|
38
33
|
```
|
|
39
34
|
|
|
40
|
-
|
|
35
|
+
3. Restart your server
|
|
41
36
|
|
|
42
37
|
If your server was running, restart it so that it can find the assets properly.
|
|
43
38
|
|
|
44
|
-
##
|
|
39
|
+
## Developing
|
|
45
40
|
|
|
46
|
-
|
|
41
|
+
1. Create a dummy app
|
|
47
42
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
```
|
|
43
|
+
```bash
|
|
44
|
+
bundle update
|
|
45
|
+
bundle exec rake test_app
|
|
46
|
+
```
|
|
52
47
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
//= require spree/frontend/spree_i18n
|
|
56
|
-
```
|
|
48
|
+
2. Add your new code
|
|
49
|
+
3. Run tests
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
```
|
|
51
|
+
```bash
|
|
52
|
+
bundle exec rspec
|
|
53
|
+
```
|
|
62
54
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
55
|
+
## Releasing a new version
|
|
56
|
+
|
|
57
|
+
```shell
|
|
58
|
+
bundle exec gem bump -p -t
|
|
59
|
+
bundle exec gem release
|
|
66
60
|
```
|
|
67
61
|
|
|
68
|
-
|
|
62
|
+
For more options please see [gem-release README](https://github.com/svenfuchs/gem-release)
|
|
69
63
|
|
|
70
64
|
## Contributing
|
|
71
65
|
|
|
72
|
-
|
|
66
|
+
If you'd like to contribute, please take a look at the
|
|
67
|
+
[instructions](CONTRIBUTING.md) for installing dependencies and crafting a good
|
|
68
|
+
pull request.
|
|
73
69
|
|
|
74
70
|
---
|
|
75
71
|
|
|
76
|
-
Copyright (c) 2010-
|
|
72
|
+
Copyright (c) 2010-2026 [Spree Commerce Inc.][1] and other [contributors][5], released under the [New BSD License][6]
|
|
77
73
|
|
|
78
74
|
[1]: https://spreecommerce.org
|
|
79
75
|
[2]: https://spreecommerce.org/docs/developer/core-concepts/i18n#internationalization
|
|
80
|
-
[5]: https://github.com/spree
|
|
81
|
-
[6]: https://github.com/spree
|
|
82
|
-
[7]: https://github.com/spree
|
|
76
|
+
[5]: https://github.com/spree/spree_i18n/graphs/contributors
|
|
77
|
+
[6]: https://github.com/spree/spree_i18n/blob/main/LICENSE.md
|
|
78
|
+
[7]: https://github.com/spree/spree_i18n/blob/main/CONTRIBUTING.md
|
data/Rakefile
CHANGED
|
@@ -1,28 +1,23 @@
|
|
|
1
|
-
require '
|
|
2
|
-
require 'bundler/setup'
|
|
3
|
-
require 'rake'
|
|
4
|
-
require 'rake/testtask'
|
|
5
|
-
require 'rake/packagetask'
|
|
6
|
-
require 'rubygems/package_task'
|
|
7
|
-
require 'rspec/core/rake_task'
|
|
8
|
-
require 'spree/testing_support/common_rake'
|
|
9
|
-
require 'spree_i18n'
|
|
10
|
-
|
|
1
|
+
require 'bundler'
|
|
11
2
|
Bundler::GemHelper.install_tasks
|
|
12
|
-
RSpec::Core::RakeTask.new
|
|
13
3
|
|
|
14
|
-
|
|
4
|
+
require 'rspec/core/rake_task'
|
|
5
|
+
require 'spree/testing_support/extension_rake'
|
|
15
6
|
|
|
16
|
-
|
|
7
|
+
RSpec::Core::RakeTask.new
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
task :default do
|
|
10
|
+
if Dir['spec/dummy'].empty?
|
|
11
|
+
Rake::Task[:test_app].invoke
|
|
12
|
+
Dir.chdir('../../')
|
|
13
|
+
end
|
|
14
|
+
Rake::Task[:spec].invoke
|
|
20
15
|
end
|
|
21
16
|
|
|
22
17
|
desc 'Generates a dummy app for testing'
|
|
23
18
|
task :test_app do
|
|
24
19
|
ENV['LIB_NAME'] = 'spree_i18n'
|
|
25
|
-
Rake::Task['
|
|
20
|
+
Rake::Task['extension:test_app'].execute
|
|
26
21
|
end
|
|
27
22
|
|
|
28
23
|
namespace :spree_i18n do
|