Module: Yast::IscsiServerHelpsInclude

Defined in:
../../src/include/iscsi-server/helps.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) initialize_iscsi_server_helps(include_target)



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# File '../../src/include/iscsi-server/helps.rb', line 32

def initialize_iscsi_server_helps(include_target)
  textdomain "iscsi-server"

  # All helps are here
  @HELPS = {
    # Read dialog help 1/2
    "read"               => _(
      "<p><b><big>Initializing iSCSI Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Read dialog help 2/2
      _(
        "<p><b><big>Aborting Initialization</big></b><br>\nSafely abort the configuration utility by pressing <b>Abort</b> now.</p>\n"
      ),
    # Write dialog help 1/2
    "write"              => _(
      "<p><b><big>Saving iSCSI Target Configuration</big></b><br>\nPlease wait...<br></p>\n"
    ) +
      # Write dialog help 2/2
      _(
        "<p><b><big>Aborting Saving:</big></b><br>\n" +
          "Abort the save procedure by pressing <b>Abort</b>.\n" +
          "An additional dialog informs whether it is safe to do so.\n" +
          "</p>\n"
      ),
    "save_configuration" => _(
      "<p><b>Save</b> button will export some information about\ntargets into selected file.</p>"
    ),
    # Summary dialog help 1/3
    "summary"            => _(
      "<p><b><big>iSCSI Target Configuration</big></b><br>\nConfigure an iSCSI target here.<br></p>\n"
    ) +
      # Summary dialog help 2/3
      _(
        "<p><b><big>Adding an iSCSI Target</big></b><br>\n" +
          "Choose an iSCSI target from the list of detected iSCSI targets.\n" +
          "If your target was not detected, use <b>Other (not detected)</b>.\n" +
          "Then press <b>Configure</b>.</p>\n"
      ) +
      # Summary dialog help 3/3
      _(
        "<p><b><big>Editing or Deleting</big></b><br>\n" +
          "If you press <b>Edit</b>, an additional dialog in which to change\n" +
          "the configuration opens.</p>\n"
      ),
    # Ovreview dialog help 1/3
    "overview"           => _(
      "<p><b><big>iSCSI Target Configuration Overview</big></b><br>\n" +
        "Obtain an overview of installed iSCSI targets. Additionally\n" +
        "edit their configurations.<br></p>\n"
    ) +
      # Ovreview dialog help 2/3
      _(
        "<p><b><big>Adding an iSCSI Target</big></b><br>\nPress <b>Add</b> to configure an iSCSI target.</p>"
      ) +
      # Ovreview dialog help 3/3
      _(
        "<p><b><big>Editing or Deleting</big></b><br>\n" +
          "Choose an iSCSI target to change or remove.\n" +
          "Then press <b>Edit</b> or <b>Delete</b> as desired.</p>\n"
      ),
    # Configure1 dialog help 1/2
    "c1"                 => _(
      "<p><b><big>Configuration Part One</big></b><br>\n" +
        "Press <b>Next</b> to continue.\n" +
        "<br></p>"
    ) +
      # Configure1 dialog help 2/2
      _(
        "<p><b><big>Selecting Something</big></b><br>\n" +
          "It is not possible. You must code it first. :-)\n" +
          "</p>"
      ),
    # Configure2 dialog help 1/2
    "c2"                 => _(
      "<p><b><big>Configuration Part Two</big></b><br>\n" +
        "Press <b>Next</b> to continue.\n" +
        "<br></p>\n"
    ) +
      # Configure2 dialog help 2/2
      _(
        "<p><b><big>Selecting Something</big></b><br>\n" +
          "It is not possible. You must code it first. :-)\n" +
          "</p>"
      ),
    # discovery authentication
    "global_config"      => _(
      "Select the type of authentication. Use <b>No Authentication</b> or one of <b>Incoming</b> and <b>Outgoing</b> (can be both together). Then insert <b>User</b> and <b>Password</b>.\nFor incoming authentication, it is possible to <b>Add</b> more  pairs or <b>Edit</b> or <b>Delete</b> them."
    ),
    # target dialog
    "server_table"       => _(
      "List of offered targets. Create a new target by clicking <b>Add</b>. \nTo delete or modify an item, select it and press <b>Modify</b> or <b>Delete</b>."
    ),
    # edit target
    "target-modify"      => _("<h1>iSCSI Target</h1>") +
      _(
        "It is possible to change the <b>Path</b> to block devices, regular files, LVM, or RAID.\n"
      ),
    # add target
    "target-add"         => _("<h1>iSCSI Target</h1>") +
      _(
        "Create a new target. Replace template values with the correct values.\n" +
          "For <b>Target</b>, use the format iqn.yyyy-mm.<reversed domain name>.\n" +
          "For <b>Path</b>, use block devices, regular files, LVM, or RAID.\n"
      ) +
      _(
        "<b>Add</b> one or more LUNs.\nIf you need additional options, click <b>Expert Settings</b>.\n"
      ),
    # expert dialog
    "expert"             => _("<h1>iSCSI Target</h1>") +
      _(
        "It is possible to <b>add</b>, <b>edit</b> or <b>delete</b> all additional configuration options."
      ),
    # LUN details
    "lun-details"        => _("<h1>iSCSI Target</h1>") +
      _(
        "Edit <b>LUN</b> number if needed, set <b>Type</b> (nullio is for testing purposes). \nIf Type=fileio set <b>Path</b> to disk device or file.<b>SCSI ID</b> and <b>Sectors</b> are optional."
      )
  } 

  # EOF
end