1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 09:09:47 +02:00

11063 Commits

Author SHA1 Message Date
Paul Licameli
7638dd0204 Redo file dialog masks with TranslatableString...
... eliminating some repetitious code, fixing some missing translations, and
presenting simpler strings to the translators, without any | or ; characters
that need to be preserved.
2019-12-29 15:35:04 -05:00
Paul Licameli
aa39f9ade2 Rewrite FileNames::SelectFile using FileTypes...
... And more uniformity in the descriptions of file types used in more than
one place

Also fixes missing translations in VSTEffect.cpp
2019-12-29 15:35:04 -05:00
Paul Licameli
9204319b86 Just one accessor needed for description of ExportPlugin 2019-12-29 15:35:03 -05:00
Paul Licameli
c64b3cb31f Rewrite FileDialogWrapper using FileNames::FileTypes...
... also removing some repeated code and using the config keys /DefaultOpenType
and /LastOpenType only in Import.cpp
2019-12-29 15:35:03 -05:00
Paul Licameli
fc668f09b0 Define FileNames::FileType and related utility functions 2019-12-29 15:35:03 -05:00
Paul Licameli
1c7fd66b6e Bug2225: Don't duplicate display of track name when view is split 2019-12-29 15:31:22 -05:00
Paul Licameli
c882564994 Move drawing of TrackName from the subview to VRulersAndChannels...
... And thus do it only once per channel (i.e. once per set of sub-views)
2019-12-29 15:31:03 -05:00
Paul Licameli
4b2f78fd0d One more level of hierarchy in the TrackPanel area sudivision...
... Encompassing all subviews, with their rulers, for one channel.

Correct the comments about the subdivision.
2019-12-29 15:07:55 -05:00
James Crook
e6c370023c Fix broken Windows build. 2019-12-29 17:38:44 +00:00
Paul Licameli
3b01794eb1 More TranslatableString, less _, in various places 2019-12-29 00:13:10 -05:00
Paul Licameli
7bdb3491c7 Fix usage comment for PopupMenuTable 2019-12-29 00:08:31 -05:00
Paul Licameli
0704f6919a EffectPresetsDialog::SetPrefix takes TranslatableString 2019-12-29 00:01:57 -05:00
Paul Licameli
eaffb4ed74 TranslatableString for some maybe-useful-in-future strings 2019-12-28 23:55:34 -05:00
Paul Licameli
61161a2f00 TranslatableString for more status bar messages 2019-12-28 23:49:18 -05:00
Paul Licameli
6e14d2e56c RulerPanel uses TranslatableString for units string...
... also fixing missed translation of "k" in spectrum vertical ruler
2019-12-28 23:49:18 -05:00
Paul Licameli
1887928fe2 ProjectManager::GetHoursMinsString returns TranslatableString 2019-12-28 23:49:18 -05:00
Paul Licameli
4afd93e84e XO for dummy strings and format arguments in uses of wxPLURAL 2019-12-28 23:49:18 -05:00
Paul Licameli
3b9442a000 Fewer uses of macro _ in Nyquist.cpp 2019-12-28 23:49:18 -05:00
Paul Licameli
e0d57a0e6b Use TranslatableString in TimerRecordPathCtrl 2019-12-28 23:49:17 -05:00
Paul Licameli
956e0813c4 SliderAx uses TranslatableString 2019-12-28 23:49:17 -05:00
Paul Licameli
65a13fd3d6 Remove unused variable 2019-12-28 23:49:17 -05:00
Paul Licameli
259359a283 Update some calls expecting TranslatableString in disabled code 2019-12-28 23:49:14 -05:00
Paul Licameli
18942d9909 Rename a function in Distortion.cpp 2019-12-28 19:56:59 -05:00
Paul Licameli
d6cd48cde1 Eliminate uses of macro _ in Distortion 2019-12-28 19:56:59 -05:00
Paul Licameli
8b532546c9 Bug2267: Nyquist prompt should allow multiline input...
... Fixing a side effect of the fix for bugs 2107 and 1329 which was done at
commit da66806 in version 2.3.3
2019-12-28 19:54:31 -05:00
Paul Licameli
fb5e871d0a Revert "Bug2267: Nyquist prompt should allow multiline input..."
This reverts commit 33bd2a4d93bbb1fc0dc3367896182b7f3678025a.
2019-12-28 19:49:13 -05:00
Paul Licameli
8c4bc6c91f Make some more text windows read-only 2019-12-28 19:43:36 -05:00
Paul Licameli
33bd2a4d93 Bug2267: Nyquist prompt should allow multiline input...
... Fixing a side effect of the fix for bugs 2107 and 1329 which was done at
commit da66806 in version 2.3.3
2019-12-28 19:35:45 -05:00
Paul Licameli
7171220630 Preliminaries for fixing duplicated track names in split views 2019-12-28 13:45:23 -05:00
Paul Licameli
8905e52ee0 Override TrackPanelDrawable::DrawingArea() properly for track names 2019-12-28 13:36:47 -05:00
Paul Licameli
71b3fc0647 Factor rectangle computation out of DrawTrackName 2019-12-28 13:36:47 -05:00
Paul Licameli
a65ab2146b Rewrite DrawTrackName with fewer magic numbers, rename variables 2019-12-28 13:36:47 -05:00
Paul Licameli
996d60de81 Remove undefined member function 2019-12-28 13:36:46 -05:00
Paul Licameli
7c70d78430 Pass TrackPanelDrawingContext into TrackPanelDrawable::DrawingArea() 2019-12-28 13:36:46 -05:00
Paul Licameli
6f80a5c08b FileExtension passed to BuildCleanFileName: no leading dot...
... consistently with the comment describing the type alias FileExtension
2019-12-27 17:44:02 -05:00
Paul Licameli
d6d4ee3c29 Reviewed uses of type alias FileExtension, it belongs in more places 2019-12-27 17:40:42 -05:00
Paul Licameli
3f88df06ec Fix inconsistencies in default extension passed to SelectFile...
... It must be empty, or else one extension not including the leading dot;
then correct the string passed to FileSelector in lib-src, which should be
a filename pattern
2019-12-27 11:49:07 -05:00
Paul Licameli
ccefe8da5f Remove unused default arguments for FileDialogWrapper 2019-12-26 22:13:36 -05:00
Paul Licameli
3117128e08 Rewrite many formattings of long user-readable texts with XO not _ 2019-12-26 22:12:19 -05:00
Paul Licameli
f932d2d550 Rewrite export of data in FreqWindow.cpp 2019-12-26 22:11:45 -05:00
Paul Licameli
ced6221b57 Rewrite format of output in Benchmark.cpp...
... Note that %ld must replace %d in many formats to keep it working, because
wxWidgets does more type-checking inside TranslatableString::Translation(),
because we now capture arguments with type-smart modern C++ variadic templates,
rather than using the old C variadics.
2019-12-26 22:11:44 -05:00
Paul Licameli
cf5c18b9b3 Rewrite export of data in Contrast.cpp 2019-12-26 22:11:44 -05:00
Paul Licameli
700c3deba9 Rewrite composition of long texts in AboutDialog.cpp 2019-12-26 22:11:40 -05:00
Paul Licameli
d96471f176 Rewrite composition of long texts in HelpText.cpp 2019-12-26 22:11:33 -05:00
Paul Licameli
dc0723f629 Rewrite dump of audio and MIDI device data in AudioIOBase.cpp 2019-12-26 22:07:06 -05:00
Paul Licameli
d2eb085bd6 Fix export of Plot Spectrum on Mac 2019-12-26 21:38:38 -05:00
Paul Licameli
23cd7f40f3 Fix export of Contrast data on Mac 2019-12-26 20:36:34 -05:00
Paul Licameli
f60d8d299a Remove some more uses of naked wxString in the interface of ShuttleGui 2019-12-26 15:35:56 -05:00
Paul Licameli
416cdbefb6 ShuttleGuiBase::DoTieChoice is no longer needed 2019-12-26 15:33:47 -05:00
Paul Licameli
d396472c9f Rewrite overload of TieChoice that took wxString& instead of int& ...
... let it take TranslatableString& instead.

It was used only in AudioUnitEffect.cpp.
2019-12-26 15:33:47 -05:00