1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-06 14:52:34 +02:00

12211 Commits

Author SHA1 Message Date
Paul Licameli
63c49db0ce Don't internationalize logged strings; -29 macro _ calls 2020-05-23 08:07:24 -04:00
Paul Licameli
db690d94f7 Remove 27 various macro _ ...
... and supply a few missing translations in Dependencies.cpp

And substitute-don't-concatenate in a few places in Internat.cpp
2020-05-23 08:07:24 -04:00
Pavel Fric
3e5789ca14 Update Czech Translation 2020-05-23 12:23:23 +01:00
Paul Licameli
2527bdecaf Add and correct various comments 2020-05-23 06:00:56 -04:00
Paul Licameli
71e5f150ed Remove some unused things 2020-05-23 05:58:51 -04:00
Paul Licameli
b1cf7e57cb Simplify AButton...
... Don't need another constructor just to do conversions from wxImage to
ImageRoll, which can happen implicitly
2020-05-23 05:43:13 -04:00
Paul Licameli
1689050c9c Remove duplication of enum definition 2020-05-23 05:37:15 -04:00
Paul Licameli
d373e27840 Remove some unused forward declarations and #include directives 2020-05-23 05:32:01 -04:00
Paul Licameli
7fb4652c88 Remove some unused functions and forward declarations 2020-05-23 05:16:59 -04:00
Leland Lucius
8756258e55 Only add values if they were found 2020-05-22 22:49:08 -05:00
Paul Licameli
e72634fb9d Keep EXPERIMENTAL_OD_DATA compilable 2020-05-22 21:36:14 -04:00
Paul Licameli
93bcff99df Keep EXPERIMENTAL_VOICE_DETECTION compilable 2020-05-22 21:36:14 -04:00
Paul Licameli
3501a27aaf More work on i18n (22 less _ calls), bug fix, less use of wx headers 2020-05-22 20:45:54 -04:00
Paul Licameli
37c0c15f12 Replace various calls to _ with XO 2020-05-22 20:45:07 -04:00
Paul Licameli
9c196860db Rewrite sort comparisons for plugin menus...
... Don't concatenate strings just to compare.  Just do easy tuple comparisons.

Results might be different in case one plugin's symbol name, vendor, or family
is a prefix of the other one's.
2020-05-22 20:45:07 -04:00
Paul Licameli
c941647db6 Replace last wxProgressDialog with ProgressDialog; remove all wx/progdlg.h 2020-05-22 20:44:08 -04:00
Paul Licameli
928f3c8788 Finish the job of commit 7638dd0, for i18n of file dialog masks...
... Work reamained for effect presets, and for file dialogs made from Nyquist
scripts.  The four Nyquist scripts using file dialogs were rewritten in a new
format.

This keeps strange characters like | and * out of the strings given to
translators.  Instead there are only descriptions of file types.

Also fixed a bug in static initialization of tables of file types, and removes
inclusions of wx/filedlg.h, and the last uses of class wxFileDialog.
2020-05-22 20:42:26 -04:00
Paul Licameli
f1ae8109ee Internationalize file type choices for Nyquist as we do in C++ ...
... That is, present translators with msgids containing only the descriptions
of the file types.  No punctuation.

This eliminates the last wxFileDialog, replacing it with FileDialogWrapper.
2020-05-22 20:34:42 -04:00
Paul Licameli
3542eb4ca0 Replace wxFileDialog with FileDialogWrapper in two places 2020-05-22 20:19:02 -04:00
Paul Licameli
c44ae15a4d Remove inclusions of wx/filedlg.h 2020-05-22 20:18:51 -04:00
Paul Licameli
c63cbf01eb Be careful of static initialization of arrays of FileType 2020-05-22 20:14:02 -04:00
James Crook
6a50a6fad5 Explanation of XXO() macro's purpose. 2020-05-22 18:50:45 +01:00
Paul Licameli
5d80f1922c Various changes related to internationalization...
... including replacement of 25 calls of _ with XO, and substitution not
concatenation.

XXO replacing XO in a great number of places, for a type distinction in a future
release, but with no effects on the build yet.

Not yet doing the real work for passing disambiguating contexts.
2020-05-22 13:07:51 -04:00
Paul Licameli
4d09705a73 Change XO to XXO in many more places, with no effects at all...
... because the two macros have the same expansion, and are both checked for
in the --keyword arguments passed to msgfmt by locale/update_po_files.sh.

This commit makes ONLY such changes, and comments in Internat.h.  It is big
but quite harmless.

The intention is to introduce a type distinction in a later release, by defining
XXO differently.  XXO is used where & characters in strings (for hotkeys of menu
items or control prompts) are permitted, XO where not.
2020-05-22 13:07:50 -04:00
Paul Licameli
1b2d4e26ba Consistently compare to translation of "Command" in KeyView.cpp...
... note that "cat" compared with it is concatenated with _("Menu") and
stored in KeyNode::category, which is also compared elsewhere with
CommandTranslated.  So this change in one comparison is the right one.
2020-05-22 13:07:50 -04:00
Paul Licameli
44b30ca4e1 Don't internationalize "e" (introducing numeric exponent) 2020-05-22 13:07:49 -04:00
Paul Licameli
5cef2cd3e4 Remove a few macro _ 2020-05-22 13:07:49 -04:00
Paul Licameli
a0045f8772 Remove some macro _ in NumericTextCtrl & substitute-don't-concatenate 2020-05-22 13:07:32 -04:00
Paul Licameli
630bc15fd3 Fix some misplaced i18n-hint comments 2020-05-22 12:48:49 -04:00
Paul Licameli
dc53adf706 Rewrite TranslatableString::operator== without dangerous looking casts 2020-05-22 12:48:49 -04:00
Paul Licameli
eb721f33ef Substitute, don't concatenate in user-visible strings 2020-05-22 12:48:49 -04:00
Paul Licameli
d22b650e6a Fix two typos for translated strings, now that strings are unfrozen...
... See commit 97fba037a43ef57ecedc89ac24846a639caaca98.
2020-05-22 12:48:49 -04:00
Paul Licameli
24f27da9b7 Use i18n context if wxWidgets version 3.1.3 or later 2020-05-22 12:48:49 -04:00
Paul Licameli
77cce2e1eb find-duplicates.pl handles multi-line msgids 2020-05-22 12:48:49 -04:00
Paul Licameli
d8a096ba03 Correct placement of i18n-hint comments for plurals, no dummies needed 2020-05-22 12:48:49 -04:00
Paul Licameli
f8a070dde7 Rename macro wxPLURAL as XP (brief, and eliminates mention of "wx") 2020-05-22 12:48:49 -04:00
Paul Licameli
6286772049 Correct the --keyword options for xgettext...
... Don't use N_ any more.  Don't use the same in Lisp as in C++.
2020-05-22 12:48:49 -04:00
James Crook
fb0ca8e3c4 Bug 2434 - Mac: En Français the "fenêtre" command is not capitalized 2020-05-22 17:39:47 +01:00
Paul Licameli
2e3c072fd5 Bug1119: Windows menu on Mac should list all project names...
... Reimplemented without making dependency cycles.

Project and ProjectFileManager publish events for change of active project or
change of a project title.

WindowMenus.cpp can listen for those events, so that it can update the menu
appropriately.  So it's all done nonintrusively in the rest of the code.
2020-05-22 10:09:47 -04:00
Paul Licameli
78c2c09ba2 Effect management dialog is sorted by name when it opens 2020-05-22 09:30:00 -04:00
Paul Licameli
4d78e656fc A script to find strings in audacity.pot to disambiguate 2020-05-22 09:27:45 -04:00
Paul Licameli
a3d690e473 Remove lib-src/lib-widget-extra...
... It only implemented class NonGuiThread, which was not third-party, and
became unused at commit a6d0b3f
2020-05-22 09:22:49 -04:00
Paul Licameli
9ec4d65f7c Travis build uses C++14 2020-05-22 09:20:20 -04:00
Olivier Humbert
953f174a83 Typo fix in the French translation 2020-05-22 10:41:07 +01:00
David Bailes
ad680e1bbc Time Toolbar: Fixed ID for audio position
The Jaws screen reader script for audacity references the audio position control by its ID, so it's very helpful if this is fixed. It used to be fixed when the control was part of the Selection toolbar.
2020-05-22 09:19:26 +01:00
James Crook
947ed37918 Begin 2.4.2 development 2020-05-21 21:21:50 +01:00
James Crook
1322b40a9c BUILD_LEVEL 2; Ready for release Audacity-2.4.1 2020-05-19 10:43:53 +01:00
James Crook
24dba3de6b Update CMake for FreeBSD
(Patch from JackL)
2020-05-19 10:43:36 +01:00
Leland Lucius
b5ebfd2e6b Fix module build on Windows 2020-05-19 10:32:47 +01:00
Leland Lucius
93fd83c58c Fix CMake build of modules
They must not be linked against any libraries as build time.  The
symbols will be resovled at runtime.
2020-05-19 10:32:47 +01:00