[Audacity-cvs] audacity-src/locale nl.po,1.30,1.31

2009-09-14 Thread Gale Andrews
Update of /cvsroot/audacity/audacity-src/locale
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13377

Modified Files:
nl.po 
Log Message:
Updated Dutch software translation from Thomas de Rocker

Index: nl.po
===
RCS file: /cvsroot/audacity/audacity-src/locale/nl.po,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- nl.po   23 Aug 2009 13:09:50 -  1.30
+++ nl.po   14 Sep 2009 08:23:29 -  1.31
@@ -1,11124 +1,11134 @@
-# Nederlandse vertaling van Audacity
-# Tino Meinen , 2002, 2003, 2004, 2005, 2006, 2007, 2008.
-# Feedback van Sander J. Alkemade  2003.
-# 
-# Voordat het vertalen begint eerst doen: make updatepo in /locale
-# 
-# audio file   audiobestand/geluidsbestand
-# autosave autosave
-# clickclick/klik/tik
-# cut line snijlijn
-# orphaned verdwaald (Engels 'lost')
[...7 lines suppressed...]
+#~ "\">here to download a single-page version of the manual which can be "
+#~ "viewed in this window."
+#~ msgstr ""
+#~ "De Help functie voor Audacity Beta is nog niet klaar. Voorlopig is een "
+#~ "klad-handleiding http://www.audacityteam.org/manual/index.php?";
+#~ "title=Main_Page\">online beschikbaar. Als alternatief, klikt u http://www.audacityteam.org/manual/index.php?";
+#~ "title=Temporary_HTML_Manual_Export\">hier om een één-pagina-grote "
+#~ "versie te downloaden die u in dit venster kunt lezen."
+#~ msgid "&Show Welcome Message..."
+#~ msgstr "&Welkomstbericht tonen…"
+#~ msgid "&Help..."
+#~ msgstr "&Help..."
+#~ msgid "AMR (wide band) Files (FFmpeg, undistributable)"
+#~ msgstr "AMR (breedband)-bestanden (FFmpeg, onverdeelbaar)"
+#~ msgid "In Browser"
+#~ msgstr "In browser"
+#~ msgid "Help:"
+#~ msgstr "Help:"
+


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] htdocs/locale nl.po,1.26,1.27

2009-09-14 Thread Gale Andrews
Update of /cvsroot/audacity/htdocs/locale
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13499

Modified Files:
nl.po 
Log Message:
Updated Dutch web site translation from Thomas de Rocker

Index: nl.po
===
RCS file: /cvsroot/audacity/htdocs/locale/nl.po,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- nl.po   14 Aug 2009 09:07:35 -  1.26
+++ nl.po   14 Sep 2009 08:26:02 -  1.27
@@ -7,8 +7,8 @@
 msgstr ""
 "Project-Id-Version: \n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-08-08 08:58+\n"
-"PO-Revision-Date: 2009-08-11 12:48+0100\n"
+"POT-Creation-Date: 2009-09-09 22:01+\n"
+"PO-Revision-Date: 2009-09-13 15:11+0100\n"
 "Last-Translator: Thomas De Rocker \n"
 "Language-Team: Nederlands\n"
 "MIME-Version: 1.0\n"
@@ -66,12 +66,12 @@
[...1686 lines suppressed...]
+#~ "\"project.aup\" met Audacity openen, en de opdracht Exporteren (in het "
+#~ "menu Bestand) gebruiken om het  op te slaan in een standaard formaat als "
+#~ "WAV of AIFF."
+#~ msgid ""
+#~ "Audacity breaks long tracks into small pieces so it can edit them more "
+#~ "efficiently.  When you save a project, Audacity stores all of the pieces "
+#~ "in a folder with a name like “project_data.”  You do not need 
to "
+#~ "open these files yourself.  Audacity will load them automatically when "
+#~ "you open the “project.aup” file, which is saved in the same location 
as "
+#~ "the “data” folder."
+#~ msgstr ""
+#~ "Audacity verdeelt lange sporen in kleinere stukken om die beter en "
+#~ "efficiënter te kunnen bewerken. Als u een project opslaat, slaat Audacity 
"
+#~ "alle delen op in een map met een naam als “project_data.”  U 
hoeft "
+#~ "deze bestanden zelf niet te openen.  Audacity laadt ze automatisch als u "
+#~ "het bestand “project.aup” opent, dat is opgeslagen in dezelfde map als 
de "
+#~ "“data” map."
 #~ msgid ""
 #~ "A group of volunteers is translating the free Audacity sound editor into "
 #~ "many different languages.  If you would like to help, please join the %"


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src/prefs PrefsDialog.cpp, 1.69, 1.70 PrefsDialog.h, 1.10, 1.11

2009-09-14 Thread Gale Andrews
Update of /cvsroot/audacity/audacity-src/src/prefs
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv26552

Modified Files:
PrefsDialog.cpp PrefsDialog.h 
Log Message:
Patch by Vidyashankar Vellal to fix P3:"Preferences Window: 
OK Button does not respond to Enter when a tab is selected in the left"

Index: PrefsDialog.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/PrefsDialog.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- PrefsDialog.cpp 27 Jul 2009 15:36:37 -  1.69
+++ PrefsDialog.cpp 14 Sep 2009 17:04:59 -  1.70
@@ -67,6 +67,7 @@
 BEGIN_EVENT_TABLE(PrefsDialog, wxDialog)
EVT_BUTTON(wxID_OK, PrefsDialog::OnOK)
EVT_BUTTON(wxID_CANCEL, PrefsDialog::OnCancel)
+   EVT_TREE_KEY_DOWN(wxID_ANY, PrefsDialog::OnTreeKeyDown) // Handles key 
events when tree has focus
 END_EVENT_TABLE()
 
 PrefsDialog::PrefsDialog(wxWindow * parent)
@@ -163,6 +164,14 @@
EndModal(false);
 }
 
+void PrefsDialog::OnTreeKeyDown(wxTreeEvent & event)
+{
+   if(event.GetKeyCode() == WXK_RETURN)
+  OnOK(event);
+   else
+  event.Skip(); // Ensure standard behavior when enter is not pressed
+}
+
 void PrefsDialog::OnOK(wxCommandEvent & event)
 {
// Validate all pages first

Index: PrefsDialog.h
===
RCS file: /cvsroot/audacity/audacity-src/src/prefs/PrefsDialog.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- PrefsDialog.h   4 Apr 2009 10:55:56 -   1.10
+++ PrefsDialog.h   14 Sep 2009 17:04:59 -  1.11
@@ -28,6 +28,7 @@
void OnCategoryChange(wxCommandEvent & e);
void OnOK(wxCommandEvent & e);
void OnCancel(wxCommandEvent & e);
+   void OnTreeKeyDown(wxTreeEvent & e); // Used to dismiss the dialog when 
enter is pressed with focus on tree
 
void SelectPageByName(wxString pageName);
void ShowTempDirPage();


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs


[Audacity-cvs] audacity-src/src MixerBoard.cpp, 1.22, 1.23 MixerBoard.h, 1.12, 1.13

2009-09-14 Thread Vaughan Johnson
Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv12105

Modified Files:
MixerBoard.cpp MixerBoard.h 
Log Message:
Add a pre/post fade checkbox for the meter in each track strip.

Index: MixerBoard.cpp
===
RCS file: /cvsroot/audacity/audacity-src/src/MixerBoard.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- MixerBoard.cpp  10 Sep 2009 06:28:25 -  1.22
+++ MixerBoard.cpp  15 Sep 2009 03:23:18 -  1.23
@@ -86,23 +86,25 @@
 
 enum {
ID_BITMAPBUTTON_MUSICAL_INSTRUMENT = 13000, 
-   ID_TOGGLEBUTTON_MUTE, 
-   ID_TOGGLEBUTTON_SOLO,
ID_SLIDER_PAN,
ID_SLIDER_GAIN,
+   ID_TOGGLEBUTTON_MUTE, 
+   ID_TOGGLEBUTTON_SOLO,
+   ID_CHECKBOX_PREFADE, 
 };
 
 BEGIN_EVENT_TABLE(MixerTrackCluster, wxPanel)
EVT_CHAR(MixerTrackCluster::OnKeyEvent)
EVT_MOUSE_EVENTS(MixerTrackCluster::OnMouseEvent)
+   EVT_PAINT(MixerTrackCluster::OnPaint)
 
EVT_BUTTON(ID_BITMAPBUTTON_MUSICAL_INSTRUMENT, 
MixerTrackCluster::OnButton_MusicalInstrument) 
-   EVT_COMMAND(ID_TOGGLEBUTTON_MUTE, wxEVT_COMMAND_BUTTON_CLICKED, 
MixerTrackCluster::OnButton_Mute)
-   EVT_COMMAND(ID_TOGGLEBUTTON_SOLO, wxEVT_COMMAND_BUTTON_CLICKED, 
MixerTrackCluster::OnButton_Solo)
-   EVT_PAINT(MixerTrackCluster::OnPaint)
EVT_SLIDER(ID_SLIDER_PAN, MixerTrackCluster::OnSlider_Pan)
EVT_SLIDER(ID_SLIDER_GAIN, MixerTrackCluster::OnSlider_Gain)
//v EVT_COMMAND_SCROLL(ID_SLIDER_GAIN, 
MixerTrackCluster::OnSliderScroll_Gain)
+   EVT_COMMAND(ID_TOGGLEBUTTON_MUTE, wxEVT_COMMAND_BUTTON_CLICKED, 
MixerTrackCluster::OnButton_Mute)
+   EVT_COMMAND(ID_TOGGLEBUTTON_SOLO, wxEVT_COMMAND_BUTTON_CLICKED, 
MixerTrackCluster::OnButton_Solo)
+   EVT_CHECKBOX(ID_CHECKBOX_PREFADE, MixerTrackCluster::OnCheckBox_PreFade) 
 END_EVENT_TABLE()
 
 MixerTrackCluster::MixerTrackCluster(wxWindow* parent, 
@@ -211,11 +213,19 @@

// meter
ctrlPos.y += (bSoloNone ? 0 : MUTE_SOLO_HEIGHT) + kDoubleInset;
+   mCheckBox_PreFade = 
+  new wxCheckBox(this, ID_CHECKBOX_PREFADE, 
+ _("Pre"), ctrlPos, wxDefaultSize);
+   mCheckBox_PreFade->SetValue(false);
+
+   ctrlSize = mCheckBox_PreFade->GetSize();
+   ctrlPos.y += ctrlSize.GetHeight();
const int nMeterHeight = 
   nGainSliderHeight - 
   (MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset) -
   (PAN_HEIGHT + kDoubleInset) - 
-  (MUTE_SOLO_HEIGHT + (bSoloNone ? 0 : MUTE_SOLO_HEIGHT) + kDoubleInset);
+  (MUTE_SOLO_HEIGHT + (bSoloNone ? 0 : MUTE_SOLO_HEIGHT) + kDoubleInset) - 
+  ctrlSize.GetHeight();
ctrlSize.Set(kRightSideStackWidth, nMeterHeight);
mMeter = 
   new Meter(this, -1, // wxWindow* parent, wxWindowID id, 
@@ -227,6 +237,7 @@
   mStaticText_TrackName->SetToolTip(mLeftTrack->GetName());
   mToggleButton_Mute->SetToolTip(_("Mute"));
   mToggleButton_Solo->SetToolTip(_("Solo"));
+  mCheckBox_PreFade->SetToolTip(_("Show meter pre/post fade."));
   mMeter->SetToolTip(_("Signal Level Meter"));
#endif // wxUSE_TOOLTIPS
 
@@ -260,10 +271,12 @@
 
mToggleButton_Solo->Show(!bSoloNone);
 
+   wxSize ctrlSize = mCheckBox_PreFade->GetSize();
const int nRequiredHeightAboveMeter = 
   MUSICAL_INSTRUMENT_HEIGHT_AND_WIDTH + kDoubleInset + 
   PAN_HEIGHT + kDoubleInset + 
-  MUTE_SOLO_HEIGHT + (bSoloNone ? 0 : MUTE_SOLO_HEIGHT) + kDoubleInset;
+  MUTE_SOLO_HEIGHT + (bSoloNone ? 0 : MUTE_SOLO_HEIGHT) + kDoubleInset + 
+  ctrlSize.GetHeight();
const int nMeterY = 
   kDoubleInset + // margin at top
   TRACK_NAME_HEIGHT + kDoubleInset + 
@@ -389,7 +402,7 @@
   else
   {
  // Mono: Start with raw values same as left. 
- // To be modified by bWantPostFadeValues and channel pan/gain.
+ // To be modified by pre/post fade and channel pan/gain.
  maxRight[i] = maxLeft[i];
  rmsRight[i] = rmsLeft[i];
   }
@@ -398,8 +411,8 @@
   i++;
}
 
-   bool bWantPostFadeValues = true; //vvv Turn this into a pref, default true.
-   if (bSuccess && bWantPostFadeValues)
+   // If we want post fade values, modify values by gain factor.
+   if (bSuccess && !mCheckBox_PreFade->GetValue())
{
   for (i = 0; i < nFramesPerBuffer; i++)
   {
@@ -525,6 +538,31 @@
this->HandleSelect(bShiftDown);
 }
 
+void MixerTrackCluster::OnSlider_Gain(wxCommandEvent& event)
+{
+   this->HandleSliderGain();
+}
+
+//v void MixerTrackCluster::OnSliderScroll_Gain(wxScrollEvent& event)
+//{
+   //int sliderValue = (int)(mSlider_Gain->Get()); //v 
mSlider_Gain->GetValue();
+   //#ifdef __WXMSW__
+   //   // Negate because wxSlider on Windows has min at top, max at bottom. 
+   //   // mSlider_Gain->GetValue() is in [-6,36]. wxSlider has min at top, so 
this is [-36dB,6dB]. 
+   //   sliderValue = -sliderValue;
+   //#endif
+   //wxString str = _("Gain: ");
+   //if (sliderValue > 0) 
+   //   str +=