libzypp 17.31.23
VendorSupportOptions.cc
Go to the documentation of this file.
1
3#include <zypp/base/Gettext.h>
4
5namespace zypp
6{
7
8std::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;
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;
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
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:2
std::string asUserString(VendorSupportOption opt)
converts the support option to a name intended to be printed to the user.
@ VendorSupportACC
Additional Customer Contract necessary.
@ VendorSupportLevel3
Problem resolution, which means technical support designed to resolve complex problems by engaging en...
@ VendorSupportUnknown
The support for this package is unknown.
@ VendorSupportLevel1
Problem determination, which means technical support designed to provide compatibility information,...
@ VendorSupportUnsupported
The package is known to be unsupported by the vendor.
@ VendorSupportLevel2
Problem isolation, which means technical support designed to duplicate customer problems,...
std::string asUserStringDescription(VendorSupportOption opt)
converts the support option to a description intended to be printed to the user.
#define _(MSG)
Definition: Gettext.h:37