libzypp  17.3.0
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");
30  }
31  return _("invalid");
32 }
33 
35 {
36  switch (opt)
37  {
39  return _("The level of support is unspecified");
40  break;
42  return _("The vendor does not provide support.");
43  break;
45  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.");
46  break;
48  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.");
49  break;
51  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.");
52  break;
53  case VendorSupportACC:
54  return _("An additional customer contract is necessary for getting support.");
55  }
56  return _("Unknown support option. Description not available");
57 }
58 
59 }
60 
61 
Interface to gettext.
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.
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
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...
The package is known to be unsupported by the vendor.
#define _(MSG)
Definition: Gettext.h:29
Additional Customer Contract necessary.
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
std::string asUserString(const Tp &val_r)
Request a human readable (translated) string representation of Tp [Tp.asUserString()] Classes may imp...
Definition: String.h:40