solidus_i18n 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/.hound.yml +1 -1
  3. data/.travis.yml +10 -5
  4. data/Gemfile +3 -1
  5. data/app/assets/javascripts/spree/backend/edit_inline_locales.js.coffee.erb +56 -0
  6. data/app/assets/javascripts/spree/backend/helpers.js.coffee.erb +14 -0
  7. data/app/assets/javascripts/spree/backend/inline_table_locales.js.coffee +16 -0
  8. data/app/assets/javascripts/spree/backend/templates/available_locales.hbs.erb +31 -0
  9. data/app/assets/javascripts/spree/backend/translations.js.coffee +0 -2
  10. data/app/controllers/spree/api/available_locales_controller.rb +28 -0
  11. data/app/controllers/spree/locale_controller_decorator.rb +3 -4
  12. data/app/helpers/solidus_i18n/locale_helper.rb +8 -10
  13. data/app/models/spree/store_decorator.rb +13 -0
  14. data/app/overrides/spree/shared/_main_nav_bar/locale_selector.html.erb.deface +1 -1
  15. data/app/views/spree/admin/locales/show.html.erb +18 -24
  16. data/app/views/spree/api/available_locales/show.json.jbuilder +8 -0
  17. data/config/locales/bg.yml +0 -46
  18. data/config/locales/ca.yml +12 -45
  19. data/config/locales/cs.yml +0 -47
  20. data/config/locales/da.yml +0 -46
  21. data/config/locales/de-CH.yml +0 -44
  22. data/config/locales/de.yml +6 -48
  23. data/config/locales/en-AU.yml +0 -44
  24. data/config/locales/en-GB.yml +0 -46
  25. data/config/locales/en-IN.yml +1 -47
  26. data/config/locales/en-NZ.yml +0 -44
  27. data/config/locales/es-CL.yml +0 -48
  28. data/config/locales/es-EC.yml +0 -46
  29. data/config/locales/es-MX.yml +8 -49
  30. data/config/locales/es.yml +13 -59
  31. data/config/locales/et.yml +0 -46
  32. data/config/locales/fa.yml +0 -44
  33. data/config/locales/fi.yml +0 -46
  34. data/config/locales/fr.yml +656 -55
  35. data/config/locales/id.yml +1 -45
  36. data/config/locales/it.yml +0 -46
  37. data/config/locales/ja.yml +6 -52
  38. data/config/locales/ko.yml +0 -44
  39. data/config/locales/lv.yml +0 -44
  40. data/config/locales/nb.yml +0 -44
  41. data/config/locales/nl.yml +0 -46
  42. data/config/locales/pl.yml +0 -46
  43. data/config/locales/pt-BR.yml +1059 -237
  44. data/config/locales/pt.yml +0 -44
  45. data/config/locales/ro.yml +0 -46
  46. data/config/locales/ru.yml +0 -47
  47. data/config/locales/sk.yml +0 -44
  48. data/config/locales/sl-SI.yml +0 -44
  49. data/config/locales/sv.yml +0 -46
  50. data/config/locales/th.yml +0 -44
  51. data/config/locales/tr.yml +0 -44
  52. data/config/locales/uk.yml +0 -48
  53. data/config/locales/vi.yml +0 -44
  54. data/config/locales/zh-CN.yml +0 -44
  55. data/config/locales/zh-TW.yml +0 -44
  56. data/config/routes.rb +6 -0
  57. data/db/migrate/20170523151209_add_available_locales_on_store.rb +14 -0
  58. data/lib/solidus_i18n/controller_locale_helper.rb +1 -1
  59. data/lib/solidus_i18n/engine.rb +0 -1
  60. data/lib/solidus_i18n/locale.rb +3 -7
  61. data/lib/solidus_i18n/version.rb +1 -1
  62. data/solidus_i18n.gemspec +4 -3
  63. data/spec/controllers/locales_controller_spec.rb +2 -1
  64. data/spec/features/admin/translations_spec.rb +30 -8
  65. data/spec/features/translations_spec.rb +3 -1
  66. data/spec/helpers/locale_helper_spec.rb +35 -0
  67. data/spec/lib/solidus_i18n/locale_spec.rb +53 -0
  68. data/spec/support/capybara.rb +2 -7
  69. metadata +35 -9
@@ -119,7 +119,7 @@ id:
119
119
  spree/store:
120
120
  mail_from_address:
121
121
  meta_description:
122
- meta_keywords:
122
+ meta_keywords:
123
123
  name: Nama
124
124
  seo_title: Judul SEO
125
125
  url:
@@ -281,50 +281,6 @@ id:
281
281
  spree/zone:
282
282
  one: Wilayah
283
283
  other: Wilayah-wilayah
284
- devise:
285
- confirmations:
286
- confirmed: Akun Anda telah berhasil di konfirmasi. Anda sekarang telah masuk sistem.
287
- send_instructions: Anda akan menerima email dengan instruksi tentang bagaimana caranya untuk mengkonfirmasi akun Anda beberapa menit lagi.
288
- failure:
289
- inactive: Akun Anda belum teraktivasi
290
- invalid: Email atau password salah
291
- invalid_token: Token otentikasi Anda salah
292
- locked: Akun Anda sedang terkunci
293
- timeout: Sesi Anda telah berakhir, silahkan login kembali untuk melanjutkan.
294
- unauthenticated: Anda perlu login atau mendaftar dulu sebelum melanjutkan.
295
- unconfirmed: Anda perlu mengkonfirmasi akun Anda sebelum melanjutkan.
296
- mailer:
297
- confirmation_instructions:
298
- subject: Instruksi konfirmasi.
299
- reset_password_instructions:
300
- subject: Instruksi reset kata sandi
301
- unlock_instructions:
302
- subject: Instruksi membuka Akun terkunci
303
- oauth_callbacks:
304
- failure: Tidak bisa mengizinkan Anda dari %{kind} karena %{reason}
305
- success: Berhasil mendapat izin dari akun %{kind}
306
- unlocks:
307
- send_instructions: Anda akan menerima email dengan instruksi tentang bagaimana caranya untuk mengaktifkan akun yang terkunci beberapa menit lagi.
308
- unlocked: Akun Anda telah tidak terkunci lagi. Anda sekarang telah masuk sistem.
309
- user_passwords:
310
- user:
311
- cannot_be_blank: Kata sandi Anda tidak boleh kosong
312
- send_instructions: Anda akan menerima email dengan instruksi tentang bagaimana caranya untuk mengganti ulang kata sandi Anda beberapa menit lagi.
313
- updated: Kata sandi Anda telah berhasil diganti. Anda sekarang telah masuk sistem.
314
- user_registrations:
315
- destroyed: Dadah! Akun Anda telah berhasil dibatalkan. Semoga kita berjumpa lagi.
316
- inactive_signed_up: Anda telah berhasil didaftarkan. Namun, Anda tidak dapat masuk ke sistem kami karena %{reason}
317
- signed_up: Selamat datang! Anda telah berhasil didaftarkan.
318
- updated: Anda telah berhasil memperbarui Akun Anda.
319
- user_sessions:
320
- signed_in: Berhasil masuk ke dalam sistem.
321
- signed_out: Berhasil keluar dari sistem.
322
- errors:
323
- messages:
324
- already_confirmed: telah dikonfirmasi.
325
- not_found: tidak ditemukan
326
- not_locked: tidak terkunci
327
- not_saved: "%{count} kesalahan menyebabkan %{resource} tidak bisa disimpan"
328
284
  spree:
329
285
  abbreviation: Singkatan
330
286
  accept:
@@ -493,52 +493,6 @@ it:
493
493
  spree/store_credit_category:
494
494
  one: Categoria
495
495
  other: Categorie
496
- devise:
497
- confirmations:
498
- confirmed: Il tuo account è stato confermato. Hai effettuato il login.
499
- send_instructions: Entro pochi minuti riceverai un'email con le istruzioni per confermare il tuo account.
500
- failure:
501
- inactive: Il tuo account non è ancora stato attivato.
502
- invalid: Email o password non valide.
503
- invalid_token: Token di autenticazione non valido.
504
- locked: Il tuo account è bloccato.
505
- timeout: La tua sessione è scaduta. Per favore effettua nuovamente il login.
506
- unauthenticated: Devi registrarti o effettuare il login per continuare.
507
- unconfirmed: Devi confermare il tuo account pre continuare.
508
- mailer:
509
- confirmation_instructions:
510
- subject: Istruzioni di Conferma
511
- reset_password_instructions:
512
- subject: Istruzioni per il reset della password
513
- unlock_instructions:
514
- subject: Istruzioni per Sbloccare
515
- oauth_callbacks:
516
- failure: Non è stato possibile autorizzarti da %{kind} perché %{reason}.
517
- success: Autorizzato correttamente dall'account %{kind}
518
- unlocks:
519
- send_instructions: Riceverai un'email con le istruzioni per sbloccare il tuo account entro pochi minuti.
520
- unlocked: Il tuo account è stato sbloccato con successo. Hai effettuato il login.
521
- user_passwords:
522
- user:
523
- cannot_be_blank: La password non può essere vuota.
524
- send_instructions: Riceverai a breve un email con le istruzioni da seguire per reimpostare la tua password.
525
- updated: Hai modificato la tua password con successo. Hai effettuato il login.
526
- user_registrations:
527
- destroyed: Ciao! Il tuo account è stato eliminato con successo. Speriamo di rivederti presto.
528
- inactive_signed_up: Ti sei registrato con successo. Purtroppo non abbiamo potuto effettuare il login perché il tuo account è %{reason}
529
- signed_up: Benvenuto! Hai effettuato il login con successo.
530
- updated: Hai aggiornato il tuo account con successo.
531
- user_sessions:
532
- signed_in: Hai effettuato il login con successo.
533
- signed_out: Hai effettuato il logout con successo.
534
- errors:
535
- messages:
536
- already_confirmed: è già stato confermato
537
- not_found: non trovato
538
- not_locked: non era bloccato
539
- not_saved:
540
- one: 'questo %{resource} non può essere salvato a causa di 1 errore:'
541
- other: 'questo %{resource} non può essere salvato a causa di %{count} errori:'
542
496
  spree:
543
497
  abbreviation: Abbreviazione
544
498
  accept: Accetta
@@ -209,7 +209,7 @@ ja:
209
209
  meta_description: "メタ説明"
210
210
  meta_keywords: "メタキーワード"
211
211
  meta_title: "メタタイトル"
212
- position: "位置"
212
+ position: "位置"
213
213
  render_layout_as_partial: "部分的なレイアウトとして表示"
214
214
  show_in_footer: "フッターに表示"
215
215
  show_in_header: "ヘッダーに表示"
@@ -335,52 +335,6 @@ ja:
335
335
  spree/page:
336
336
  one: "特集ページ"
337
337
  other: "特集ページ"
338
- devise:
339
- confirmations:
340
- confirmed: "アカウントが正常に確認されました。ログインしました。"
341
- send_instructions: "数分以内に本人確認をする方法を記載したメールが届きます。"
342
- failure:
343
- inactive: "アカウントはまだ確認されませんでした。"
344
- invalid: Eメールアドレスもしくはパスワードが異なります。
345
- invalid_token: "無効な認証トークン。"
346
- locked: "アカウントはロックされています"
347
- timeout: "セッションの有効期限が切れました。続けるには再度ログインしてください。"
348
- unauthenticated: "続ける前にサインインかサインアップが必要です。"
349
- unconfirmed: "続ける前にアカウントの確認が必要です。"
350
- mailer:
351
- confirmation_instructions:
352
- subject: "確認方法"
353
- reset_password_instructions:
354
- subject: "パスワードのリセット方法"
355
- unlock_instructions:
356
- subject: "アンロック方法"
357
- oauth_callbacks:
358
- failure: "%{kind}から認証できませんでした。理由: %{reason}"
359
- success: "%{kind}からの認証に成功しました。"
360
- unlocks:
361
- send_instructions: "アカウントのアンロック方法を記載したメールを送信しました。"
362
- unlocked: "あなたのアカウントがアンロックされました。ログイン済みです。"
363
- user_passwords:
364
- user:
365
- cannot_be_blank: "パスワードを入力してください。"
366
- send_instructions: "パスワードのリセット方法を記載したメールを送信しました。"
367
- updated: "パスワードの変更に成功しました。サインインし直してください。"
368
- user_registrations:
369
- destroyed: "さようなら!アカウントが削除されました。再びお会いできる日が来ることを心待ちにしております。"
370
- inactive_signed_up: "ログインに成功しました。 しかし%{reason}により、まだ完了はしていません。"
371
- signed_up: "ログインに成功しました。"
372
- updated: "アカウントの更新に成功しました。"
373
- user_sessions:
374
- signed_in: "サインインに成功しました。"
375
- signed_out: "サインアウトに成功しました。"
376
- errors:
377
- messages:
378
- already_confirmed: "はすでに確認済みです。"
379
- not_found: "見つかりませんでした。"
380
- not_locked: "ロックされていません。"
381
- not_saved:
382
- one: ! '%{resource}を保存するのに1つのエラーがありました。'
383
- other: ! '%{resource}を保存するのに%{count}つのエラーがありました。'
384
338
  spree:
385
339
  abbreviation: "省略"
386
340
  accept: "受付"
@@ -534,7 +488,7 @@ ja:
534
488
  card_type: "ブランド"
535
489
  card_type_is: "カード類"
536
490
  cart: "カート"
537
- cart_subtotal:
491
+ cart_subtotal:
538
492
  one: '小計 (1つの商品)'
539
493
  other: '小計 (%{count}個の商品)'
540
494
  categories: "カテゴリー"
@@ -769,10 +723,10 @@ ja:
769
723
  icon: "アイコン"
770
724
  image: "画像"
771
725
  images: "画像"
772
- implement_eligible_for_return:
726
+ implement_eligible_for_return:
773
727
  implement_requires_manual_intervention:
774
728
  inactive: "非活性"
775
- incl:
729
+ incl:
776
730
  included_in_price: "価格に含まれる"
777
731
  included_price_validation: "はデフォルトのタックスゾーンを設定しない限り選択できません。"
778
732
  incomplete: "不完全"
@@ -851,7 +805,7 @@ ja:
851
805
  all: "すべて"
852
806
  none: "なし"
853
807
  max_items: "商品の数の最大限"
854
- member_since:
808
+ member_since:
855
809
  memo: "メモ"
856
810
  meta_description: "メタ情報説明"
857
811
  meta_keywords: "メタキーワード"
@@ -1173,7 +1127,7 @@ ja:
1173
1127
  return_item_time_period_ineligible: "返品は期限切れです。"
1174
1128
  return_items: "返品"
1175
1129
  return_items_cannot_be_associated_with_multiple_orders: "返品商品は複数の注文の注文と関連づけることはできません。"
1176
- reimbursement_mailer:
1130
+ reimbursement_mailer:
1177
1131
  reimbursement_email:
1178
1132
  days_to_send: "交換待ちの商品を送り返すのに%{days}必要です。"
1179
1133
  dear_customer: "お客様"
@@ -237,50 +237,6 @@ ko:
237
237
  spree/user:
238
238
  spree/variant:
239
239
  spree/zone:
240
- devise:
241
- confirmations:
242
- confirmed:
243
- send_instructions:
244
- failure:
245
- inactive:
246
- invalid:
247
- invalid_token:
248
- locked:
249
- timeout:
250
- unauthenticated:
251
- unconfirmed:
252
- mailer:
253
- confirmation_instructions:
254
- subject:
255
- reset_password_instructions:
256
- subject:
257
- unlock_instructions:
258
- subject:
259
- oauth_callbacks:
260
- failure:
261
- success:
262
- unlocks:
263
- send_instructions:
264
- unlocked:
265
- user_passwords:
266
- user:
267
- cannot_be_blank:
268
- send_instructions:
269
- updated:
270
- user_registrations:
271
- destroyed:
272
- inactive_signed_up:
273
- signed_up:
274
- updated:
275
- user_sessions:
276
- signed_in:
277
- signed_out:
278
- errors:
279
- messages:
280
- already_confirmed:
281
- not_found:
282
- not_locked:
283
- not_saved:
284
240
  spree:
285
241
  abbreviation: "생략"
286
242
  accept:
@@ -275,50 +275,6 @@ lv:
275
275
  spree/zone:
276
276
  one: Zona
277
277
  other: Zonas
278
- devise:
279
- confirmations:
280
- confirmed:
281
- send_instructions:
282
- failure:
283
- inactive:
284
- invalid:
285
- invalid_token:
286
- locked:
287
- timeout:
288
- unauthenticated:
289
- unconfirmed:
290
- mailer:
291
- confirmation_instructions:
292
- subject:
293
- reset_password_instructions:
294
- subject:
295
- unlock_instructions:
296
- subject:
297
- oauth_callbacks:
298
- failure:
299
- success:
300
- unlocks:
301
- send_instructions:
302
- unlocked:
303
- user_passwords:
304
- user:
305
- cannot_be_blank:
306
- send_instructions:
307
- updated:
308
- user_registrations:
309
- destroyed:
310
- inactive_signed_up:
311
- signed_up:
312
- updated:
313
- user_sessions:
314
- signed_in:
315
- signed_out:
316
- errors:
317
- messages:
318
- already_confirmed:
319
- not_found:
320
- not_locked:
321
- not_saved:
322
278
  spree:
323
279
  abbreviation: Saīsinājums
324
280
  accept:
@@ -281,50 +281,6 @@ nb:
281
281
  spree/zone:
282
282
  one: Sone
283
283
  other: Soner
284
- devise:
285
- confirmations:
286
- confirmed:
287
- send_instructions:
288
- failure:
289
- inactive: Inaktiv
290
- invalid: Ugyldig
291
- invalid_token: Ugyldighetsnøkkel
292
- locked: Låst
293
- timeout: Tidsavbrudd
294
- unauthenticated: Uatorisert
295
- unconfirmed: Ubekfreftet
296
- mailer:
297
- confirmation_instructions:
298
- subject: Bekreftelsesinstruksjoner
299
- reset_password_instructions:
300
- subject: Tilbakestillingsinstruksjoner
301
- unlock_instructions:
302
- subject: Opplåsningsinstruksjoner
303
- oauth_callbacks:
304
- failure:
305
- success:
306
- unlocks:
307
- send_instructions: Send opplåsningsinstruksjoner
308
- unlocked: Ulåst
309
- user_passwords:
310
- user:
311
- cannot_be_blank: Kan ikke være blank
312
- send_instructions: Send passordinstruks
313
- updated: Oppdaterd
314
- user_registrations:
315
- destroyed: slettet
316
- inactive_signed_up:
317
- signed_up: registreringsdato
318
- updated: oppdatert
319
- user_sessions:
320
- signed_in: Logget inn
321
- signed_out: Logget ut
322
- errors:
323
- messages:
324
- already_confirmed: Allerede bekreftet
325
- not_found: Ikke funnet
326
- not_locked: Ikke låst
327
- not_saved:
328
284
  spree:
329
285
  abbreviation: Fortkortelse
330
286
  accept:
@@ -283,52 +283,6 @@ nl:
283
283
  spree/zone:
284
284
  one: Zone
285
285
  other: Zones
286
- devise:
287
- confirmations:
288
- confirmed: Je account is succesvol bevestigd. Je bent nu aangemeld.
289
- send_instructions: Binnen enkele minuten ontvang je instructies voor het bevestigen van je account.
290
- failure:
291
- inactive: Je account is nog niet geactiveerd.
292
- invalid: Ongeldig email adres of wachtwoord
293
- invalid_token: Ongeldige authenticatietoken.
294
- locked: Je token is geblokkeerd
295
- timeout: Je sessie is verlopen, log opnieuw in om verder te gaan.
296
- unauthenticated: Je dient een account aan te maken of in te loggen om verder te gaan.
297
- unconfirmed: Je moet je account bevestigen alvorens je verder gaat.
298
- mailer:
299
- confirmation_instructions:
300
- subject: Bevestigingsinstructies
301
- reset_password_instructions:
302
- subject: Reset wachtwoord instructies
303
- unlock_instructions:
304
- subject: Ontgrendel instructies
305
- oauth_callbacks:
306
- failure: Kon je niet authoriseren via %{kind} omdat %{reason}.
307
- success: Succesvol geautoriseerd via %{kind} account.
308
- unlocks:
309
- send_instructions: Je ontvangt binnen enkele minuten instructies over hoe je je account kunt ontgrendelen.
310
- unlocked: Je account is succesvol ontgrendeld. Je bent nu aangemeld.
311
- user_passwords:
312
- user:
313
- cannot_be_blank: Je wachtwoord kan niet leeg zijn.
314
- send_instructions: Binnen enkele minuten ontvang je instructies voor het wijzigen van je wachtwoord.
315
- updated: Je wachtwoord is succesvol gewijzigd. Je bent nu aangemeld.
316
- user_registrations:
317
- destroyed: Tot ziens! Je account is succesvol geannuleerd. We hopen je binnenkort weert te verwelkomen.
318
- inactive_signed_up: Je bent succesvol geregistreerd. We konden je echter niet inloggen omdat je account %{reason} is.
319
- signed_up: Welkom! Je bent succesvol aangemeld.
320
- updated: Je hebt je account succesvol bijgewerkt.
321
- user_sessions:
322
- signed_in: Succesvol aangemeld.
323
- signed_out: Succesvol afgemeld.
324
- errors:
325
- messages:
326
- already_confirmed: was reeds bevestigd
327
- not_found: niet gevonden
328
- not_locked: was niet vergendeld
329
- not_saved:
330
- one: '1 fout voorkwam dat deze %{resource} werd opgeslagen:'
331
- other: "%{count} fouten voorkwamen dat deze %{resource} werd opgeslagen:"
332
286
  spree:
333
287
  abbreviation: Afkorting
334
288
  accept:
@@ -285,52 +285,6 @@ pl:
285
285
  spree/zone:
286
286
  one: Strefa
287
287
  other: Strefy
288
- devise:
289
- confirmations:
290
- confirmed: Twoje konto zostało potwierdzone. Zostałeś zalogowany.
291
- send_instructions: Za kilka minut otrzymasz wiadomość z instrukcjami, jak potwierdzić Twoje konto.
292
- failure:
293
- inactive: Twoje konto nie jest jeszcze aktywne.
294
- invalid: Błędny e-mail lub hasło.
295
- invalid_token: Błędny żeton autentykacyjny.
296
- locked: Twoje konto jest zablokowane.
297
- timeout: Twoja sesja wygasła, zaloguj się ponownie.
298
- unauthenticated: Aby kontynuować, musisz się zalogować.
299
- unconfirmed: Przed kontynuacją musisz potwierdzić swoje konto.
300
- mailer:
301
- confirmation_instructions:
302
- subject: Instrukcje potwierdzenia
303
- reset_password_instructions:
304
- subject: Instrukcje ponownego ustawienia hasła
305
- unlock_instructions:
306
- subject: Instrukcje odblokowania
307
- oauth_callbacks:
308
- failure: Nie można było dokonać autoryzacji z %{kind} ponieważ %{reason}.
309
- success: Autoryzacja z konta %{kind} zakończyła się sukcesem.
310
- unlocks:
311
- send_instructions: Za kilka minut otrzymasz wiadomość z instrukcjami, jak odblokować Twoje konto.
312
- unlocked: Twoje konto zostało odblokowane. Zostałeś zalogowany.
313
- user_passwords:
314
- user:
315
- cannot_be_blank: Hasło nie może być puste.
316
- send_instructions: Za kilka minut otrzymasz wiadomość z instrukcjami, jak ponownie ustawić Twoje hasło.
317
- updated: Hasło zostało zmienione. Zostałeś zalogowany.
318
- user_registrations:
319
- destroyed: Do widzenia! Twoje konto zostało usunięte. Mamy nadzieję, że wrócisz do nas...
320
- inactive_signed_up: Założyłeś konto, nie mogliśmy jednak Cię zalogować ponieważ Twoje konto jest %{reason}.
321
- signed_up: Witamy! Zostałeś zalogowany.
322
- updated: Uaktualniłeś swoje konto.
323
- user_sessions:
324
- signed_in: Zostałeś zalogowany.
325
- signed_out: Zostałeś wylogowany.
326
- errors:
327
- messages:
328
- already_confirmed: już zostało potwierdzone
329
- not_found: nie znaleziono
330
- not_locked: nie zostało zablokowane
331
- not_saved:
332
- one: '1 błąd uniemożliwił zachowanie tego %{resource}:'
333
- other: "%{count} błędy(-ów) uniemożliwiło zachowanie tego %{resource}:"
334
288
  spree:
335
289
  abbreviation: Skrót
336
290
  accept: