Module: Rodauth::I18n::LoginPasswordRequirementsBase

Included in:
Rodauth::I18n
Defined in:
lib/rodauth/i18n/login_password_requirements_base.rb

Overview

Dynamic translations for the login_password_requirements_base feature.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(feature) ⇒ Object



5
6
7
# File 'lib/rodauth/i18n/login_password_requirements_base.rb', line 5

def self.included(feature)
  feature.depends :login_password_requirements_base
end

Instance Method Details

#login_confirm_labelObject



9
10
11
# File 'lib/rodauth/i18n/login_password_requirements_base.rb', line 9

def 
  i18n_translate(__method__, super, login_label: )
end

#password_confirm_labelObject



13
14
15
# File 'lib/rodauth/i18n/login_password_requirements_base.rb', line 13

def password_confirm_label
  i18n_translate(__method__, super, password_label: password_label)
end