rodauth-i18n 0.7.1 → 0.8.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db9e6bdde92f2c77e9b5837478b7c895e35cff1da820fc3b98c99239a48cf3b2
4
- data.tar.gz: d8fb5cc9f9ec500da73898088ee2206bb74012067cdd5c8210d637fd4ffef29b
3
+ metadata.gz: 44406d5f174927601d806ccb6f5bb13a23133f6e86b3fccd21708ecc6e755997
4
+ data.tar.gz: bf5cf7edb47cdb5ec883b0946008f6e39d87db900d35b0819240eeb70808e3fc
5
5
  SHA512:
6
- metadata.gz: cf8950bdeeca18773247352e051d47d9857131964583d683ab6d465a5599d3bd5dcec7006e3ac3408e258909da8b166af7e911d73875847a0f8e7e492ae15bd6
7
- data.tar.gz: b8336789c97e529733520dbdb19b86c2482d2ec191f779a3aee604591b62c817a2ffb06bf00118cf3fc1fbc9141c73f6243ed891ec0eeb9120c9af83fcf1a9cf
6
+ metadata.gz: c783f14b4bb5290fbd71420954614e0ae8814df0f4aff52b8448995f9e962c0e0725b9efb127267441097ab079e5c4ae1fa323490254c23b53a178638d754234
7
+ data.tar.gz: 64c19ecb06155980b761a7c311a30c08e45b756f8e57dc23cdafd70efa81a8c2a1716c7ffd9ff147011b5fa6492bf735271d9d2e2959b55b95f8c582ba59dcb9
data/README.md CHANGED
@@ -134,9 +134,8 @@ route do |r|
134
134
  all_locales = I18n.available_locales.map(&:to_s) - [I18n.default_locale.to_s]
135
135
  # routes requests starting with `(/:locale)/auth/*`
136
136
  r.on [*all_locales, true], "auth" do |locale|
137
- rails_request.params[:locale] = locale # for controller callbacks (if using Rails)
137
+ rails_request.path_parameters[:locale] = locale # for controller callbacks (if using Rails)
138
138
  r.rodauth # route Rodauth requests
139
- break # let other (/:locale)/auth/* requests through
140
139
  end
141
140
  end
142
141
  ```
data/locales/en.yml CHANGED
@@ -92,16 +92,36 @@ en:
92
92
  otp_disable_link_text: Disable TOTP Authentication
93
93
  otp_disable_notice_flash: TOTP authentication has been disabled
94
94
  otp_disable_page_title: Disable TOTP Authentication
95
+ otp_disabled_email_subject: TOTP Authentication Disabled
95
96
  otp_invalid_auth_code_message: Invalid authentication code
96
97
  otp_invalid_secret_message: invalid secret
98
+ otp_locked_out_email_subject: TOTP Authentication Locked Out
97
99
  otp_lockout_error_flash: TOTP authentication code use locked out due to numerous failures
98
100
  otp_provisioning_uri_label: Provisioning URL
99
101
  otp_secret_label: Secret
100
102
  otp_setup_button: Setup TOTP Authentication
103
+ otp_setup_email_subject: TOTP Authentication Setup
101
104
  otp_setup_error_flash: Error setting up TOTP authentication
102
105
  otp_setup_link_text: Setup TOTP Authentication
103
106
  otp_setup_notice_flash: TOTP authentication is now setup
104
107
  otp_setup_page_title: Setup TOTP Authentication
108
+ otp_unlock_auth_deadline_passed_error_flash: Deadline past for unlocking TOTP authentication
109
+ otp_unlock_auth_failure_error_flash: TOTP invalid authentication
110
+ otp_unlock_auth_not_yet_available_error_flash: TOTP unlock attempt not yet available
111
+ otp_unlock_auth_success_notice_flash: TOTP successful authentication, more successful authentication needed to unlock
112
+ otp_unlock_button: Authenticate Using TOTP to Unlock
113
+ otp_unlock_consecutive_successes_label: Consecutive successful authentications
114
+ otp_unlock_failed_email_subject: TOTP Authentication Unlocking Failed
115
+ otp_unlock_form_footer: ''
116
+ otp_unlock_next_auth_attempt_label: Can attempt next authentication after
117
+ otp_unlock_next_auth_attempt_refresh_label: Page will automatically refresh when authentication is possible.
118
+ otp_unlock_next_auth_deadline_label: Deadline for next authentication
119
+ otp_unlock_not_available_page_title: Must Wait to Unlock TOTP Authentication
120
+ otp_unlock_not_locked_out_error_flash: TOTP authentication is not currently locked out
121
+ otp_unlock_page_title: Unlock TOTP Authentication
122
+ otp_unlock_required_consecutive_successes_label: Required consecutive successful authentications to unlock
123
+ otp_unlocked_email_subject: TOTP Authentication Unlocked
124
+ otp_unlocked_notice_flash: TOTP authentication unlocked
105
125
  password_authentication_required_error_flash: You need to confirm your password before continuing
106
126
  password_changed_email_subject: Password Changed
107
127
  password_confirm_label: Confirm %{password_label}
@@ -180,6 +200,7 @@ en:
180
200
  sms_setup_error_flash: Error setting up SMS authentication
181
201
  sms_setup_link_text: Setup Backup SMS Authentication
182
202
  sms_setup_page_title: Setup SMS Backup Number
203
+ strftime_format: "%F %T"
183
204
  two_factor_already_authenticated_error_flash: You have already been multifactor authenticated
184
205
  two_factor_auth_notice_flash: You have been multifactor authenticated
185
206
  two_factor_auth_page_title: Authenticate Using Additional Factor
@@ -229,11 +250,14 @@ en:
229
250
  webauthn_auth_error_flash: Error authenticating using WebAuthn
230
251
  webauthn_auth_link_text: Authenticate Using WebAuthn
231
252
  webauthn_auth_page_title: Authenticate Using WebAuthn
253
+ webauthn_authenticator_added_email_subject: WebAuthn Authenticator Added
254
+ webauthn_authenticator_removed_email_subject: WebAuthn Authenticator Removed
232
255
  webauthn_duplicate_webauthn_id_message: attempt to insert duplicate webauthn id
233
256
  webauthn_invalid_auth_param_message: invalid webauthn authentication param
234
257
  webauthn_invalid_remove_param_message: must select valid webauthn authenticator to remove
235
258
  webauthn_invalid_setup_param_message: invalid webauthn setup param
236
259
  webauthn_invalid_sign_count_message: webauthn credential has invalid sign count
260
+ webauthn_invalid_webauthn_id_message: no webauthn key with given id found
237
261
  webauthn_login_error_flash: There was an error authenticating via WebAuthn
238
262
  webauthn_not_setup_error_flash: This account has not been setup for WebAuthn authentication
239
263
  webauthn_remove_button: Remove WebAuthn Authenticator
data/rodauth-i18n.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rodauth-i18n"
5
- spec.version = "0.7.1"
5
+ spec.version = "0.8.0"
6
6
  spec.authors = ["Janko Marohnić"]
7
7
  spec.email = ["janko@hey.com"]
8
8
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.homepage = "https://github.com/janko/rodauth-i18n"
11
11
  spec.license = "MIT"
12
12
 
13
- spec.required_ruby_version = ">= 2.3.0"
13
+ spec.required_ruby_version = ">= 2.5"
14
14
 
15
15
  spec.files = Dir["README.md", "LICENSE.txt", "CHANGELOG.md", "lib/**/*", "locales/**/*", "*.gemspec"]
16
16
  spec.require_paths = ["lib"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rodauth-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2024-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rodauth
@@ -140,14 +140,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ">="
142
142
  - !ruby/object:Gem::Version
143
- version: 2.3.0
143
+ version: '2.5'
144
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  requirements:
146
146
  - - ">="
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubygems_version: 3.4.12
150
+ rubygems_version: 3.5.11
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Provides I18n integration and translations for Rodauth authentication framework.