Class: Installation::RegistrationURLDialog

Inherits:
URLDialog
  • Object
show all
Defined in:
src/lib/installation/dialogs/registration_url_dialog.rb

Instance Attribute Summary

Attributes inherited from URLDialog

#url

Instance Method Summary collapse

Methods inherited from URLDialog

#cancel_handler, #cancel_label, #dialog_content, #ok_handler, #ok_label

Constructor Details

#initialize(*args) ⇒ RegistrationURLDialog

Returns a new instance of RegistrationURLDialog.



25
26
27
28
# File 'src/lib/installation/dialogs/registration_url_dialog.rb', line 25

def initialize(*args)
  textdomain "installation"
  super
end

Instance Method Details

#dialog_titleObject



42
43
44
# File 'src/lib/installation/dialogs/registration_url_dialog.rb', line 42

def dialog_title
  _("Registration URL")
end

#entry_labelObject



38
39
40
# File 'src/lib/installation/dialogs/registration_url_dialog.rb', line 38

def 
  _("Registration URL")
end

#help_textObject



30
31
32
33
34
35
36
# File 'src/lib/installation/dialogs/registration_url_dialog.rb', line 30

def help_text
  # TRANSLATORS: Help text alerting the user about a invalid url
  _("<p>\n" \
    "The registration URL provided in the command line is not valid.\n" \
    "Check that you entered it correctly and try again.\n" \
    "</p>")
end