Class: Yast::LabelClass

Inherits:
Module
  • Object
show all
Defined in:
../../library/general/src/modules/Label.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) AbortButton

Abort Button



92
93
94
95
# File '../../library/general/src/modules/Label.rb', line 92

def AbortButton
  # Button label
  _("Abo&rt")
end

- (Object) AbortInstallationButton

Abort Installation Button



98
99
100
101
# File '../../library/general/src/modules/Label.rb', line 98

def AbortInstallationButton
  # Button label
  _("Abo&rt Installation")
end

- (Object) AcceptButton

Accept Button



134
135
136
137
# File '../../library/general/src/modules/Label.rb', line 134

def AcceptButton
  # Button label
  _("&Accept")
end

- (Object) AddButton

Add Button



44
45
46
47
# File '../../library/general/src/modules/Label.rb', line 44

def AddButton
  # Button label
  _("&Add")
end

- (Object) BackButton

Back Button



128
129
130
131
# File '../../library/general/src/modules/Label.rb', line 128

def BackButton
  # Button label
  _("&Back")
end

- (Object) BrowseButton

Browse Button



236
237
238
239
# File '../../library/general/src/modules/Label.rb', line 236

def BrowseButton
  # Button label
  _("Bro&wse...")
end

- (Object) CancelButton

Cancel Button



50
51
52
53
# File '../../library/general/src/modules/Label.rb', line 50

def CancelButton
  # Button label
  _("&Cancel")
end

- (Object) CloseButton

Close Button



230
231
232
233
# File '../../library/general/src/modules/Label.rb', line 230

def CloseButton
  # Button label
  _("C&lose")
end

- (Object) ConfirmPassword

Confirm Password TextEntry



323
324
325
326
# File '../../library/general/src/modules/Label.rb', line 323

def ConfirmPassword
  # TextEntry Label
  _("C&onfirm Password")
end

- (Object) ContinueButton

Continue Button



56
57
58
59
# File '../../library/general/src/modules/Label.rb', line 56

def ContinueButton
  # Button label
  _("C&ontinue")
end

- (Object) CreateButton

Create Button



242
243
244
245
# File '../../library/general/src/modules/Label.rb', line 242

def CreateButton
  # Button label
  _("Crea&te")
end

- (Object) DefaultFunctionKeyMap

Default function key map



272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
# File '../../library/general/src/modules/Label.rb', line 272

def DefaultFunctionKeyMap
  fkeys = {}

  # A map only accepts constants as keys, so we have to add() each
  # item. It will always be a term since it has to go through the
  # translator.

  fkeys = Builtins.add(fkeys, HelpButton(), 1)
  fkeys = Builtins.add(fkeys, AddButton(), 3)
  fkeys = Builtins.add(fkeys, EditButton(), 4)
  fkeys = Builtins.add(fkeys, DeleteButton(), 5)
  fkeys = Builtins.add(fkeys, BackButton(), 8)

  # Negative Answers: [F9]
  fkeys = Builtins.add(fkeys, CancelButton(), 9)
  fkeys = Builtins.add(fkeys, NoButton(), 9)
  fkeys = Builtins.add(fkeys, DoNotAcceptButton(), 9)
  fkeys = Builtins.add(fkeys, DontInstallButton(), 9)
  fkeys = Builtins.add(fkeys, QuitButton(), 9)

  # Positive Answers: [F10]
  fkeys = Builtins.add(fkeys, OKButton(), 10)
  fkeys = Builtins.add(fkeys, AcceptButton(), 10)
  fkeys = Builtins.add(fkeys, YesButton(), 10)
  fkeys = Builtins.add(fkeys, CloseButton(), 10)
  fkeys = Builtins.add(fkeys, ContinueButton(), 10)
  fkeys = Builtins.add(fkeys, FinishButton(), 10)
  fkeys = Builtins.add(fkeys, InstallButton(), 10)
  fkeys = Builtins.add(fkeys, NextButton(), 10)
  fkeys = Builtins.add(fkeys, SaveButton(), 10)

  deep_copy(fkeys)
end

- (Object) DeleteButton

Delete Button



122
123
124
125
# File '../../library/general/src/modules/Label.rb', line 122

def DeleteButton
  # Button label
  _("Dele&te")
end

- (Object) DoNotAcceptButton

Do Not Accept Button



140
141
142
143
# File '../../library/general/src/modules/Label.rb', line 140

def DoNotAcceptButton
  # Button label
  _("&Do Not Accept")
end

- (Object) DontInstallButton

Don't Install Button



206
207
208
209
# File '../../library/general/src/modules/Label.rb', line 206

def DontInstallButton
  # Button label
  _("&Do Not Install")
end

- (Object) DownButton

Down Button



170
171
172
173
# File '../../library/general/src/modules/Label.rb', line 170

def DownButton
  # Button label
  _("Do&wn")
end

- (Object) DownloadButton

Download Button



212
213
214
215
# File '../../library/general/src/modules/Label.rb', line 212

def DownloadButton
  # Button label
  _("&Download")
end

- (Object) EditButton

Edit Button



80
81
82
83
# File '../../library/general/src/modules/Label.rb', line 80

def EditButton
  # Button label
  _("Ed&it")
end

- (Object) ErrorMsg

Error Message



260
261
262
263
# File '../../library/general/src/modules/Label.rb', line 260

def ErrorMsg
  # this string is usually used as headline of a popup
  _("Error")
end

- (Object) FileName

File Name TextEntry



311
312
313
314
# File '../../library/general/src/modules/Label.rb', line 311

def FileName
  # TextEntry Label
  _("&Filename")
end

- (Object) FinishButton

Finish Button



74
75
76
77
# File '../../library/general/src/modules/Label.rb', line 74

def FinishButton
  # Button label
  _("&Finish")
end

- (Object) HelpButton

Help Button



194
195
196
197
# File '../../library/general/src/modules/Label.rb', line 194

def HelpButton
  # Button label
  _("&Help")
end

- (Object) HostName

Host Name TextEntry



335
336
337
338
# File '../../library/general/src/modules/Label.rb', line 335

def HostName
  # TextEntry Label
  _("&Hostname")
end

- (Object) IgnoreButton

Ignore Button



104
105
106
107
# File '../../library/general/src/modules/Label.rb', line 104

def IgnoreButton
  # Button label
  _("&Ignore")
end

- (Object) InstallButton

Install Button



200
201
202
203
# File '../../library/general/src/modules/Label.rb', line 200

def InstallButton
  # Button label
  _("&Install")
end

- (Object) main



39
40
41
# File '../../library/general/src/modules/Label.rb', line 39

def main
  textdomain "base"
end

- (Object) NewButton

New Button



116
117
118
119
# File '../../library/general/src/modules/Label.rb', line 116

def NewButton
  # Button label
  _("Ne&w")
end

- (Object) NextButton

Next Button



110
111
112
113
# File '../../library/general/src/modules/Label.rb', line 110

def NextButton
  # Button label
  _("&Next")
end

- (Object) NoButton

No Button



68
69
70
71
# File '../../library/general/src/modules/Label.rb', line 68

def NoButton
  # Button label
  _("&No")
end

- (Object) OKButton

OK Button



86
87
88
89
# File '../../library/general/src/modules/Label.rb', line 86

def OKButton
  # Button label
  _("&OK")
end

- (Object) Options

Options TextEntry



341
342
343
344
# File '../../library/general/src/modules/Label.rb', line 341

def Options
  # TextEntry Label
  _("&Options")
end

- (Object) Password

Password TextEntry



317
318
319
320
# File '../../library/general/src/modules/Label.rb', line 317

def Password
  # TextEntry Label
  _("&Password")
end

- (Object) PleaseWaitMsg

Please wait Message



266
267
268
269
# File '../../library/general/src/modules/Label.rb', line 266

def PleaseWaitMsg
  # this string is usually used as headline of a popup
  _("Please wait...")
end

- (Object) Port

Port TextEntry



329
330
331
332
# File '../../library/general/src/modules/Label.rb', line 329

def Port
  # TextEntry Label
  _("&Port")
end

- (Object) QuitButton

Quit Button



146
147
148
149
# File '../../library/general/src/modules/Label.rb', line 146

def QuitButton
  # Button label
  _("&Quit")
end

- (Object) RefreshButton

Refresh Button



188
189
190
191
# File '../../library/general/src/modules/Label.rb', line 188

def RefreshButton
  # Button label
  _("&Refresh")
end

- (Object) RemoveButton

Remove Button



182
183
184
185
# File '../../library/general/src/modules/Label.rb', line 182

def RemoveButton
  # Button label
  _("Remo&ve")
end

- (Object) ReplaceButton

Replace Button



158
159
160
161
# File '../../library/general/src/modules/Label.rb', line 158

def ReplaceButton
  # Button label
  _("&Replace")
end

- (Object) RetryButton

Retry Button



152
153
154
155
# File '../../library/general/src/modules/Label.rb', line 152

def RetryButton
  # Button label
  _("Retr&y")
end

- (Object) SaveButton

Save Button



218
219
220
221
# File '../../library/general/src/modules/Label.rb', line 218

def SaveButton
  # Button label
  _("&Save")
end

- (Object) SelectButton

Select Button



176
177
178
179
# File '../../library/general/src/modules/Label.rb', line 176

def SelectButton
  # Button label
  _("Sele&ct")
end

- (Object) SkipButton

Skip Button



248
249
250
251
# File '../../library/general/src/modules/Label.rb', line 248

def SkipButton
  # Button label
  _("&Skip")
end

- (Object) StopButton

Stop Button



224
225
226
227
# File '../../library/general/src/modules/Label.rb', line 224

def StopButton
  # Button label
  _("&Stop")
end

- (Object) UpButton

Up Button



164
165
166
167
# File '../../library/general/src/modules/Label.rb', line 164

def UpButton
  # Button label
  _("&Up")
end

- (Object) WarningMsg

Warning Message



254
255
256
257
# File '../../library/general/src/modules/Label.rb', line 254

def WarningMsg
  # this string is usually used as headline of a popup
  _("Warning")
end

- (Object) YesButton

Yes Button



62
63
64
65
# File '../../library/general/src/modules/Label.rb', line 62

def YesButton
  # Button label
  _("&Yes")
end