libzypp
10.5.0
|
00001 00002 #include "zypp/VendorSupportOptions.h" 00003 #include "zypp/base/Gettext.h" 00004 00005 namespace zypp 00006 { 00007 00008 std::string 00009 asUserString( VendorSupportOption opt ) 00010 { 00011 switch (opt) 00012 { 00013 case VendorSupportUnknown: 00014 return _("unknown"); 00015 break; 00016 case VendorSupportUnsupported: 00017 return _("unsupported"); 00018 break; 00019 case VendorSupportLevel1: 00020 return _("Level 1"); 00021 break; 00022 case VendorSupportLevel2: 00023 return _("Level 2"); 00024 break; 00025 case VendorSupportLevel3: 00026 return _("Level 3"); 00027 break; 00028 case VendorSupportACC: 00029 return _("Additional Customer Contract Necessary"); 00030 } 00031 return _("invalid"); 00032 } 00033 00034 std::string asUserStringDescription( VendorSupportOption opt ) 00035 { 00036 switch (opt) 00037 { 00038 case VendorSupportUnknown: 00039 return _("The level of support is unspecified"); 00040 break; 00041 case VendorSupportUnsupported: 00042 return _("The vendor does not provide support."); 00043 break; 00044 case VendorSupportLevel1: 00045 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."); 00046 break; 00047 case VendorSupportLevel2: 00048 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."); 00049 break; 00050 case VendorSupportLevel3: 00051 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."); 00052 break; 00053 case VendorSupportACC: 00054 return _("An additional customer contract is necessary for getting support."); 00055 } 00056 return _("Unknown support option. Description not available"); 00057 } 00058 00059 } 00060 00061