Class: Yast::MessageClass
- Inherits:
-
Module
- Object
- Module
- Yast::MessageClass
- Defined in:
- ../../library/general/src/modules/Message.rb
Instance Method Summary (collapse)
-
- (String) CannotAdjustService(service_name)
Cannot ajust 'service_name' service.
-
- (String) CannotContinueWithoutPackagesInstalled
Cannot continue without required packages installed.
-
- (String) CannotOpenFile(file)
Cannot open file 'file'.
-
- (String) CannotOpenFileBecause(file, reason)
Cannot open file 'file'nnReason: reason.
-
- (String) CannotReadCurrentSettings
When is is not able to read current settings.
-
- (String) CannotRestartService(service_name)
Cannot restart 'service_name' service.
-
- (String) CannotStartService(service_name)
Cannot start 'service_name' service.
-
- (String) CannotStopService(service_name)
Cannot stop 'service_name' service.
-
- (String) CannotWriteSettingsTo(destination)
Cannot write settings to 'destination'.
-
- (String) CannotWriteSettingsToBecause(destination, reason)
Cannot write settings to 'destination'nnReason: reason.
-
- (String) CheckEnvironment
Check the environment.
-
- (String) DirectoryDoesNotExistCreate(directory)
Question: Directory does not exist.
-
- (Object) DomainHasChangedMustReboot
Domain has changed, you have to reboot now for domain to take effect.
-
- (String) DoNotShowMessageAgain
Push Button / CheckBox for not to disturb with this message again.
-
- (String) ErrorWritingFile(file)
Error writing file 'file'.
-
- (String) ErrorWritingFileBecause(file, reason)
Error writing file 'file'nnReason: reason.
-
- (String) FailedToInstallPackages
Installing packages failed.
-
- (String) Finished
Finished.
- - (Object) main
-
- (String) MissingParameter(parameter)
When some parameter is missing.
-
- (Object) RequiredItem
Required text item.
-
- (String) SuSEConfigFailed
Running SuSEConfig failed.
- - (Object) takes_a_while
-
- (String) UnableToCreateDirectory(directory)
When is is not able to create directory.
-
- (String) UnknownError(reason)
UnknownErrornnReason: reason.
- - (Object) updating_configuration
Instance Method Details
- (String) CannotAdjustService(service_name)
Cannot ajust 'service_name' service
218 219 220 221 |
# File '../../library/general/src/modules/Message.rb', line 218 def CannotAdjustService(service_name) # TRANSLATORS: Popup message, %1 is a service name like "smbd" Builtins.sformat(_("Cannot adjust '%1' service."), service_name) end |
- (String) CannotContinueWithoutPackagesInstalled
Cannot continue without required packages installed
44 45 46 47 48 49 |
# File '../../library/general/src/modules/Message.rb', line 44 def CannotContinueWithoutPackagesInstalled # TRANSLATORS: Popup message _( "YaST cannot continue the configuration\nwithout installing the required packages." ) end |
- (String) CannotOpenFile(file)
Cannot open file 'file'
136 137 138 139 140 141 142 |
# File '../../library/general/src/modules/Message.rb', line 136 def CannotOpenFile(file) # TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in" # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat(_("Cannot open file '%1'"), file) end |
- (String) CannotOpenFileBecause(file, reason)
Cannot open file 'file'nnReason: reason
148 149 150 151 152 153 154 |
# File '../../library/general/src/modules/Message.rb', line 148 def CannotOpenFileBecause(file, reason) # TRANSLATORS: Popup message, %1 is the name of file like "/tmp/in", %2 is the reason of error # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat(_("Cannot open file '%1'.\n\nReason: %2"), file, reason) end |
- (String) CannotReadCurrentSettings
When is is not able to read current settings
244 245 246 247 |
# File '../../library/general/src/modules/Message.rb', line 244 def CannotReadCurrentSettings # TRANSLATORS: Popup message _("Cannot read current settings.") end |
- (String) CannotRestartService(service_name)
Cannot restart 'service_name' service
62 63 64 65 |
# File '../../library/general/src/modules/Message.rb', line 62 def CannotRestartService(service_name) # TRANSLATORS: Popup message, %1 is a service name like "smbd" Builtins.sformat(_("Cannot restart '%1' service"), service_name) end |
- (String) CannotStartService(service_name)
Cannot start 'service_name' service
54 55 56 57 |
# File '../../library/general/src/modules/Message.rb', line 54 def CannotStartService(service_name) # TRANSLATORS: Popup message, %1 is a service name like "smbd" Builtins.sformat(_("Cannot start '%1' service"), service_name) end |
- (String) CannotStopService(service_name)
Cannot stop 'service_name' service
70 71 72 73 |
# File '../../library/general/src/modules/Message.rb', line 70 def CannotStopService(service_name) # TRANSLATORS: Popup message, %1 is a service name like "smbd" Builtins.sformat(_("Cannot stop '%1' service"), service_name) end |
- (String) CannotWriteSettingsTo(destination)
Cannot write settings to 'destination'
78 79 80 81 82 83 84 |
# File '../../library/general/src/modules/Message.rb', line 78 def CannotWriteSettingsTo(destination) # TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP" # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat(_("Cannot write settings to '%1'"), destination) end |
- (String) CannotWriteSettingsToBecause(destination, reason)
Cannot write settings to 'destination'nnReason: reason
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
# File '../../library/general/src/modules/Message.rb', line 90 def CannotWriteSettingsToBecause(destination, reason) # TRANSLATORS: Popup message, %1 is file or service name like "/tmp/out" or "LDAP", %2 is the reason of error # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat( _( "Cannot write settings to '%1'.\n" \ "\n" \ "Reason: %2" ), destination, reason ) end |
- (String) CheckEnvironment
Check the environment
165 166 167 168 |
# File '../../library/general/src/modules/Message.rb', line 165 def CheckEnvironment # TRANSLATORS: Progress stage text _("Check the environment") end |
- (String) DirectoryDoesNotExistCreate(directory)
Question: Directory does not exist. Create it?
187 188 189 190 191 192 193 194 195 196 |
# File '../../library/general/src/modules/Message.rb', line 187 def DirectoryDoesNotExistCreate(directory) # TRANSLATORS: Popup question # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English directory # (see BNC #584466 for details) Builtins.sformat( _("The directory '%1' does not exist.\nCreate it?"), directory ) end |
- (Object) DomainHasChangedMustReboot
Domain has changed, you have to reboot now for domain to take effect
201 202 203 204 205 206 |
# File '../../library/general/src/modules/Message.rb', line 201 def DomainHasChangedMustReboot # TRANSLATORS: Popup message _( "The domain has changed.\nYou must reboot for the changes to take effect." ) end |
- (String) DoNotShowMessageAgain
Push Button / CheckBox for not to disturb with this message again
210 211 212 213 |
# File '../../library/general/src/modules/Message.rb', line 210 def DoNotShowMessageAgain # TRANSLATORS: CheckBox / Button _("Do Not Show This Message &Again") end |
- (String) ErrorWritingFile(file)
Error writing file 'file'
109 110 111 112 113 114 115 |
# File '../../library/general/src/modules/Message.rb', line 109 def ErrorWritingFile(file) # TRANSLATORS: Popup message, %1 is a file name like "/tmp/out" # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat(_("Error writing file '%1'"), file) end |
- (String) ErrorWritingFileBecause(file, reason)
Error writing file 'file'nnReason: reason
121 122 123 124 125 126 127 128 129 130 131 |
# File '../../library/general/src/modules/Message.rb', line 121 def ErrorWritingFileBecause(file, reason) # TRANSLATORS: Popup message, %1 is a file name like "/tmp/out", %2 is the reason of error # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English filename # (see BNC #584466 for details) Builtins.sformat( _("Error writing file '%1'.\n\nReason: %2"), file, reason ) end |
- (String) FailedToInstallPackages
Installing packages failed
258 259 260 261 |
# File '../../library/general/src/modules/Message.rb', line 258 def FailedToInstallPackages # TRANSLATORS: Popup message _("Failed to install required packages.") end |
- (String) Finished
Finished
158 159 160 161 |
# File '../../library/general/src/modules/Message.rb', line 158 def Finished # TRANSLATORS: Progress stage text _("Finished") end |
- (Object) main
38 39 40 |
# File '../../library/general/src/modules/Message.rb', line 38 def main textdomain "base" end |
- (String) MissingParameter(parameter)
When some parameter is missing
226 227 228 229 |
# File '../../library/general/src/modules/Message.rb', line 226 def MissingParameter(parameter) # TRANSLATORS: Popup message, %1 is a missing-parameter name Builtins.sformat(_("Missing parameter '%1'."), parameter) end |
- (Object) RequiredItem
Required text item
180 181 182 183 |
# File '../../library/general/src/modules/Message.rb', line 180 def RequiredItem # TRANSLATORS: Popup message _("This item must be completed.") end |
- (String) SuSEConfigFailed
Running SuSEConfig failed
251 252 253 254 |
# File '../../library/general/src/modules/Message.rb', line 251 def SuSEConfigFailed # TRANSLATORS: Popup message _("SuSEconfig script failed.") end |
- (Object) takes_a_while
268 269 270 |
# File '../../library/general/src/modules/Message.rb', line 268 def takes_a_while _("This may take a while.") end |
- (String) UnableToCreateDirectory(directory)
When is is not able to create directory
234 235 236 237 238 239 240 |
# File '../../library/general/src/modules/Message.rb', line 234 def UnableToCreateDirectory(directory) # TRANSLATORS: Popup message, %1 is a directory name # For Right-To-Left languages, you want to put %1 into its own empty line so # the text renderer doesn't get trip with the English directory # (see BNC #584466 for details) Builtins.sformat(_("Cannot create directory '%1'."), directory) end |
- (String) UnknownError(reason)
UnknownErrornnReason: reason
173 174 175 176 |
# File '../../library/general/src/modules/Message.rb', line 173 def UnknownError(reason) # TRANSLATORS: Popup message, %1 is the description of error Builtins.sformat(_("Unknown Error.\n\nDescription: %1"), reason) end |
- (Object) updating_configuration
263 264 265 266 |
# File '../../library/general/src/modules/Message.rb', line 263 def updating_configuration # TRANSLATORS: Popup message _("Updating system configuration...") end |