1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

12099 Commits

Author SHA1 Message Date
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
Leland Lucius
c33a75ee25 Allow actions to use branches other than master 2020-05-19 10:32:13 +01:00
Paul Licameli
9a7b7c36d8 comments 2020-05-18 13:09:06 -04:00
Paul Licameli
ecb65f8c2b Bug2436: Cross-project paste should duplicate block files...
... to avoid data loss!

Bug caused by commit c2feee6
2020-05-18 10:57:23 -04:00
James Crook
c6765efa89 More version number updates. 2020-05-18 12:36:17 +01:00
James Crook
f61c87368d Begin 2.4.1 development. 2020-05-18 12:15:05 +01:00
James Crook
00c465db17 BUILD_LEVEL 2; Ready for release. Audacity-2.4.0 2020-05-10 14:07:43 +01:00
Leland Lucius
4b1d5c376d Bug 2400 - Mac: Zoomed in, playback meters slow to respond. 2020-05-10 02:36:28 -05:00
Leland Lucius
4daae34181 Bug 2425 - Linux: No MIDI support 2020-05-10 02:34:22 -05:00
Leland Lucius
27acd6ffd8 Bug 2426 - Linux: No FFmpeg support 2020-05-10 02:33:29 -05:00
James Crook
bdcd907b54 Bug 2409 - Linux: Min-source tarball includes 30Mb of wav files. 2020-05-03 09:51:17 +01:00
Leland Lucius
999872c21d Bug 2411 - Mac: Crash on docking/undocking Audacity with un-docked toolbar(s) 2020-05-02 21:03:23 -05:00
Leland Lucius
ffa4701247 Bug 2402 - Mac: Zoomed in, timeline still zoomed out. 2020-04-29 12:03:31 -05:00