libzypp  17.35.11
VendorSupportOptions.cc
Go to the documentation of this file.
1 
3 #include <zypp/base/Gettext.h>
4 
5 namespace zypp
6 {
7 
8 std::string
10 {
11  switch (opt)
12  {
14  return _("unknown");
15  break;
17  return _("unsupported");
18  break;
20  return _("Level 1");
21  break;
23  return _("Level 2");
24  break;
26  return _("Level 3");
27  break;
28  case VendorSupportACC:
29  return _("Additional Customer Contract Necessary");
31  return _("Discontinued and superseded by a different package");
32  }
33  return _("invalid");
34 }
35 
37 {
38  switch (opt)
39  {
41  return _("The level of support is unspecified");
42  break;
44  return _("The vendor does not provide support.");
45  break;
47  return _("Problem determination, which means technical support designed to provide compatibility information, installation assistance, usage support, on-going maintenance and basic troubleshooting. Level 1 Support is not intended to correct product defect errors.");
48  break;
50  return _("Problem isolation, which means technical support designed to duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support.");
51  break;
53  return _("Problem resolution, which means technical support designed to resolve complex problems by engaging engineering in resolution of product defects which have been identified by Level 2 Support.");
54  break;
55  case VendorSupportACC:
56  return _("An additional customer contract is necessary for getting support.");
58  return _("The package was discontinued and has been superseded by a new package with a different name.");
59  }
60  return _("Unknown support option. Description not available");
61 }
62 
63 }
64 
65 
Interface to gettext.
The package was discontinued and has been superseded by a new package with a different name...
#define _(MSG)
Definition: Gettext.h:39
Problem isolation, which means technical support designed to duplicate customer problems, isolate problem area and provide resolution for problems not resolved by Level 1 Support.
The support for this package is unknown.
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
Problem determination, which means technical support designed to provide compatibility information...
std::string asUserString(VendorSupportOption opt)
converts the support option to a name intended to be printed to the user.
The package is known to be unsupported by the vendor.
Additional Customer Contract necessary.
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
Easy-to use interface to the ZYPP dependency resolver.
Definition: Application.cc:19