Imported Upstream version 15.21.0
[platform/upstream/libzypp.git] / zypp / VendorSupportOptions.cc
1
2 #include "zypp/VendorSupportOptions.h"
3 #include "zypp/base/Gettext.h"
4
5 namespace zypp
6 {
7     
8 std::string
9 asUserString( VendorSupportOption opt )
10 {
11     switch (opt)
12     {
13     case VendorSupportUnknown:
14         return _("unknown");
15         break;
16     case VendorSupportUnsupported:
17         return _("unsupported");
18         break;        
19     case VendorSupportLevel1:
20         return _("Level 1");
21         break;
22     case VendorSupportLevel2:
23         return _("Level 2");
24         break;
25     case VendorSupportLevel3:
26         return _("Level 3");
27         break;
28     case VendorSupportACC:
29         return _("Additional Customer Contract Necessary");
30     }
31     return _("invalid");
32 }
33     
34 std::string asUserStringDescription( VendorSupportOption opt )
35 {
36     switch (opt)
37     {
38     case VendorSupportUnknown:
39         return _("The level of support is unspecified");
40         break;
41     case VendorSupportUnsupported:
42         return _("The vendor does not provide support.");
43         break;        
44     case VendorSupportLevel1:
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;
47     case VendorSupportLevel2:
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;
50     case VendorSupportLevel3:
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