Paul Licameli
99c3c29158
Some compilation fixes for EXPERIMENTAL_SCOREALIGN
2019-12-21 00:34:59 -05:00
Paul Licameli
1537930195
DiscoverPluginsAtPath reports error as TranslatableString
2019-12-20 22:06:18 -05:00
Paul Licameli
2007346551
Pass TranslatableString to help, warning, and error dialogs
2019-12-20 21:48:21 -05:00
Paul Licameli
5909f67fdb
NumericTextCtrl::SetName takes TranslatableString
2019-12-20 21:38:05 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
d8c2610d88
TranslatableString in AudacityCommand::MessageBox, Effect::MessageBox
2019-12-20 21:32:47 -05:00
Paul Licameli
ae42397d64
FileNames::SelectFile takes TranslatableString for message
2019-12-20 13:40:20 -05:00
Paul Licameli
71e9e38083
AudacityMessageDialog takes TranslatableString message and caption
2019-12-20 13:40:20 -05:00
Paul Licameli
1b726f4f09
More TranslatableString in dialog wrapper classes...
...
... All of the dialog names, and the messages for File and directory dialog
wrappers
2019-12-20 13:40:20 -05:00
Paul Licameli
e3ea93a624
Define and use function Verbatim...
...
... in cases of "TranslatableString" that are not really translated.
This makes it easier to scan the code for such unusual constructions of
TranslatableString, distinct from mere mentions of the TranslatableString type.
2019-12-19 22:49:23 -05:00
Paul Licameli
3a633e4fd8
XMLFileWriter takes TranslatableString caption
2019-12-19 16:41:48 -05:00
Paul Licameli
092033b284
Just one accessor for the name of a ComponentInterface...
...
... Translate it explicitly where needed.
2019-12-19 11:47:37 -05:00
Paul Licameli
16e66a1e7e
Keep EffectNoiseRemoval compilable
2019-12-19 11:31:55 -05:00
Paul Licameli
027a5ca32e
ShuttleGui static boxes can wrap long text
2019-12-18 10:43:15 -05:00
Paul Licameli
826e50b366
Mac build band-aid
2019-12-17 14:30:04 -05:00
Leland Lucius
ccfd2f1c80
Update LV2 host
...
This greatly improves the LV2 host to the point where all
(non-midi) plugins distributed with Ubuntu 18.04 and Fedora
30 are supported.
2019-12-17 12:54:30 -06:00
Paul Licameli
618fee21ec
TranslatableString for ComponentInterface::GetDescription()
2019-12-16 14:21:57 -05:00
Paul Licameli
4eb220e7b9
TranslatableString for undo history short and long descriptions
2019-12-16 14:19:23 -05:00
Paul Licameli
1f86a77569
TranslatableString for effect command names and descriptions
2019-12-16 10:58:05 -05:00
Paul Licameli
89df7a3ffc
Use TranslatableString in XMLFileReader & move the help URL logic
2019-12-16 10:58:05 -05:00
Paul Licameli
681950fc61
TranslatableString for names, labels, tooltips of wxPanelWrapper...
...
... and Grabber too
2019-12-16 10:58:05 -05:00
Paul Licameli
53ee9c9800
TranslatableString for titles, names, labels of wxDialogWrappers...
...
... Found one missed translation in CommandTargets.cpp
2019-12-16 10:58:05 -05:00
Paul Licameli
5639f834c8
CommandManager stores labels as TranslatableString
2019-12-16 10:58:05 -05:00
Paul Licameli
9a609fe1fe
TranslatableString in ProgressDialog
2019-12-14 01:48:15 -05:00
Paul Licameli
aac50ae36e
EffectManager returns TranslatableString for family and vendor
2019-12-12 15:30:36 -05:00
Paul Licameli
0cf90d65e6
S.GetParent() for all windows passed to ShuttleGui::AddWindow()...
...
... Verified that this makes no real change.
2019-12-10 09:58:38 -05:00
James Crook
5a3e9cd063
Fix dialog naming
...
For nicer Doxygen results, we need consistency in naming of classes.
Dialag classes are now called SomethingDialog.
2019-12-06 10:39:07 +00:00
SteveDaulton
c2d4b5616e
Add Noise Gate plug-in
2019-12-05 21:13:24 +00:00
Paul Licameli
15260c2c95
TranslatableString can store a context and format arguments...
...
... Format arguments are substituted into the translation of the msgid, which
may not be known at the time the format arguments are captured (because locale
may change). This allows TranslatableString with arguments to be constructed
at static initialization time.
There is also a special "verbatim" or null context which makes no translations
of msgids.
There is not yet any use of other contexts besides default or null.
2019-12-05 11:34:06 -05:00
Paul Licameli
ca70cc940f
Don't concatenate ":" onto user-visible strings...
...
... include it in the msgid intead, to get appropriate translations. For
instance some locales use the same character but prefer to insert a space
before it.
2019-12-04 16:19:07 -05:00
Paul Licameli
930c21dc2a
Define and use ShuttleGui::Size
2019-12-02 22:02:46 -05:00
Paul Licameli
dd954247d3
More uses of Position(); don't fiddle with sizer items directly
2019-12-02 22:01:55 -05:00
Paul Licameli
3aef0f4eef
Don't directly create wxPanel in Equalization
2019-12-02 22:01:27 -05:00
Paul Licameli
96291c5476
Remove second argument of AddWindow(), use Position() instead
2019-12-02 22:01:22 -05:00
Paul Licameli
b5ee7676fd
Rename ShuttleGui::SetSizeHints, chain-call it like other methods...
...
... And rewrite some other existing calls to SetMinSize
2019-12-02 19:35:06 -05:00
Paul Licameli
64a96e6f01
Define and use ShuttleGui::ConnectRoot...
...
... And corrected improper connections in HistoryWindow and ContrastDialog,
improper because they got called with the wrong this pointer, to
the control instead of the dialog. But that was harmless anyway because the
handlers did not use this.
2019-12-02 19:35:01 -05:00
Paul Licameli
d98e41aad1
Define and use ShuttleGui::Disable; remove EnableCtrl
2019-12-02 17:54:07 -05:00
Paul Licameli
c72dbf5b51
Define and use ShuttleGui::Focus
2019-12-02 17:26:40 -05:00
Paul Licameli
30d375d6fa
Remove style argument from ShuttleGui::AddCombo & AddListBox...
...
... use the Style() chain-call instead, as needed
2019-12-02 17:26:38 -05:00
Paul Licameli
1bfbfb9640
ShuttleGui::Style analogous to other functions
2019-12-02 17:23:34 -05:00
Paul Licameli
9eeef4713d
Define and use ShuttleGui::Name and NameSuffix...
...
... For radio buttons, the name will default to the same as the prompt if not
otherwise specified
2019-12-02 16:55:46 -05:00
Paul Licameli
3ea0209e5c
Define and use ShuttleGui::ToolTip
2019-12-02 11:41:51 -05:00
Paul Licameli
1d32824e02
Define and use ShuttleGui::Validator
2019-12-02 11:21:40 -05:00
Paul Licameli
72df562c4a
Conversion of TranslatableString to wxString is private
2019-12-01 18:17:57 -05:00
Paul Licameli
b351eabf47
ComponentInterfaceSymbol contains TranslatableString
2019-12-01 18:08:56 -05:00
Paul Licameli
e4a7c9ba5b
Uses of TranslatableString as value of XO macro...
...
... It is not implicitly convertible from wxString, compelling many uses of
the new type to fix compilation.
2019-12-01 18:05:20 -05:00
Paul Licameli
b256a4fd1a
Less code directly inside ShuttleGui code blocks...
...
... Trying to reduce that just to chained calls on S, or conditional and looping
logic for variations in layout.
Lift some declarations to higher scope; or use expressions that avoid local
variables; or even use lambdas for more complicated computation of arguments
for the member functions of S.
2019-11-29 15:16:51 -05:00
Paul Licameli
f846c25806
Rewrite AddChoice and TieChoice calls...
...
... either lifting or inlining array-of-string computations, so fewer statements
are mixed among ShuttleGui method calls
2019-11-29 15:16:48 -05:00
Paul Licameli
ae353fe61f
Specify list control columns and styles all in one call
2019-11-28 14:24:44 -05:00
Paul Licameli
17ee2478bc
An overload of AddChoice specifying selected as string value
2019-11-28 14:24:44 -05:00