Class: Yast::LabelClass

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

Instance Method Summary collapse

Instance Method Details

#AbortButtonObject

Abort Button



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

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

#AbortInstallationButtonObject

Abort Installation Button



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

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

#AcceptButtonObject

Accept Button



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

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

#AddButtonObject

Add Button



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

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

#BackButtonObject

Back Button



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

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

#BrowseButtonObject

Browse Button



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

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

#CancelButtonObject

Cancel Button



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

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

#CloseButtonObject

Close Button



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

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

#ConfirmPasswordObject

Confirm Password TextEntry



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

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

#ContinueButtonObject

Continue Button



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

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

#CreateButtonObject

Create Button



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

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

#DefaultFunctionKeyMapObject

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

#DeleteButtonObject

Delete Button



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

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

#DoNotAcceptButtonObject

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

#DontInstallButtonObject

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

#DownButtonObject

Down Button



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

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

#DownloadButtonObject

Download Button



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

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

#EditButtonObject

Edit Button



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

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

#ErrorMsgObject

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

#FileNameObject

File Name TextEntry



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

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

#FinishButtonObject

Finish Button



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

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

#HelpButtonObject

Help Button



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

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

#HostNameObject

Host Name TextEntry



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

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

#IgnoreButtonObject

Ignore Button



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

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

#InstallButtonObject

Install Button



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

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

#mainObject



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

def main
  textdomain "base"
end

#NewButtonObject

New Button



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

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

#NextButtonObject

Next Button



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

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

#NoButtonObject

No Button



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

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

#OKButtonObject

OK Button



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

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

#OptionsObject

Options TextEntry



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

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

#PasswordObject

Password TextEntry



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

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

#PleaseWaitMsgObject

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

#PortObject

Port TextEntry



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

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

#QuitButtonObject

Quit Button



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

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

#RefreshButtonObject

Refresh Button



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

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

#RemoveButtonObject

Remove Button



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

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

#ReplaceButtonObject

Replace Button



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

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

#RetryButtonObject

Retry Button



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

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

#SaveButtonObject

Save Button



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

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

#SelectButtonObject

Select Button



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

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

#SkipButtonObject

Skip Button



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

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

#StopButtonObject

Stop Button



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

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

#UpButtonObject

Up Button



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

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

#WarningMsgObject

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

#YesButtonObject

Yes Button



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

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