1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00
Commit Graph

8091 Commits

Author SHA1 Message Date
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
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
91ebadef81 Rewrite one more PushState that is ifdef'd out 2019-12-19 22:27:35 -05:00
Paul Licameli
3a633e4fd8 XMLFileWriter takes TranslatableString caption 2019-12-19 16:41:48 -05:00
Paul Licameli
5e26ef1eba Define and use non-mutating TranslatableString::Stripped 2019-12-19 16:41:45 -05:00
Paul Licameli
cd0e1e680a more i18n-hints about "codec" 2019-12-19 14:51:44 -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
d45610073f Fix missed translation, was broken at def1d52 2019-12-19 11:14:01 -05:00
Paul Licameli
5bfd44d81f Import Stream dialog uses ShuttleGui 2019-12-18 11:22:26 -05:00
Paul Licameli
3a14393f5e Rewrite ImportPCM dialog with ShuttleGui 2019-12-18 11:22:26 -05:00
Paul Licameli
63b1803a6e Pass ShuttleGui& into ExportPlugin::OptionsCreate() 2019-12-18 11:22:26 -05:00
Paul Licameli
bed7b41af9 ExportMixerDialog uses ShuttleGui 2019-12-18 11:22:26 -05:00
Paul Licameli
2dbf0096cc ShuttleGui always sets name of static text box 2019-12-18 10:43:15 -05:00
Paul Licameli
027a5ca32e ShuttleGui static boxes can wrap long text 2019-12-18 10:43:15 -05:00
Paul Licameli
0300b49b37 TranslatableString for importer stream info...
... fixing some missed translations in OGG (and GStreamer too, if you care)
2019-12-18 10:42:52 -05:00
Paul Licameli
1c9005f0a2 Keep EXPERIMENTAL_OD_DATA compilable 2019-12-17 20:05:54 -05:00
Paul Licameli
726046b379 Fix bad grammar in a message 2019-12-17 19:55:56 -05:00
Paul Licameli
384b7fe4ec Fix another misindented string 2019-12-17 16:13:49 -05:00
Paul Licameli
0338c3e0cc Fix indentation mistakenly included in user-visible string...
... Introduced at aa5ffe9

That commit made the same mistake in other places too, but those other places
have been fixed already.
2019-12-17 15:23:05 -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
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
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
503ccabdd8 TranslatableString caption & message in MessageBoxException 2019-12-16 10:58:05 -05:00
Paul Licameli
54e2bbd8ff Remove TranslatedInternalString, use ComponentInterfaceSymbol 2019-12-16 10:58:05 -05:00
Paul Licameli
e875adaa6f AButton::SetToolTip takes TranslatableString 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
fbebef2911 CommandFlagOptions::MessageFormatter uses TranslatableString 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
f16709945b Define TranslatableString::Strip() 2019-12-16 10:58:05 -05:00
Paul Licameli
0021a98091 Remove another unnecessary stripping of accelerators from labels 2019-12-16 07:09:04 -05:00
Leland Lucius
ea72627a7b Reset (cleanup) microphone permissons 2019-12-15 16:10:51 -06:00
Paul Licameli
f2f7568383 Fix checks for tabs in CommandManager & don't write labels to file...
... Because label wasn't used when reading back, and it was, questionably,
writing localized strings out.

CommandManager serialization is used only for exporting and importing keystroke
shortcuts, and not in save and load of projects.

There was apparently confusion too about tab characters separating command name
from a menu accelerator, but such are not stored in the label field of
CommandListEntry.  Those tabs were only added by certain accessor functions,
which are here renamed.
2019-12-15 14:54:57 -05:00
Paul Licameli
a3bda5be97 Fix dangling reference bug 2019-12-14 18:53:05 -05:00
Paul Licameli
8aa6b47b17 Try again to fix TranslatableString for Windows compiler...
... The fix at a3d8518 was not sufficient.

I think the Windows compiler has a bug, and gets confused by a name that has
static and non-static overloads.  So use distinct names instead.
2019-12-14 14:20:50 -05:00
Paul Licameli
a19035429c Welcome back, Leland! 2019-12-14 14:00:23 -05:00
Paul Licameli
2afddd3421 More TranslatableString in AboutDialog...
... fixing a few missed translations
2019-12-14 14:00:23 -05:00
Paul Licameli
bed25c870b Use TranslatableString in About dialog credits...
... obeying the substitute-don't-concatenate rule
2019-12-14 14:00:23 -05:00
Paul Licameli
a3d8518f5d Fix misbehavior of TranslatableString::Format in Windows build...
... Make sure it doesn't try to capture this (quite unnecessarily!) but calls
the static overload of DoFormat.

Make other qualified calls too for added measure.
2019-12-14 12:27:27 -05:00
James Crook
fea8af541e Fix Windows build. 2019-12-14 10:37:19 +00:00
Paul Licameli
9a609fe1fe TranslatableString in ProgressDialog 2019-12-14 01:48:15 -05:00
Paul Licameli
02cdb4ab45 Define ComponentInterface::GetUntranslatedName() 2019-12-14 01:48:15 -05:00