Class: Yast::MessageClass

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

Instance Method Summary collapse

Instance Method Details

#CannotAdjustService(service_name) ⇒ String

Cannot ajust 'service_name' service

Parameters:

Returns:

  • (String)

    Cannot adjust '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

#CannotContinueWithoutPackagesInstalledString

Cannot continue without required packages installed

Returns:

  • (String)

    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

#CannotOpenFile(file) ⇒ String

Cannot open file 'file'

Parameters:

Returns:

  • (String)

    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

#CannotOpenFileBecause(file, reason) ⇒ String

Cannot open file 'file'nnReason: reason

Parameters:

Returns:

  • (String)

    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

#CannotReadCurrentSettingsString

When is is not able to read current settings

Returns:

  • (String)

    Cannot 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

#CannotRestartService(service_name) ⇒ String

Cannot restart 'service_name' service

Parameters:

Returns:

  • (String)

    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

#CannotStartService(service_name) ⇒ String

Cannot start 'service_name' service

Parameters:

Returns:

  • (String)

    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

#CannotStopService(service_name) ⇒ String

Cannot stop 'service_name' service

Parameters:

Returns:

  • (String)

    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

#CannotWriteSettingsTo(destination) ⇒ String

Cannot write settings to 'destination'

Parameters:

Returns:

  • (String)

    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

#CannotWriteSettingsToBecause(destination, reason) ⇒ String

Cannot write settings to 'destination'nnReason: reason

Parameters:

Returns:

  • (String)

    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

#CheckEnvironmentString

Check the environment

Returns:

  • (String)

    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

#DirectoryDoesNotExistCreate(directory) ⇒ String

Question: Directory does not exist. Create it?

Returns:

  • (String)

    The directory '%1' does not exist.nCreate 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

#DomainHasChangedMustRebootObject

Domain has changed, you have to reboot now for domain to take effect

Returns:

  • The domain has changed.nYou must reboot for the changes 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

#DoNotShowMessageAgainString

Push Button / CheckBox for not to disturb with this message again

Returns:

  • (String)

    Do Not Show 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

#ErrorWritingFile(file) ⇒ String

Error writing file 'file'

Parameters:

Returns:

  • (String)

    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

#ErrorWritingFileBecause(file, reason) ⇒ String

Error writing file 'file'nnReason: reason

Parameters:

Returns:

  • (String)

    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

#FailedToInstallPackagesString

Installing packages failed

Returns:

  • (String)

    Failed to install required packages.



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

def FailedToInstallPackages
  # TRANSLATORS: Popup message
  _("Failed to install required packages.")
end

#FinishedString

Finished

Returns:



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

def Finished
  # TRANSLATORS: Progress stage text
  _("Finished")
end

#mainObject



38
39
40
# File 'library/general/src/modules/Message.rb', line 38

def main
  textdomain "base"
end

#MissingParameter(parameter) ⇒ String

When some parameter is missing

Parameters:

Returns:

  • (String)

    Missing parameter '%1'.



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

#RequiredItemObject

Required text item

Returns:

  • This item is required to be filled in



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

def RequiredItem
  # TRANSLATORS: Popup message
  _("This item must be completed.")
end

#SuSEConfigFailedString

Running SuSEConfig failed

Returns:

  • (String)

    SuSEconfig script failed.



251
252
253
254
# File 'library/general/src/modules/Message.rb', line 251

def SuSEConfigFailed
  # TRANSLATORS: Popup message
  _("SuSEconfig script failed.")
end

#takes_a_whileObject



268
269
270
# File 'library/general/src/modules/Message.rb', line 268

def takes_a_while
  _("This may take a while.")
end

#UnableToCreateDirectory(directory) ⇒ String

When is is not able to create directory

Parameters:

Returns:

  • (String)

    Unable to create directory '%1'.



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

#UnknownError(reason) ⇒ String

UnknownErrornnReason: reason

Parameters:

Returns:

  • (String)

    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

#updating_configurationObject



263
264
265
266
# File 'library/general/src/modules/Message.rb', line 263

def updating_configuration
  # TRANSLATORS: Popup message
  _("Updating system configuration...")
end