1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-20 22:30:05 +02:00

587 Commits

Author SHA1 Message Date
Paul Licameli
3769fdea0e fix build 2018-01-05 01:00:14 -05:00
Paul Licameli
b53e7d7a8a change a comment 2018-01-05 00:54:13 -05:00
Paul Licameli
c66eae1a46 Fix uses of wxPLURAL and update audacity.pot ...
so that
(1) we really get msgid_plural entries in the .pot
(2) i18n-comments get extracted too (needs workaround of xgettext bug)
2018-01-05 00:35:04 -05:00
Paul Licameli
baec816142 Rewrite the composition of clip messages in i18n-friendly way 2018-01-04 09:43:25 -05:00
Paul Licameli
def1d52505 Substitute, don't concatenate, when composing localized strings...
... Avoid English syntax bias.
2018-01-04 04:30:46 -05:00
James Crook
a2c37d6435 Some Doxygen comments
I'm testing out some ideas on using doxygen more, and these sample
changes will help with that.
2018-01-03 15:10:58 +00:00
Paul Licameli
0ec42f3dd2 Fix some English grammar biases...
... Avoid small out-of-context words and phrases in translation catalog that
are then substituted into larger translated phrases with blanks.

(What if my language has declensions?  How do I know the right form to use
for the phrases?)

Instead, give the translators larger in-context phrases to work with, even if
that requires replications of phrases with small variations.
2018-01-02 22:15:33 -05:00
Paul Licameli
e0970ad1e8 Remove unnecesary Format, Printf, casts to wxString 2018-01-01 21:53:51 -05:00
Paul Licameli
7fd78183d2 Remove needless uses of wxString::c_str() in wxString::Format...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.

Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
ccb4bbac33 Translate "Message" as default title of message box...
... This required a sweeping change of all calls to wxMessageBox!  But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00
James Crook
2108515938 Bug 63 - Analysis effects that create labels should give focus to label Track
If a generator, effect or analyser has created a new track, scroll to the bottom of the track list.
Acheived using new function, VerticalScroll()
2017-12-17 14:59:59 +00:00
Paul Licameli
cd06c04fa0 Use wxFprintf not fprintf and you don't need c_str 2017-12-16 11:54:18 -05:00
Paul Licameli
2dacaa56a9 Further simplification of commit a0fad21fec68a671655bb5158e37880d3fed78ba 2017-12-16 11:40:54 -05:00
Paul Licameli
a0fad21fec Remove special treatment of late additions to 2.2.1 i18n messages 2017-12-08 20:48:11 -05:00
James Crook
f463eda36c Clean up some dead code and MSVC warnings.
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
James Crook
b63e61d8e9 Menu item scrub -> seek and accelerator tweaks.
The scrub submenu only contained seek commands.
Merging the menus meant duplicated 'c' accelerator.
2017-12-08 10:59:38 +00:00
James Crook
1d05f14b07 Merged Ext-Bar and Ext-Command menus.
The toggle to switch the extra menu(s) on or off still says 'menus' (plural).  Decided not to change it as the submenus count as 'menus'.  Also we may later add extra menus to the track drop down and in other places.
2017-12-08 10:51:46 +00:00
Paul Licameli
dc76988bdd Menu name change to "&Export" was a bit late for localization...
... But see comments:  "Export" (though not "&Export") was already in
audacity.pot for 2.2.0
2017-11-18 21:47:52 -05:00
Steve Daulton
a612af5c05 Rename File > Save Other to File > Export
In response to user feedback that the Export command could
not be found.
2017-11-08 17:55:08 +00:00
Paul Licameli
1007980bcf fix a comment 2017-11-08 03:52:40 -05:00
Paul Licameli
e5c07fae84 some missed translations, i18n-hints 2017-11-05 21:01:53 -05:00
Paul Licameli
954a974422 Changed the conditional compilation for alpha/beta/release...
... In particular, don't put the extra information in MIDI device info for Beta

But still link to the Alpha manual.
2017-09-11 00:10:22 -04:00
Paul Licameli
d7cc85b1e1 Fix an untranslated string, change "Midi track" to "Note Track" 2017-09-04 14:09:56 -04:00
Paul Licameli
faa7d1828a Commands adjusting pan and gain are enabled during transport...
... though they do have a messy interaction with Undo if recording that should
be fixe.

You may get an undo history item that not only restores the gain and pan, but
removes a part of the recording.
2017-08-26 11:37:43 -04:00
James Crook
ce9938787c Use alpha or released or local manual for "help on selection".
Previously this was hard coded to use the online alphamanual.
Some other help-on-errors paths were hardcoded to use the online manual, and did not use local help even if available, so these were changed too.

Also two naming changes in the code:
ShowHelpDialog() became ShowHelp() because it typically shows the help in your browser, only showing the help in a dialog under certain circumstances.
The helpURL parameter became helpPage since it is usually a page name that is then elaborated into a url.
The Link() function became InnerLink().

Some careful http -> https changes made too.
2017-08-25 13:59:16 +01:00
Paul Licameli
a44dbf3a96 Correct the flags for enabling some menu items that were moved...
... See email thread at
https://sourceforge.net/p/audacity/mailman/message/36008688/
for the rationales

The system for specifying conditions for menu items really needs a thorough
rewrite in a future version.
2017-08-23 15:53:57 -04:00
Paul Licameli
ea14a117df Expose the benchmark tool in end-user builds 2017-08-23 11:46:11 -04:00
James Crook
50258c1f21 Bug 1564 - Enh: Don't include empty tooldocks in CTRL + (SHIFT +) F6 cycling 2017-08-17 12:42:36 +01:00
James Crook
12410fb552 Bug 143 - Rogue "Recent &Files" Status Bar entry generated by Effect Menus
Workaround for a bug that is actually in wxWidgets.
2017-08-16 15:27:47 +01:00
James Crook
e7d33e18a7 Bug 1664 - Two shortcut pairs do not work in focused Karaoke window 2017-08-15 23:09:31 +01:00
James Crook
fab1a2778b Bug 753 - Sort Tracks by Name may misbehave with stereo tracks. 2017-08-14 19:58:02 +01:00
James Crook
c15bbc59db Bug 634 - Timeline does not zoom correctly when playback is paused
Playing + Paused now treated EXACTLY the same as stopped with respect to zooming.
2017-08-11 21:51:50 +01:00
Paul Licameli
c7d949c021 Menu consistency: Previous before Next for tools & clip Move 2017-08-09 11:05:30 -04:00
James Crook
3302455e5f Allow loop play whenever we allow play.
In particular Shift+Space should now loop play a MIDI track.
2017-08-04 14:45:29 +01:00
James Crook
7baf22b9c0 J, K, Shift-J and Shift-K always enabled.
They now just don't do anything if there is no track selected.  (Request from Robert Hänggi)
2017-08-04 14:36:13 +01:00
Paul Licameli
a5594537bb "/DefaultOpenPath" is now in only one place 2017-08-03 08:05:22 -04:00
Paul Licameli
5d48e96942 Where FileSelector was used, default to Documents not cwd; save prefs 2017-08-03 08:02:33 -04:00
Paul Licameli
3e39771c53 MIDI imports, like other imports, are put into recent files list 2017-08-02 11:19:27 -04:00
Paul Licameli
40a4f89243 Bug 1706: Export Midi available whenever MIDI tracks exist 2017-08-01 11:26:07 -04:00
Paul Licameli
f0de38dec1 Scanned for bad naked new; found none; changed comments, used safenew 2017-07-23 09:35:01 -04:00
James Crook
69655a14cd Fix menu item with two &s
Thanks to scootergrisen
2017-07-22 16:14:25 +01:00
James Crook
f38caa55ba Add strings that were not translated.
- A heading in the Edit Chains Dialog.
- Menu Items and submenus.
2017-07-22 11:33:09 +01:00
James Crook
c4a1787bb9 Improve source for generation of .pot file.
"clang " is the name of a compiler and should not be translated.
Other changes here from seeing how translation was actually being done.
2017-07-20 18:55:07 +01:00
Paul Licameli
cfeb7bced1 Zoom to fit after any import (labels, audio, or midi) 2017-07-19 22:10:22 -04:00
David Bailes
c1c19774b4 When a VST effect is opened, the dialog is not the focus.
Problem caused by commit: 79c3bef
SetFocus() is being called when !success.

Fix: Move the call to SetFocus back to its original place in the code.
2017-07-19 14:10:34 +01:00
Paul Licameli
f2deb1cc43 Bug1691: Make Mute and Solo shortcuts for focused track work for Midi 2017-07-17 09:09:51 -04:00
Pokechu22
681161f60b Add MIDI device diagnostics
* MIDI Device Info menu item, like Audio Device Info

 * MIDI device info in crash reports

 * Only enabled with EXPERIMENTAL_MIDI_OUT, but tracks info related to the (unimplemented) EXPERIMENTAL_MIDI_IN
2017-07-16 10:58:53 -04:00
Paul Licameli
c5fc8eef03 Revert "Split lines now only show over middle third of track height."
This was the fix for Bug 800 now considered unsatisfactory.

This reverts commit dc1193a0af83f1d43de5a30aea6b6b09087eea58.

(Some merge resolution was needed)
2017-07-14 23:09:41 -04:00
Paul Licameli
8bf3791edf TrackList constructed only by factory function, to avoid more trouble 2017-07-14 21:55:32 -04:00
Paul Licameli
903cebafe1 Bug1669: Close and Menu buttons should never disappear...
... As they did with Ctrl+Shift+F, with a certain minimimum number of wave
tracks that depends on screen resolution.  On my Macbook, that was 13 tracks.

This bug was a consequence of James' TCP layout changes making buttons a little
taller plus my changes to hide any top controls for which there is not
sufficient height.

The fix makes the height of tracks after Ctrl+Shift+F a bit more (44 pixels
not 40) than in 2.1.3.

This fix also replaces some more "magic numbers" with calculation from
tabled data about TCP layout.
2017-07-14 12:03:16 -04:00