spree_i18n 5.3.1 → 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 +38 -36
  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 +1728 -8
  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 +1659 -114
  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 +1561 -80
  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 +2069 -265
  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 +40 -44
  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: 431138c2d4cabbb16fedb7b26e8b487c31539324b82bdabd8ca861a11fbf0ac6
4
- data.tar.gz: 92a619ea877b1390ca56eabe10b16755051ddd46adc1d7794c57437df91b7683
3
+ metadata.gz: edb5c622116e9de8e5cfaf5c1239aa77ef0d096478f567315521ff52c5430666
4
+ data.tar.gz: 8eaf985b24d4877a9241a6615250cdaff6096d91cfc4ef179bfacb31ef74cef1
5
5
  SHA512:
6
- metadata.gz: 49bb5e7f92dcb4f969c1fb93bc76dc1d80abf4288cc7d829be7de6dafc34abec2f91317669fe22069b5bb549be5645e2a935c05a95ee9b99d9dc96f1940c1430
7
- data.tar.gz: b7a7b95c7cdc3c82d82f1cc56ec7741c3d0e8a7bb4cd2cbc0ed86d8d20f79ff65f55d9b1235b9ca954008b6421c3c74e80937b08fbbc9a747cae891dfdba37b7
6
+ metadata.gz: 0bbf667daf0df599bc5e5ce237bc7585035bdb40aed79eb9a0bd495a298d7f664ce2302cd1ef900e62edcf1739320cf1431ab4178e7a282952f05b22b4d5d155
7
+ data.tar.gz: 2320b8cdbe8b973f6645986a88bbb5bd0b4363a8e43d0a25ec822ca4f4d54c39451ed15156886efc386344f6908b90d6650b4d99f79e6fa45e3966bad16bd808
data/README.md CHANGED
@@ -1,76 +1,78 @@
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
- This is the Internationalization project for [Spree Commerce][1] See the [official Internationalization documentation][2] for more details.
5
+ This is the Internationalization project for [Spree Commerce][1]
6
+
7
+ See the [official Internationalization documentation][2] for more details.
7
8
 
8
9
  Happy translating!
9
10
 
10
11
  ## Maintained by
11
12
 
12
- [![Vendo](https://assets-global.website-files.com/6230c485f2c32ea1b0daa438/623372f40a8c54ca9aea34e8_vendo%202.svg)](https://getvendo.com?utm_source=spree_i18n_github)
13
+ Spree is developed and maintained by
14
+
15
+ <a href="https://getvendo.com">
16
+ <img alt="Vendo" src="https://avatars.githubusercontent.com/u/89416582?s=96&v=4" />
17
+ </a>
13
18
 
14
- > All-in-one platform for all your Marketplace and B2B eCommerce needs. [Start your 30-day free trial](https://e98esoirr8c.typeform.com/contactvendo?typeform-source=spree_i18n_github)
19
+ > Vendo is the commercial entity behind Spree Commerce and in particular the latest, unprecedented investment into Spree 5 and following versions as well as its integrations. We've been the Spree core team since 2016 and led numerous Spree projects while supporting the community. Learn more at: https://www.getvendo.com/
15
20
 
16
21
  ## Installation
17
22
 
18
23
  1. Add this extension to your Gemfile with this line:
19
24
 
20
25
  ```ruby
21
- gem 'spree_i18n'
26
+ bundle add spree_i18n
22
27
  ```
23
28
 
24
- 2. Install the gem using Bundler:
25
- ```ruby
26
- bundle install
27
- ```
29
+ 2. Run the install generator
28
30
 
29
- 3. Copy & run migrations
30
31
  ```ruby
31
32
  bundle exec rails g spree_i18n:install
32
33
  ```
33
34
 
34
- 4. Restart your server
35
+ 3. Restart your server
35
36
 
36
37
  If your server was running, restart it so that it can find the assets properly.
37
38
 
38
- ## Upgrading to 5.0 (only Spree 4.2+)
39
+ ## Developing
39
40
 
40
- ### 1. Remove Asset references
41
+ 1. Create a dummy app
41
42
 
42
- From `vendor/assets/javascripts/spree/backend/all.js`
43
- ```
44
- //= require spree/backend/spree_i18n
45
- ```
43
+ ```bash
44
+ bundle update
45
+ bundle exec rake test_app
46
+ ```
46
47
 
47
- and from `vendor/assets/javascripts/spree/frontend/all.js`
48
- ```
49
- //= require spree/frontend/spree_i18n
50
- ```
48
+ 2. Add your new code
49
+ 3. Run tests
51
50
 
52
- and from `vendor/assets/stylesheets/spree/backend/all.css`
53
- ```
54
- *= require spree/backend/spree_i18n
55
- ```
51
+ ```bash
52
+ bundle exec rspec
53
+ ```
56
54
 
57
- and from `vendor/assets/stylesheets/spree/frontend/all.css`
58
- ```
59
- *= 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
60
60
  ```
61
61
 
62
- ---
62
+ For more options please see [gem-release README](https://github.com/svenfuchs/gem-release)
63
63
 
64
64
  ## Contributing
65
65
 
66
- [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.
67
69
 
68
70
  ---
69
71
 
70
- 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]
71
73
 
72
74
  [1]: https://spreecommerce.org
73
- [2]: https://dev-docs.spreecommerce.org/customization/i18n
74
- [5]: https://github.com/spree-contrib/spree_i18n/graphs/contributors
75
- [6]: https://github.com/spree-contrib/spree_i18n/blob/master/LICENSE.md
76
- [7]: https://github.com/spree-contrib/spree_i18n/blob/master/CONTRIBUTING.md
75
+ [2]: https://spreecommerce.org/docs/developer/core-concepts/i18n#internationalization
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