card-mod-recaptcha 0.11.3 → 0.11.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c87952360c9ef633cd639da2696e46d54faf955dc40e1c1c4b634402ad54fa05
4
- data.tar.gz: 1370e2ac3c542033aa70402a8dcdb29d452827b3deaa65b6aee5386c2d39f4ec
3
+ metadata.gz: ecab662b8babe1c1a18b39fc848a35c9fb28c5ab54efba0b7f9a5d858f0edd60
4
+ data.tar.gz: 590c71592f7e5f77ea95a128f0775ed5ee03939627bff8e20745f0c4048d3d18
5
5
  SHA512:
6
- metadata.gz: 17e2c27a75d030ae141ed00408fa804e530a17ec6ad139cd70465300b715ef50a139a498be93eeb3af34ed588664c88393dabbfd7cb5d0e2487c8afdc9f800e8
7
- data.tar.gz: 784abd828741750f6a927e9cd44006b00688326704428250016fe2f1da46c43954f3d44422254c32a8e678770d8f0468ce40ff661dfc99545a4efcd0bd79a6b5
6
+ metadata.gz: c991d7a3056817e5edc7e750f5cb910f9840712d00658493bba2673013dd1f5f738271575d6bfddefdd05ceb98a6cecd4998217dd20d9da1e102909ac1fc848c
7
+ data.tar.gz: 94f2489829497985a7bfec569daad7d1472006ae63dbae261441fc2c5f7b08ddc3261ee2dcbc5064715042ad2f334b77defd5addb7d981d311f053677e3816d1
@@ -11,17 +11,17 @@ format :html do
11
11
  # %(Your captcha is currently working with temporary settings.
12
12
  # This is fine for a local installation, but you will need new
13
13
  # recaptcha keys if you want to make this site public.)
14
- tr :captcha_temp, recaptcha_link: add_recaptcha_keys_link
14
+ t :recaptcha_captcha_temp, recaptcha_link: add_recaptcha_keys_link
15
15
  else
16
16
  # %(You are configured to use [[*captcha]], but for that to work
17
17
  # you need new recaptcha keys.)
18
- tr :captcha_keys, recaptcha_link: add_recaptcha_keys_link,
19
- captcha_link: link_to_card(:captcha)
18
+ t :recaptcha_captcha_keys, recaptcha_link: add_recaptcha_keys_link,
19
+ captcha_link: link_to_card(:captcha)
20
20
  end
21
21
  end
22
22
  end
23
23
 
24
24
  def add_recaptcha_keys_link
25
- Card[:recaptcha_settings]&.format&.edit_link link_text: tr(:recaptcha_keys)
25
+ Card[:recaptcha_settings]&.format&.edit_link link_text: t(:recaptcha_captcha_keys)
26
26
  end
27
27
  end
@@ -12,19 +12,20 @@ format :html do
12
12
  # end
13
13
  #
14
14
  # <h5>#{instructions}</h5>
15
- # #{howto_add_new_recaptcha_keys}
15
+ # #{howto_add_keys}
16
16
  # #{howto_turn_captcha_off}
17
17
  #
18
18
  # def howto_add_new_recaptcha_keys
19
- # instructions tr(:howto_add_keys),
20
- # [tr(:howto_register,
21
- # recaptcha_link: link_to_resource("http://google.com/recaptcha")),
22
- # tr(:howto_add, recaptcha_settings: link_to_card(:recaptcha_settings))]
19
+ # instructions t(:recaptcha_howto_add_keys),
20
+ # [t(:recaptcha_howto_register,
21
+ # recaptcha_link: link_to_resource("http://google.com/recaptcha")),
22
+ # t(:recaptcha_howto_add,
23
+ # recaptcha_settings: link_to_card(:recaptcha_settings))]
23
24
  # end
24
25
  #
25
26
  # def howto_turn_captcha_off
26
- # instructions tr(:howto_turn_off),
27
- # [tr(:howto_go, captcha_card: link_to_card(:captcha)),
28
- # tr(:howto_update)]
27
+ # instructions t(:recaptcha_howto_turn_off),
28
+ # [t(:recaptcha_howto_go, captcha_card: link_to_card(:captcha)),
29
+ # t(:recaptcha_howto_update)]
29
30
  # end
30
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: card-mod-recaptcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.3
4
+ version: 0.11.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan McCutchen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-04-01 00:00:00.000000000 Z
13
+ date: 2021-05-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: card
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.101.3
21
+ version: 1.101.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 1.101.3
28
+ version: 1.101.4
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: recaptcha
31
31
  requirement: !ruby/object:Gem::Requirement