Module: Yast::PartitioningCustomPartHelptextsInclude

Defined in:
../../src/include/partitioning/custom_part_helptexts.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) GetCreateCryptFsHelptext(minpwlen, format, tmpcrypt)



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
# File '../../src/include/partitioning/custom_part_helptexts.rb', line 51

def GetCreateCryptFsHelptext(minpwlen, format, tmpcrypt)
  helptext = ""

  if format
    # help text for cryptofs
    helptext = _(
      "<p>\n" +
        "Create an encrypted file system.\n" +
        "</p>\n"
    )
  else
    # help text for cryptofs
    helptext = _(
      "<p>\n" +
        "Access an encrypted file system.\n" +
        "</p>\n"
    )
  end

  # help text for cryptofs
  helptext = Ops.add(
    helptext,
    _(
      "<p>\n" +
        "Keep in mind that this file system is only protected when it is not\n" +
        "mounted. Once it is mounted, it is as secure as every other\n" +
        "Linux file system.\n" +
        "</p>\n"
    )
  )


  if format
    if tmpcrypt
      helptext = Ops.add(
        helptext,
        _(
          "<p>\n" +
            "This mount point corresponds to a temporary filesystem like /tmp or /var/tmp.\n" +
            "If you leave the encryption password empty, the system will create\n" +
            "a random password at system startup for you. This means, you will lose all\n" +
            "data on these filesystems at system shutdown.\n" +
            "</p>\n"
        )
      )
    end
    # help text, continued
    helptext = Ops.add(
      helptext,
      _(
        "<p>\n" +
          "If you forget your password, you will lose access to the data on your file system.\n" +
          "Choose your password carefully. A combination of letters and numbers\n" +
          "is recommended. To ensure the password was entered correctly,\n" +
          "enter it twice.\n" +
          "</p>\n"
      )
    )

    # help text, continued
    helptext = Ops.add(
      helptext,
      Builtins.sformat(
        _(
          "<p>\n" +
            "You must distinguish between uppercase and lowercase. A password should have at\n" +
            "least %1 characters and, as a rule, not contain any special characters\n" +
            "(e.g., letters with accents or umlauts).\n" +
            "</p>\n"
        ),
        minpwlen
      )
    )

    # help text, continued
    helptext = Ops.add(
      helptext,
      Builtins.sformat(
        _(
          "<p>\n" +
            "Possible characters are\n" +
            "<tt>%1</tt>, blanks, uppercase and lowercase\n" +
            "letters (<tt>A-Za-Z</tt>), and digits <tt>0</tt> to <tt>9</tt>.\n" +
            "</p>\n"
        ),
        "#*,.;:._-+!$%&/|?{[()]}^\\&lt;&gt;!"
      )
    )
  end

  # help text, continued
  helptext = Ops.add(helptext, _("<p>\nDo not forget this password!\n</p>"))

  helptext
end

- (Object) GetUpdateCryptFsHelptext



148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# File '../../src/include/partitioning/custom_part_helptexts.rb', line 148

def GetUpdateCryptFsHelptext
  # help text for cryptofs
  helptext = _(
    "<p>\n" +
      "You will need to enter your encryption password.\n" +
      "</p>\n"
  )

  # help text, continued
  helptext = Ops.add(
    helptext,
    _(
      "<p>\n" +
        "If the encrypted file system does not contain any system file and therefore is\n" +
        "not needed for the update, you may select <b>Skip</b>. In this case, the\n" +
        "file system is not accessed during update.\n" +
        "</p>\n"
    )
  )

  helptext
end

- (Object) ia64_gpt_fix_text



186
187
188
189
190
191
192
193
194
# File '../../src/include/partitioning/custom_part_helptexts.rb', line 186

def ia64_gpt_fix_text
  _(
    "Warning: Your system states that it requires an EFI \n" +
      "boot setup. Since the selected disk does not contain a \n" +
      "GPT disk label YaST will create a GPT label on this disk.\n" +
      "\n" +
      "You need to mark all partitions on this disk for removal.\n"
  )
end

- (Object) ia64_gpt_text



172
173
174
175
176
177
178
179
180
181
182
183
# File '../../src/include/partitioning/custom_part_helptexts.rb', line 172

def ia64_gpt_text
  _(
    "Warning: With your current setup, your installation\n" +
      "will encounter problems when booting, because the disk on which  \n" +
      "your /boot partition is located does not contain a GPT disk label.\n" +
      "\n" +
      "It will probably not be possible to boot such a setup.\n" +
      "\n" +
      "If you need to use this disk for installation, you should destroy \n" +
      "the disk label in the expert partitioner.\n"
  )
end

- (Object) initialize_partitioning_custom_part_helptexts(include_target)



47
48
49
# File '../../src/include/partitioning/custom_part_helptexts.rb', line 47

def initialize_partitioning_custom_part_helptexts(include_target)
  textdomain "storage"
end