stripe-i18n 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -1
- data/lib/stripe_i18n/version.rb +1 -1
- data/rails/locale/fr.yml +2 -2
- data/rails/locale/ru.yml +15 -0
- data/stripe-i18n.gemspec +3 -2
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a958460707d7cc6df426067968665f2a7bae2576
|
4
|
+
data.tar.gz: d0a9fcf343c81f643fac4de58f896a3abaeae023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0036e6292c70469187b438ef4ab58fa95f715df7438a0a0c639434cfa759af74b87a535b929e9a56007ef7e31bb02c18cd52948baf03e0d6b787dfe3a92e4216
|
7
|
+
data.tar.gz: 11d2417553f99b01cee9c5592213ea2d0db711fd9c583017ae53b400c13129201f6650c4cbc58b05acea383e9805368f14337e452f718a15ad065a9838bde803
|
data/README.md
CHANGED
@@ -8,7 +8,14 @@ The gem adds a collection of translated error strings for `Stripe::CardError`.
|
|
8
8
|
|
9
9
|
**Supported Locales:**
|
10
10
|
|
11
|
-
1. en
|
11
|
+
1. en (English - US)
|
12
|
+
1. es (Spanish)
|
13
|
+
1. de (German)
|
14
|
+
1. fr (French)
|
15
|
+
1. it (Italian)
|
16
|
+
1. nl (Dutch)
|
17
|
+
1. pt-BR (Portuguese - Brazil)
|
18
|
+
1. ru (Russian)
|
12
19
|
|
13
20
|
## Installation
|
14
21
|
|
data/lib/stripe_i18n/version.rb
CHANGED
data/rails/locale/fr.yml
CHANGED
@@ -10,6 +10,6 @@ fr:
|
|
10
10
|
incorrect_cvc: "Le code de sécurité de la carte est incorrect."
|
11
11
|
incorrect_zip: "La validation du code postal de la carte a échoué."
|
12
12
|
card_declined: "La carte a été refusée."
|
13
|
-
missing: "
|
13
|
+
missing: "Aucun client associé à cette carte"
|
14
14
|
processing_error: "Une erreur est survenue lors du contrôle de la carte."
|
15
|
-
rate_limit: "Une erreur est survenue en raison
|
15
|
+
rate_limit: "Une erreur est survenue en raison d'un trop grand nombre de requêtes vers le serveur. Veuillez nous contacter si vous rencontrez cette erreur systématiquement."
|
data/rails/locale/ru.yml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
ru:
|
2
|
+
stripe:
|
3
|
+
errors:
|
4
|
+
incorrect_number: "Неверный номер карты."
|
5
|
+
invalid_number: "Недействительный номер карты."
|
6
|
+
invalid_expiry_month: "Неверный месяц истечения срока действия карты."
|
7
|
+
invalid_expiry_year: "Неверный год истечения срока действия карты."
|
8
|
+
invalid_cvc: "Неверный код карты."
|
9
|
+
expired_card: "Истёк срок действия карты."
|
10
|
+
incorrect_cvc: "Недействительный код карты."
|
11
|
+
incorrect_zip: "ZIP-код карты не прошёл проверку."
|
12
|
+
card_declined: "Карта была отклонена."
|
13
|
+
missing: "Нет такой карты у клиента который производит оплату."
|
14
|
+
processing_error: "Во время обработки карты произошла ошибка."
|
15
|
+
rate_limit: "Произошла ошибка из-за слишком большого количества запросов API. Пожалуйста, сообщите нам, если вы часто сталкиваетесь с этой ошибкой."
|
data/stripe-i18n.gemspec
CHANGED
@@ -6,9 +6,10 @@ require 'stripe_i18n/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "stripe-i18n"
|
8
8
|
spec.version = StripeI18n::VERSION
|
9
|
-
spec.authors = ["Eric Koslow"]
|
10
|
-
spec.email = ["ekoslow@gmail.com"]
|
9
|
+
spec.authors = ["Eric Koslow", "Spencer Bell"]
|
10
|
+
spec.email = ["ekoslow@gmail.com", "spencer@teespring.com"]
|
11
11
|
spec.summary = %q{Ruby i18n translations for Stripe error messages.}
|
12
|
+
spec.description = %q{Currently supports German (de), French (fr), Italian (it), Dutch (nl), Spanish (es), and Brazilian Portuguese (pt-BR)}
|
12
13
|
spec.homepage = ""
|
13
14
|
spec.license = "MIT"
|
14
15
|
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Koslow
|
8
|
+
- Spencer Bell
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-
|
12
|
+
date: 2015-10-02 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: i18n
|
@@ -108,9 +109,11 @@ dependencies:
|
|
108
109
|
- - ~>
|
109
110
|
- !ruby/object:Gem::Version
|
110
111
|
version: '10.0'
|
111
|
-
description:
|
112
|
+
description: Currently supports German (de), French (fr), Italian (it), Dutch (nl),
|
113
|
+
Spanish (es), and Brazilian Portuguese (pt-BR)
|
112
114
|
email:
|
113
115
|
- ekoslow@gmail.com
|
116
|
+
- spencer@teespring.com
|
114
117
|
executables: []
|
115
118
|
extensions: []
|
116
119
|
extra_rdoc_files: []
|
@@ -132,6 +135,7 @@ files:
|
|
132
135
|
- rails/locale/it.yml
|
133
136
|
- rails/locale/nl.yml
|
134
137
|
- rails/locale/pt-BR.yml
|
138
|
+
- rails/locale/ru.yml
|
135
139
|
- spec/integration/translation_spec.rb
|
136
140
|
- spec/spec_helper.rb
|
137
141
|
- spec/support/fake_app.rb
|
@@ -157,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
157
161
|
version: '0'
|
158
162
|
requirements: []
|
159
163
|
rubyforge_project:
|
160
|
-
rubygems_version: 2.
|
164
|
+
rubygems_version: 2.0.14
|
161
165
|
signing_key:
|
162
166
|
specification_version: 4
|
163
167
|
summary: Ruby i18n translations for Stripe error messages.
|