Class: Yast::LabelClass
- Inherits:
-
Module
- Object
- Module
- Yast::LabelClass
- Defined in:
- library/general/src/modules/Label.rb
Instance Method Summary collapse
-
#AbortButton ⇒ Object
Abort Button.
-
#AbortInstallationButton ⇒ Object
Abort Installation Button.
-
#AcceptButton ⇒ Object
Accept Button.
-
#AddButton ⇒ Object
Add Button.
-
#BackButton ⇒ Object
Back Button.
-
#BrowseButton ⇒ Object
Browse Button.
-
#CancelButton ⇒ Object
Cancel Button.
-
#CloseButton ⇒ Object
Close Button.
-
#ConfirmPassword ⇒ Object
Confirm Password TextEntry.
-
#ContinueButton ⇒ Object
Continue Button.
-
#CreateButton ⇒ Object
Create Button.
-
#DefaultFunctionKeyMap ⇒ Object
Default function key map.
-
#DeleteButton ⇒ Object
Delete Button.
-
#DoNotAcceptButton ⇒ Object
Do Not Accept Button.
-
#DontInstallButton ⇒ Object
Don't Install Button.
-
#DownButton ⇒ Object
Down Button.
-
#DownloadButton ⇒ Object
Download Button.
-
#EditButton ⇒ Object
Edit Button.
-
#ErrorMsg ⇒ Object
Error Message.
-
#FileName ⇒ Object
File Name TextEntry.
-
#FinishButton ⇒ Object
Finish Button.
-
#HelpButton ⇒ Object
Help Button.
-
#HostName ⇒ Object
Host Name TextEntry.
-
#IgnoreButton ⇒ Object
Ignore Button.
-
#InstallButton ⇒ Object
Install Button.
- #main ⇒ Object
-
#ModifyButton ⇒ Object
Modify Button.
-
#NewButton ⇒ Object
New Button.
-
#NextButton ⇒ Object
Next Button.
-
#NoButton ⇒ Object
No Button.
-
#OKButton ⇒ Object
OK Button.
-
#Options ⇒ Object
Options TextEntry.
-
#Password ⇒ Object
Password TextEntry.
-
#PleaseWaitMsg ⇒ Object
Please wait Message.
-
#Port ⇒ Object
Port TextEntry.
-
#QuitButton ⇒ Object
Quit Button.
-
#RefreshButton ⇒ Object
Refresh Button.
-
#RemoveButton ⇒ Object
Remove Button.
-
#ReplaceButton ⇒ Object
Replace Button.
-
#RetryButton ⇒ Object
Retry Button.
-
#SaveButton ⇒ Object
Save Button.
-
#SelectButton ⇒ Object
Select Button.
-
#SkipButton ⇒ Object
Skip Button.
-
#StopButton ⇒ Object
Stop Button.
-
#UpButton ⇒ Object
Up Button.
-
#WarningMsg ⇒ Object
Warning Message.
-
#YesButton ⇒ Object
Yes Button.
Instance Method Details
#AbortButton ⇒ Object
Abort Button
90 91 92 93 |
# File 'library/general/src/modules/Label.rb', line 90 def AbortButton # Button label _("Abo&rt") end |
#AbortInstallationButton ⇒ Object
Abort Installation Button
96 97 98 99 |
# File 'library/general/src/modules/Label.rb', line 96 def AbortInstallationButton # Button label _("Abo&rt Installation") end |
#AcceptButton ⇒ Object
Accept Button
132 133 134 135 |
# File 'library/general/src/modules/Label.rb', line 132 def AcceptButton # Button label _("&Accept") end |
#AddButton ⇒ Object
Add Button
42 43 44 45 |
# File 'library/general/src/modules/Label.rb', line 42 def AddButton # Button label _("&Add") end |
#BackButton ⇒ Object
Back Button
126 127 128 129 |
# File 'library/general/src/modules/Label.rb', line 126 def BackButton # Button label _("&Back") end |
#BrowseButton ⇒ Object
Browse Button
240 241 242 243 |
# File 'library/general/src/modules/Label.rb', line 240 def BrowseButton # Button label _("Bro&wse...") end |
#CancelButton ⇒ Object
Cancel Button
48 49 50 51 |
# File 'library/general/src/modules/Label.rb', line 48 def CancelButton # Button label _("&Cancel") end |
#CloseButton ⇒ Object
Close Button
234 235 236 237 |
# File 'library/general/src/modules/Label.rb', line 234 def CloseButton # Button label _("C&lose") end |
#ConfirmPassword ⇒ Object
Confirm Password TextEntry
327 328 329 330 |
# File 'library/general/src/modules/Label.rb', line 327 def ConfirmPassword # TextEntry Label _("C&onfirm Password") end |
#ContinueButton ⇒ Object
Continue Button
54 55 56 57 |
# File 'library/general/src/modules/Label.rb', line 54 def ContinueButton # Button label _("C&ontinue") end |
#CreateButton ⇒ Object
Create Button
246 247 248 249 |
# File 'library/general/src/modules/Label.rb', line 246 def CreateButton # Button label _("Crea&te") end |
#DefaultFunctionKeyMap ⇒ Object
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 |
#DeleteButton ⇒ Object
Delete Button
120 121 122 123 |
# File 'library/general/src/modules/Label.rb', line 120 def DeleteButton # Button label _("Dele&te") end |
#DoNotAcceptButton ⇒ Object
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 |
#DontInstallButton ⇒ Object
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 |
#DownButton ⇒ Object
Down Button
168 169 170 171 |
# File 'library/general/src/modules/Label.rb', line 168 def DownButton # Button label _("Do&wn") end |
#DownloadButton ⇒ Object
Download Button
216 217 218 219 |
# File 'library/general/src/modules/Label.rb', line 216 def DownloadButton # Button label _("&Download") end |
#EditButton ⇒ Object
Edit Button
78 79 80 81 |
# File 'library/general/src/modules/Label.rb', line 78 def EditButton # Button label _("Ed&it") end |
#ErrorMsg ⇒ Object
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 |
#FileName ⇒ Object
File Name TextEntry
315 316 317 318 |
# File 'library/general/src/modules/Label.rb', line 315 def FileName # TextEntry Label _("&Filename") end |
#FinishButton ⇒ Object
Finish Button
72 73 74 75 |
# File 'library/general/src/modules/Label.rb', line 72 def FinishButton # Button label _("&Finish") end |
#HelpButton ⇒ Object
Help Button
198 199 200 201 |
# File 'library/general/src/modules/Label.rb', line 198 def HelpButton # Button label _("&Help") end |
#HostName ⇒ Object
Host Name TextEntry
339 340 341 342 |
# File 'library/general/src/modules/Label.rb', line 339 def HostName # TextEntry Label _("&Hostname") end |
#IgnoreButton ⇒ Object
Ignore Button
102 103 104 105 |
# File 'library/general/src/modules/Label.rb', line 102 def IgnoreButton # Button label _("&Ignore") end |
#InstallButton ⇒ Object
Install Button
204 205 206 207 |
# File 'library/general/src/modules/Label.rb', line 204 def InstallButton # Button label _("&Install") end |
#main ⇒ Object
37 38 39 |
# File 'library/general/src/modules/Label.rb', line 37 def main textdomain "base" end |
#ModifyButton ⇒ Object
Modify Button
186 187 188 189 |
# File 'library/general/src/modules/Label.rb', line 186 def ModifyButton # Button label _("&Modify") end |
#NewButton ⇒ Object
New Button
114 115 116 117 |
# File 'library/general/src/modules/Label.rb', line 114 def NewButton # Button label _("Ne&w") end |
#NextButton ⇒ Object
Next Button
108 109 110 111 |
# File 'library/general/src/modules/Label.rb', line 108 def NextButton # Button label _("&Next") end |
#NoButton ⇒ Object
No Button
66 67 68 69 |
# File 'library/general/src/modules/Label.rb', line 66 def NoButton # Button label _("&No") end |
#OKButton ⇒ Object
OK Button
84 85 86 87 |
# File 'library/general/src/modules/Label.rb', line 84 def OKButton # Button label _("&OK") end |
#Options ⇒ Object
Options TextEntry
345 346 347 348 |
# File 'library/general/src/modules/Label.rb', line 345 def Options # TextEntry Label _("&Options") end |
#Password ⇒ Object
Password TextEntry
321 322 323 324 |
# File 'library/general/src/modules/Label.rb', line 321 def Password # TextEntry Label _("&Password") end |
#PleaseWaitMsg ⇒ Object
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 |
#Port ⇒ Object
Port TextEntry
333 334 335 336 |
# File 'library/general/src/modules/Label.rb', line 333 def Port # TextEntry Label _("&Port") end |
#QuitButton ⇒ Object
Quit Button
144 145 146 147 |
# File 'library/general/src/modules/Label.rb', line 144 def QuitButton # Button label _("&Quit") end |
#RefreshButton ⇒ Object
Refresh Button
192 193 194 195 |
# File 'library/general/src/modules/Label.rb', line 192 def RefreshButton # Button label _("&Refresh") end |
#RemoveButton ⇒ Object
Remove Button
180 181 182 183 |
# File 'library/general/src/modules/Label.rb', line 180 def RemoveButton # Button label _("Remo&ve") end |
#ReplaceButton ⇒ Object
Replace Button
156 157 158 159 |
# File 'library/general/src/modules/Label.rb', line 156 def ReplaceButton # Button label _("&Replace") end |
#RetryButton ⇒ Object
Retry Button
150 151 152 153 |
# File 'library/general/src/modules/Label.rb', line 150 def RetryButton # Button label _("Retr&y") end |
#SaveButton ⇒ Object
Save Button
222 223 224 225 |
# File 'library/general/src/modules/Label.rb', line 222 def SaveButton # Button label _("&Save") end |
#SelectButton ⇒ Object
Select Button
174 175 176 177 |
# File 'library/general/src/modules/Label.rb', line 174 def SelectButton # Button label _("Sele&ct") end |
#SkipButton ⇒ Object
Skip Button
252 253 254 255 |
# File 'library/general/src/modules/Label.rb', line 252 def SkipButton # Button label _("&Skip") end |
#StopButton ⇒ Object
Stop Button
228 229 230 231 |
# File 'library/general/src/modules/Label.rb', line 228 def StopButton # Button label _("&Stop") end |
#UpButton ⇒ Object
Up Button
162 163 164 165 |
# File 'library/general/src/modules/Label.rb', line 162 def UpButton # Button label _("&Up") end |
#WarningMsg ⇒ Object
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 |
#YesButton ⇒ Object
Yes Button
60 61 62 63 |
# File 'library/general/src/modules/Label.rb', line 60 def YesButton # Button label _("&Yes") end |