Paul Licameli
e110f66ff8
PrefsPanel classes registered; PrefsDialog.cpp independent of headers
2020-01-20 00:19:13 -05:00
Paul Licameli
1555fd84a4
define PrefsPanel::Registration
2020-01-20 00:16:13 -05:00
Paul Licameli
1f283a8981
Fewer includes of WaveformSettings.h, SpectrogramSettings.h...
...
... See ultimate origin of some of the deleted lines at 4724c6a
Whatever change it is that needs loading by LoadPrefs -- do it instead right
after any possibility of changes to the relevant preferences, in the Commit()
functions of SpectrumPrefs and WaveforPrefs
2020-01-19 19:11:14 -05:00
Paul Licameli
2ec2ad378d
Break dependency cycle introduced at a69fba9
2020-01-19 14:36:28 -05:00
Paul Licameli
a69fba9990
TracksPrefs does not use hardcoded list of all view types...
...
... It does have some duplication of string values, but only for purposes of
upgrading old config files.
2020-01-18 20:28:54 -05:00
Paul Licameli
fb8ba0ce43
Some briefer type aliases for wave track display type
2020-01-18 19:35:17 -05:00
Paul Licameli
b45e3e8aac
Separate default waveform scale choice in Tracks preferences...
...
... Some complications in handling correct migration of preferences from
config files in older versions
2020-01-17 12:28:52 -05:00
James Crook
1176b61953
Wording changes, per wiki:
...
https://wiki.audacityteam.org/wiki/Wording
2020-01-10 17:02:31 +00:00
James Crook
7f8905be8e
Bug 2278 - Changes in Spectrogram Settings dialog change Multi-view to a 100:0 Spectrogram
...
Fix needs to be reviewed by Paul in case the code I commented out actually IS needed.
2020-01-09 16:20:48 +00:00
Paul Licameli
f924df16f8
Eliminate calls to GetActiveProject in src/prefs
2020-01-04 13:19:06 -05:00
Paul Licameli
c9a9c06bd0
Pass AudacityProject * into preference panel factories
2020-01-04 12:37:57 -05:00
Paul Licameli
72f66b7096
Mac: don't crash in Preferences when there is no project window...
...
... and you press Preview in Spectrogram preferences.
And complete null checks on GetActiveProject calls in src/prefs.
And in fact, don't even show the useless Preview button when there is no
project.
2020-01-04 12:14:47 -05:00
Paul Licameli
389d04459a
Move choice of waveform scale from TCP menu to ruler context menu
2019-12-31 19:26:51 -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
eaffb4ed74
TranslatableString for some maybe-useful-in-future strings
2019-12-28 23:55:34 -05:00
Paul Licameli
57350ff104
Rewrite conditionally compiled Add/TieCheckBox calls
2019-12-24 00:31:06 -05:00
Paul Licameli
519b16f6ca
Keep EXPERIMENTAL_OD_FFMPEG compilable
2019-12-24 00:16:28 -05:00
Paul Licameli
d1637c22c0
TranslatableString for explicit prompts and units in ShuttleGui
2019-12-23 19:22:03 -05:00
Paul Licameli
747c35645a
TranslatableString for checkbox captions
2019-12-23 19:15:34 -05:00
Paul Licameli
455d3185a8
TranslatableString for list control column headers, menus
2019-12-23 19:02:21 -05:00
Paul Licameli
6b235bdec5
TranslatableString for captions of sliders
2019-12-23 19:02:21 -05:00
Paul Licameli
13417b6d5b
ShuttleGui::AddFixedText takes TranslatableString
2019-12-23 19:02:19 -05:00
Paul Licameli
acd1158e1b
TranslatableString for titles, and spin control and combo prompts
2019-12-23 18:53:00 -05:00
Paul Licameli
707a069712
ShuttleGui::AddVariableText takes TranslatableString
2019-12-23 18:53:00 -05:00
Paul Licameli
5168d62e3d
TranslatableString for captions of text entry boxes
2019-12-23 18:53:00 -05:00
Paul Licameli
b404eb7800
TranslatableString for static text box captions
2019-12-23 18:52:37 -05:00
Paul Licameli
21e7b9f2de
TranslatableString for prompts of choice controls
2019-12-23 15:39:49 -05:00
Paul Licameli
1944ac2040
TranslatableString for labels of ShuttleGui buttons
2019-12-23 15:35:48 -05:00
Paul Licameli
75996a851c
ShuttleGui::AddChoice and TieChoice take TranslatableStrings
2019-12-23 15:35:47 -05:00
Paul Licameli
0ddeec9c3b
TranslatableString for more scale and algorithm names
2019-12-21 12:48:24 -05:00
Paul Licameli
65b6d5aad5
i18n of names of FFT window functions (transliterations, maybe)...
...
... and fix format string in FreqWindow.cpp that wasn't really translated
2019-12-21 12:48:24 -05:00
Paul Licameli
dc39f22442
AudacityMessageBox takes TranslatableString message and caption
2019-12-20 21:32:50 -05:00
Paul Licameli
ae42397d64
FileNames::SelectFile takes TranslatableString for message
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
a70524446e
TranslatableString for title prefix in PrefsDialog...
...
... and the title strings do not include a trailing space
2019-12-19 22:37:21 -05:00
Paul Licameli
3a633e4fd8
XMLFileWriter takes TranslatableString caption
2019-12-19 16:41:48 -05:00
Paul Licameli
027a5ca32e
ShuttleGui static boxes can wrap long text
2019-12-18 10:43:15 -05:00
Paul Licameli
6b812791a6
TranslatableString in popup menu tables
2019-12-16 15:10:35 -05:00
Paul Licameli
618fee21ec
TranslatableString for ComponentInterface::GetDescription()
2019-12-16 14:21:57 -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
d32d464471
Uses of TranslatableString in src/import
2019-12-14 01:48:15 -05:00
Paul Licameli
4b3f670bef
Let the comment column of Mouse preferences default to a wider size
2019-12-13 08:14:03 -05:00
Paul Licameli
9c4742c7f6
Use TranslatableString in MousePrefs.cpp
2019-12-12 21:27:13 -05:00
Paul Licameli
a8de4d9e50
Construct MenuItem with untranslated label, so it can be static...
...
... and other storage of TranslatableString instead of naked wxString, for
management of menu items, in CommandManager
2019-12-12 15:49:00 -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
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