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
-
#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
92 93 94 95 |
# File 'library/general/src/modules/Label.rb', line 92 def AbortButton # Button label _("Abo&rt") end |
#AbortInstallationButton ⇒ Object
Abort Installation Button
98 99 100 101 |
# File 'library/general/src/modules/Label.rb', line 98 def AbortInstallationButton # Button label _("Abo&rt Installation") end |
#AcceptButton ⇒ Object
Accept Button
134 135 136 137 |
# File 'library/general/src/modules/Label.rb', line 134 def AcceptButton # Button label _("&Accept") end |
#AddButton ⇒ Object
Add Button
44 45 46 47 |
# File 'library/general/src/modules/Label.rb', line 44 def AddButton # Button label _("&Add") end |
#BackButton ⇒ Object
Back Button
128 129 130 131 |
# File 'library/general/src/modules/Label.rb', line 128 def BackButton # Button label _("&Back") end |
#BrowseButton ⇒ Object
Browse Button
236 237 238 239 |
# File 'library/general/src/modules/Label.rb', line 236 def BrowseButton # Button label _("Bro&wse...") end |
#CancelButton ⇒ Object
Cancel Button
50 51 52 53 |
# File 'library/general/src/modules/Label.rb', line 50 def CancelButton # Button label _("&Cancel") end |
#CloseButton ⇒ Object
Close Button
230 231 232 233 |
# File 'library/general/src/modules/Label.rb', line 230 def CloseButton # Button label _("C&lose") end |
#ConfirmPassword ⇒ Object
Confirm Password TextEntry
323 324 325 326 |
# File 'library/general/src/modules/Label.rb', line 323 def ConfirmPassword # TextEntry Label _("C&onfirm Password") end |
#ContinueButton ⇒ Object
Continue Button
56 57 58 59 |
# File 'library/general/src/modules/Label.rb', line 56 def ContinueButton # Button label _("C&ontinue") end |
#CreateButton ⇒ Object
Create Button
242 243 244 245 |
# File 'library/general/src/modules/Label.rb', line 242 def CreateButton # Button label _("Crea&te") end |
#DefaultFunctionKeyMap ⇒ Object
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 |
#DeleteButton ⇒ Object
Delete Button
122 123 124 125 |
# File 'library/general/src/modules/Label.rb', line 122 def DeleteButton # Button label _("Dele&te") end |
#DoNotAcceptButton ⇒ Object
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 |
#DontInstallButton ⇒ Object
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 |
#DownButton ⇒ Object
Down Button
170 171 172 173 |
# File 'library/general/src/modules/Label.rb', line 170 def DownButton # Button label _("Do&wn") end |
#DownloadButton ⇒ Object
Download Button
212 213 214 215 |
# File 'library/general/src/modules/Label.rb', line 212 def DownloadButton # Button label _("&Download") end |
#EditButton ⇒ Object
Edit Button
80 81 82 83 |
# File 'library/general/src/modules/Label.rb', line 80 def EditButton # Button label _("Ed&it") end |
#ErrorMsg ⇒ Object
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 |
#FileName ⇒ Object
File Name TextEntry
311 312 313 314 |
# File 'library/general/src/modules/Label.rb', line 311 def FileName # TextEntry Label _("&Filename") end |
#FinishButton ⇒ Object
Finish Button
74 75 76 77 |
# File 'library/general/src/modules/Label.rb', line 74 def FinishButton # Button label _("&Finish") end |
#HelpButton ⇒ Object
Help Button
194 195 196 197 |
# File 'library/general/src/modules/Label.rb', line 194 def HelpButton # Button label _("&Help") end |
#HostName ⇒ Object
Host Name TextEntry
335 336 337 338 |
# File 'library/general/src/modules/Label.rb', line 335 def HostName # TextEntry Label _("&Hostname") end |
#IgnoreButton ⇒ Object
Ignore Button
104 105 106 107 |
# File 'library/general/src/modules/Label.rb', line 104 def IgnoreButton # Button label _("&Ignore") end |
#InstallButton ⇒ Object
Install Button
200 201 202 203 |
# File 'library/general/src/modules/Label.rb', line 200 def InstallButton # Button label _("&Install") end |
#main ⇒ Object
39 40 41 |
# File 'library/general/src/modules/Label.rb', line 39 def main textdomain "base" end |
#NewButton ⇒ Object
New Button
116 117 118 119 |
# File 'library/general/src/modules/Label.rb', line 116 def NewButton # Button label _("Ne&w") end |
#NextButton ⇒ Object
Next Button
110 111 112 113 |
# File 'library/general/src/modules/Label.rb', line 110 def NextButton # Button label _("&Next") end |
#NoButton ⇒ Object
No Button
68 69 70 71 |
# File 'library/general/src/modules/Label.rb', line 68 def NoButton # Button label _("&No") end |
#OKButton ⇒ Object
OK Button
86 87 88 89 |
# File 'library/general/src/modules/Label.rb', line 86 def OKButton # Button label _("&OK") end |
#Options ⇒ Object
Options TextEntry
341 342 343 344 |
# File 'library/general/src/modules/Label.rb', line 341 def Options # TextEntry Label _("&Options") end |
#Password ⇒ Object
Password TextEntry
317 318 319 320 |
# File 'library/general/src/modules/Label.rb', line 317 def Password # TextEntry Label _("&Password") end |
#PleaseWaitMsg ⇒ Object
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 |
#Port ⇒ Object
Port TextEntry
329 330 331 332 |
# File 'library/general/src/modules/Label.rb', line 329 def Port # TextEntry Label _("&Port") end |
#QuitButton ⇒ Object
Quit Button
146 147 148 149 |
# File 'library/general/src/modules/Label.rb', line 146 def QuitButton # Button label _("&Quit") end |
#RefreshButton ⇒ Object
Refresh Button
188 189 190 191 |
# File 'library/general/src/modules/Label.rb', line 188 def RefreshButton # Button label _("&Refresh") end |
#RemoveButton ⇒ Object
Remove Button
182 183 184 185 |
# File 'library/general/src/modules/Label.rb', line 182 def RemoveButton # Button label _("Remo&ve") end |
#ReplaceButton ⇒ Object
Replace Button
158 159 160 161 |
# File 'library/general/src/modules/Label.rb', line 158 def ReplaceButton # Button label _("&Replace") end |
#RetryButton ⇒ Object
Retry Button
152 153 154 155 |
# File 'library/general/src/modules/Label.rb', line 152 def RetryButton # Button label _("Retr&y") end |
#SaveButton ⇒ Object
Save Button
218 219 220 221 |
# File 'library/general/src/modules/Label.rb', line 218 def SaveButton # Button label _("&Save") end |
#SelectButton ⇒ Object
Select Button
176 177 178 179 |
# File 'library/general/src/modules/Label.rb', line 176 def SelectButton # Button label _("Sele&ct") end |
#SkipButton ⇒ Object
Skip Button
248 249 250 251 |
# File 'library/general/src/modules/Label.rb', line 248 def SkipButton # Button label _("&Skip") end |
#StopButton ⇒ Object
Stop Button
224 225 226 227 |
# File 'library/general/src/modules/Label.rb', line 224 def StopButton # Button label _("&Stop") end |
#UpButton ⇒ Object
Up Button
164 165 166 167 |
# File 'library/general/src/modules/Label.rb', line 164 def UpButton # Button label _("&Up") end |
#WarningMsg ⇒ Object
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 |
#YesButton ⇒ Object
Yes Button
62 63 64 65 |
# File 'library/general/src/modules/Label.rb', line 62 def YesButton # Button label _("&Yes") end |