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.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -32
  3. data/Rakefile +11 -16
  4. data/config/locales/ar.yml +2041 -294
  5. data/config/locales/be.yml +1769 -79
  6. data/config/locales/bg.yml +1705 -46
  7. data/config/locales/ca.yml +1727 -3
  8. data/config/locales/cs.yml +1785 -48
  9. data/config/locales/da.yml +1722 -9
  10. data/config/locales/de-CH.yml +1773 -3
  11. data/config/locales/de.yml +1490 -58
  12. data/config/locales/el.yml +1645 -12
  13. data/config/locales/en-AU.yml +1726 -2
  14. data/config/locales/en-GB.yml +1725 -5
  15. data/config/locales/en-IN.yml +1725 -3
  16. data/config/locales/en-NZ.yml +1726 -2
  17. data/config/locales/es-CL.yml +1713 -54
  18. data/config/locales/es-EC.yml +1728 -8
  19. data/config/locales/es-MX.yml +1732 -9
  20. data/config/locales/es.yml +1563 -147
  21. data/config/locales/et.yml +1747 -5
  22. data/config/locales/fa.yml +2013 -89
  23. data/config/locales/fi.yml +1708 -3
  24. data/config/locales/fr.yml +1515 -93
  25. data/config/locales/hu.yml +1726 -5
  26. data/config/locales/id.yml +1731 -6
  27. data/config/locales/it.yml +1768 -66
  28. data/config/locales/ja.yml +2399 -661
  29. data/config/locales/km.yml +1774 -68
  30. data/config/locales/ko.yml +2071 -288
  31. data/config/locales/ku.yml +1725 -5
  32. data/config/locales/lt.yml +1641 -12
  33. data/config/locales/lv.yml +1744 -16
  34. data/config/locales/nb.yml +1561 -99
  35. data/config/locales/ne.yml +1729 -7
  36. data/config/locales/nl.yml +1728 -24
  37. data/config/locales/pl.yml +1560 -79
  38. data/config/locales/pt-BR.yml +1634 -63
  39. data/config/locales/pt.yml +1787 -4
  40. data/config/locales/ro.yml +1755 -32
  41. data/config/locales/ru.yml +2799 -1112
  42. data/config/locales/sk.yml +2002 -269
  43. data/config/locales/sl-SI.yml +1778 -8
  44. data/config/locales/sv.yml +1576 -120
  45. data/config/locales/th.yml +2473 -745
  46. data/config/locales/tr.yml +1922 -134
  47. data/config/locales/uk.yml +1538 -195
  48. data/config/locales/vi.yml +1875 -136
  49. data/config/locales/zh-CN.yml +2631 -928
  50. data/config/locales/zh-TW.yml +1600 -110
  51. data/lib/spree_i18n/version.rb +3 -9
  52. metadata +39 -40
  53. data/.github/dependabot.yml +0 -7
  54. data/.gitignore +0 -22
  55. data/.rspec +0 -3
  56. data/.rubocop.yml +0 -7
  57. data/.travis.yml +0 -44
  58. data/Appraisals +0 -9
  59. data/CONTRIBUTING.md +0 -81
  60. data/Gemfile +0 -6
  61. data/bin/rails +0 -7
  62. data/gemfiles/spree_4_2.gemfile +0 -8
  63. data/gemfiles/spree_master.gemfile +0 -8
  64. data/spec/features/russian_errors_translation_spec.rb +0 -16
  65. data/spec/features/translation_spec.rb +0 -46
  66. data/spec/spec_helper.rb +0 -10
  67. data/spec/support/i18n.rb +0 -5
  68. data/spree_i18n.gemspec +0 -31
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 205aa471688bc1da8bababe9721a83cc9814a4cf1daf41621f0e28af4dc94f69
4
- data.tar.gz: 9cf866c38058f3eb3f1ca335e60fa7f0860daf8a32be2d30cfee1afb864e1b23
3
+ metadata.gz: edb5c622116e9de8e5cfaf5c1239aa77ef0d096478f567315521ff52c5430666
4
+ data.tar.gz: 8eaf985b24d4877a9241a6615250cdaff6096d91cfc4ef179bfacb31ef74cef1
5
5
  SHA512:
6
- metadata.gz: a7f796eb44e8ffdb99f38c5e07a2c885c9bd5628ca85a583940016803406875a34891b4eb282dd8d1403c20f8828e67226a4d47c187cfaea526610fd4274e16a
7
- data.tar.gz: 574babb5b5cdcc666d0b14c1991504bbdb19c3b940885356c8a2e12637e7052ddd80e9edaa5bdbc5a860901c80b17852bbd4a434ae0e424fe5187e25e8f5c974
6
+ metadata.gz: 0bbf667daf0df599bc5e5ce237bc7585035bdb40aed79eb9a0bd495a298d7f664ce2302cd1ef900e62edcf1739320cf1431ab4178e7a282952f05b22b4d5d155
7
+ data.tar.gz: 2320b8cdbe8b973f6645986a88bbb5bd0b4363a8e43d0a25ec822ca4f4d54c39451ed15156886efc386344f6908b90d6650b4d99f79e6fa45e3966bad16bd808
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Spree Internationalization
2
2
 
3
- [![Build Status](https://travis-ci.org/spree-contrib/spree_i18n.svg?branch=master)](https://travis-ci.org/spree-contrib/spree_i18n)
4
- [![Code Climate](https://codeclimate.com/github/spree-contrib/spree_i18n/badges/gpa.svg)](https://codeclimate.com/github/spree-contrib/spree_i18n)
3
+ [![CI](https://github.com/spree/spree_i18n/actions/workflows/ci.yml/badge.svg)](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
- gem 'spree_i18n'
26
+ bundle add spree_i18n
28
27
  ```
29
28
 
30
- 2. Install the gem using Bundler:
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
- 4. Restart your server
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
- ## Upgrading to 5.0 (only Spree 4.2+)
39
+ ## Developing
45
40
 
46
- ### 1. Remove Asset references
41
+ 1. Create a dummy app
47
42
 
48
- From `vendor/assets/javascripts/spree/backend/all.js`
49
- ```
50
- //= require spree/backend/spree_i18n
51
- ```
43
+ ```bash
44
+ bundle update
45
+ bundle exec rake test_app
46
+ ```
52
47
 
53
- and from `vendor/assets/javascripts/spree/frontend/all.js`
54
- ```
55
- //= require spree/frontend/spree_i18n
56
- ```
48
+ 2. Add your new code
49
+ 3. Run tests
57
50
 
58
- and from `vendor/assets/stylesheets/spree/backend/all.css`
59
- ```
60
- *= require spree/backend/spree_i18n
61
- ```
51
+ ```bash
52
+ bundle exec rspec
53
+ ```
62
54
 
63
- and from `vendor/assets/stylesheets/spree/frontend/all.css`
64
- ```
65
- *= require spree/backend/spree_i18n
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
- [See corresponding guidelines][7]
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-2015 [Spree Commerce Inc.][1] and other [contributors][5]. released under the [New BSD License][6]
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-contrib/spree_i18n/graphs/contributors
81
- [6]: https://github.com/spree-contrib/spree_i18n/blob/master/LICENSE.md
82
- [7]: https://github.com/spree-contrib/spree_i18n/blob/master/CONTRIBUTING.md
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 'rubygems'
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
- task default: :spec
4
+ require 'rspec/core/rake_task'
5
+ require 'spree/testing_support/extension_rake'
15
6
 
16
- spec = eval(File.read('spree_i18n.gemspec'))
7
+ RSpec::Core::RakeTask.new
17
8
 
18
- Gem::PackageTask.new(spec) do |p|
19
- p.gem_spec = spec
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['common:test_app'].invoke
20
+ Rake::Task['extension:test_app'].execute
26
21
  end
27
22
 
28
23
  namespace :spree_i18n do