/
VendorSupportOptions.cc
61 lines (54 loc) · 1.96 KB
/
VendorSupportOptions.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#include "zypp/VendorSupportOptions.h"
#include "zypp/base/Gettext.h"
namespace zypp
{
std::string
asUserString( VendorSupportOption opt )
{
switch (opt)
{
case VendorSupportUnknown:
return _("unknown");
break;
case VendorSupportUnsupported:
return _("unsupported");
break;
case VendorSupportLevel1:
return _("Level 1");
break;
case VendorSupportLevel2:
return _("Level 2");
break;
case VendorSupportLevel3:
return _("Level 3");
break;
case VendorSupportACC:
return _("Additional Customer Contract Necessary");
}
return _("invalid");
}
std::string asUserStringDescription( VendorSupportOption opt )
{
switch (opt)
{
case VendorSupportUnknown:
return _("The level of support is unspecified");
break;
case VendorSupportUnsupported:
return _("The vendor does not provide support.");
break;
case VendorSupportLevel1:
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.");
break;
case VendorSupportLevel2:
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.");
break;
case VendorSupportLevel3:
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.");
break;
case VendorSupportACC:
return _("An additional customer contract is necessary for getting support.");
}
return _("Unknown support option. Description not available");
}
}