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


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

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


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

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'


134
135
136
137
138
139
140
# File 'library/general/src/modules/Message.rb', line 134

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'\n\nReason: reason

Parameters:

Returns:

  • (String)

    Cannot open file 'file'\n\nReason: reason


146
147
148
149
150
151
152
# File 'library/general/src/modules/Message.rb', line 146

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.


242
243
244
245
# File 'library/general/src/modules/Message.rb', line 242

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


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

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


52
53
54
55
# File 'library/general/src/modules/Message.rb', line 52

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


68
69
70
71
# File 'library/general/src/modules/Message.rb', line 68

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'


76
77
78
79
80
81
82
# File 'library/general/src/modules/Message.rb', line 76

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'\n\nReason: reason

Parameters:

Returns:

  • (String)

    Cannot write settings to 'destination'\n\nReason: reason


88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'library/general/src/modules/Message.rb', line 88

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


163
164
165
166
# File 'library/general/src/modules/Message.rb', line 163

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?


185
186
187
188
189
190
191
192
193
194
# File 'library/general/src/modules/Message.rb', line 185

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.


199
200
201
202
203
204
# File 'library/general/src/modules/Message.rb', line 199

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


208
209
210
211
# File 'library/general/src/modules/Message.rb', line 208

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'


107
108
109
110
111
112
113
# File 'library/general/src/modules/Message.rb', line 107

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'\n\nReason: reason

Parameters:

Returns:

  • (String)

    Error writing file 'file'\n\nReason: reason


119
120
121
122
123
124
125
126
127
128
129
# File 'library/general/src/modules/Message.rb', line 119

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.


256
257
258
259
# File 'library/general/src/modules/Message.rb', line 256

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

#FinishedString

Finished

Returns:


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

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

#mainObject


36
37
38
# File 'library/general/src/modules/Message.rb', line 36

def main
  textdomain "base"
end

#MissingParameter(parameter) ⇒ String

When some parameter is missing

Parameters:

Returns:

  • (String)

    Missing parameter '%1'.


224
225
226
227
# File 'library/general/src/modules/Message.rb', line 224

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


178
179
180
181
# File 'library/general/src/modules/Message.rb', line 178

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

#SuSEConfigFailedString

Running SuSEConfig failed

Returns:

  • (String)

    SuSEconfig script failed.


249
250
251
252
# File 'library/general/src/modules/Message.rb', line 249

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

#takes_a_whileObject


266
267
268
# File 'library/general/src/modules/Message.rb', line 266

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'.


232
233
234
235
236
237
238
# File 'library/general/src/modules/Message.rb', line 232

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

UnknownError\n\nReason: reason

Parameters:

Returns:

  • (String)

    UnknownError\n\nReason: reason


171
172
173
174
# File 'library/general/src/modules/Message.rb', line 171

def UnknownError(reason)
  # TRANSLATORS: Popup message, %1 is the description of error
  Builtins.sformat(_("Unknown Error.\n\nDescription: %1"), reason)
end

#updating_configurationObject


261
262
263
264
# File 'library/general/src/modules/Message.rb', line 261

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