comparison base/Preferences.cpp @ 165:5ae5885d6ce3

* Add support for plugin classification using category files. Add separate menus listing plugins by category, maker, and plugin name.
author Chris Cannam
date Thu, 21 Sep 2006 16:43:50 +0000
parents da3701a3953e
children 91fdc752e540
comparison
equal deleted inserted replaced
164:da3701a3953e 165:5ae5885d6ce3
83 } 83 }
84 if (name == "Window Type") { 84 if (name == "Window Type") {
85 return tr("Spectral analysis window shape"); 85 return tr("Spectral analysis window shape");
86 } 86 }
87 if (name == "Resample Quality") { 87 if (name == "Resample Quality") {
88 return tr("Resampler quality"); 88 return tr("Playback resampler type");
89 } 89 }
90 return name; 90 return name;
91 } 91 }
92 92
93 Preferences::PropertyType 93 Preferences::PropertyType
166 } 166 }
167 } 167 }
168 if (name == "Resample Quality") { 168 if (name == "Resample Quality") {
169 switch (value) { 169 switch (value) {
170 case 0: return tr("Fastest"); 170 case 0: return tr("Fastest");
171 case 1: return tr("Medium quality"); 171 case 1: return tr("Standard");
172 case 2: return tr("Highest quality"); 172 case 2: return tr("Highest quality");
173 } 173 }
174 } 174 }
175 return ""; 175 return "";
176 } 176 }