Update of /cvsroot/audacity/audacity-src/src In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv31490
Modified Files: SampleFormat.cpp Log Message: Fixed translation of bit depth strings Index: SampleFormat.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/SampleFormat.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- SampleFormat.cpp 1 Oct 2006 23:53:10 -0000 1.14 +++ SampleFormat.cpp 5 May 2007 15:55:36 -0000 1.15 @@ -34,7 +34,7 @@ *//*******************************************************************/ - +#include <wx/intl.h> #include <math.h> #include <stdio.h> #include <stdlib.h> @@ -51,8 +51,6 @@ void InitDitherers() { // Read dither preferences - // Note: We use 'triangle' dithering for now, because - // the 'shaped' dithering is supposed to be broken. gLowQualityDither = (Dither::DitherType) gPrefs->Read(wxT("/Quality/DitherAlgorithm"), (long)Dither::none); @@ -64,13 +62,16 @@ { switch(format) { case int16Sample: - return wxT("16-bit"); + /* i18n-hint: Audio data bit depth (precison): 16-bit integers */ + return _("16-bit PCM"); case int24Sample: - return wxT("24-bit"); + /* i18n-hint: Audio data bit depth (precison): 24-bit integers */ + return _("24-bit PCM"); case floatSample: - return wxT("32-bit float"); + /* i18n-hint: Audio data bit depth (precison): 32-bit floating point */ + return _("32-bit float"); } - return wxT(""); // compiler food + return wxT("Unknown format"); // compiler food } samplePtr NewSamples(int count, sampleFormat format) ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs