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



90
91
92
93
# File 'library/general/src/modules/Label.rb', line 90

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

#AbortInstallationButtonObject

Abort Installation Button



96
97
98
99
# File 'library/general/src/modules/Label.rb', line 96

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

#AcceptButtonObject

Accept Button



132
133
134
135
# File 'library/general/src/modules/Label.rb', line 132

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

#AddButtonObject

Add Button



42
43
44
45
# File 'library/general/src/modules/Label.rb', line 42

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

#BackButtonObject

Back Button



126
127
128
129
# File 'library/general/src/modules/Label.rb', line 126

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

#BrowseButtonObject

Browse Button



240
241
242
243
# File 'library/general/src/modules/Label.rb', line 240

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

#CancelButtonObject

Cancel Button



48
49
50
51
# File 'library/general/src/modules/Label.rb', line 48

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

#CloseButtonObject

Close Button



234
235
236
237
# File 'library/general/src/modules/Label.rb', line 234

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

#ConfirmPasswordObject

Confirm Password TextEntry



327
328
329
330
# File 'library/general/src/modules/Label.rb', line 327

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

#ContinueButtonObject

Continue Button



54
55
56
57
# File 'library/general/src/modules/Label.rb', line 54

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

#CreateButtonObject

Create Button



246
247
248
249
# File 'library/general/src/modules/Label.rb', line 246

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

#DefaultFunctionKeyMapObject

Default function key map



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
305
306
307
308
# File 'library/general/src/modules/Label.rb', line 276

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



120
121
122
123
# File 'library/general/src/modules/Label.rb', line 120

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

#DoNotAcceptButtonObject

Do Not Accept Button



138
139
140
141
# File 'library/general/src/modules/Label.rb', line 138

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

#DontInstallButtonObject

Don't Install Button



210
211
212
213
# File 'library/general/src/modules/Label.rb', line 210

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

#DownButtonObject

Down Button



168
169
170
171
# File 'library/general/src/modules/Label.rb', line 168

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

#DownloadButtonObject

Download Button



216
217
218
219
# File 'library/general/src/modules/Label.rb', line 216

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

#EditButtonObject

Edit Button



78
79
80
81
# File 'library/general/src/modules/Label.rb', line 78

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

#ErrorMsgObject

Error Message



264
265
266
267
# File 'library/general/src/modules/Label.rb', line 264

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

#FileNameObject

File Name TextEntry



315
316
317
318
# File 'library/general/src/modules/Label.rb', line 315

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

#FinishButtonObject

Finish Button



72
73
74
75
# File 'library/general/src/modules/Label.rb', line 72

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

#HelpButtonObject

Help Button



198
199
200
201
# File 'library/general/src/modules/Label.rb', line 198

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

#HostNameObject

Host Name TextEntry



339
340
341
342
# File 'library/general/src/modules/Label.rb', line 339

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

#IgnoreButtonObject

Ignore Button



102
103
104
105
# File 'library/general/src/modules/Label.rb', line 102

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

#InstallButtonObject

Install Button



204
205
206
207
# File 'library/general/src/modules/Label.rb', line 204

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

#mainObject



37
38
39
# File 'library/general/src/modules/Label.rb', line 37

def main
  textdomain "base"
end

#ModifyButtonObject

Modify Button



186
187
188
189
# File 'library/general/src/modules/Label.rb', line 186

def ModifyButton
  # Button label
  _("&Modify")
end

#NewButtonObject

New Button



114
115
116
117
# File 'library/general/src/modules/Label.rb', line 114

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

#NextButtonObject

Next Button



108
109
110
111
# File 'library/general/src/modules/Label.rb', line 108

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

#NoButtonObject

No Button



66
67
68
69
# File 'library/general/src/modules/Label.rb', line 66

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

#OKButtonObject

OK Button



84
85
86
87
# File 'library/general/src/modules/Label.rb', line 84

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

#OptionsObject

Options TextEntry



345
346
347
348
# File 'library/general/src/modules/Label.rb', line 345

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

#PasswordObject

Password TextEntry



321
322
323
324
# File 'library/general/src/modules/Label.rb', line 321

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

#PleaseWaitMsgObject

Please wait Message



270
271
272
273
# File 'library/general/src/modules/Label.rb', line 270

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

#PortObject

Port TextEntry



333
334
335
336
# File 'library/general/src/modules/Label.rb', line 333

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

#QuitButtonObject

Quit Button



144
145
146
147
# File 'library/general/src/modules/Label.rb', line 144

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

#RefreshButtonObject

Refresh Button



192
193
194
195
# File 'library/general/src/modules/Label.rb', line 192

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

#RemoveButtonObject

Remove Button



180
181
182
183
# File 'library/general/src/modules/Label.rb', line 180

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

#ReplaceButtonObject

Replace Button



156
157
158
159
# File 'library/general/src/modules/Label.rb', line 156

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

#RetryButtonObject

Retry Button



150
151
152
153
# File 'library/general/src/modules/Label.rb', line 150

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

#SaveButtonObject

Save Button



222
223
224
225
# File 'library/general/src/modules/Label.rb', line 222

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

#SelectButtonObject

Select Button



174
175
176
177
# File 'library/general/src/modules/Label.rb', line 174

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

#SkipButtonObject

Skip Button



252
253
254
255
# File 'library/general/src/modules/Label.rb', line 252

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

#StopButtonObject

Stop Button



228
229
230
231
# File 'library/general/src/modules/Label.rb', line 228

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

#UpButtonObject

Up Button



162
163
164
165
# File 'library/general/src/modules/Label.rb', line 162

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

#WarningMsgObject

Warning Message



258
259
260
261
# File 'library/general/src/modules/Label.rb', line 258

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

#YesButtonObject

Yes Button



60
61
62
63
# File 'library/general/src/modules/Label.rb', line 60

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