1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-10 17:37:45 +02:00

156 Commits

Author SHA1 Message Date
Paul Licameli
a54eaece03 Show the program name verbatim throughout AboutDialog.cpp 2020-05-24 15:07:15 -04:00
Paul Licameli
a2a0f9a177 Don't put markup in translatable strings...
... Note that par1str and par2str aren't even shown, but comment out.  Yet, I
did the work on them to serve as examples for the future.

Note the use of contexts too.  Be aware of case distinctions that some languages
make.
2020-05-24 15:07:15 -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
5cef2cd3e4 Remove a few macro _ 2020-05-22 13:07:49 -04:00
Leland Lucius
1ca911ed38 Convert all __WXDEBUG__ tests to use new _DEBUG symbol
This symbol is based on the NDEBUG symbol that's automatically
defined by CMake.
2020-04-25 02:36:27 -05:00
Paul Licameli
61abb87a77 Reviewed all i18n-hint comments...
... Moved many misplaced ones, which msgfmt would not have extracted into
audacity.pot.

Duplicated some of them, to appear with related but distinct msgids.

Added a few new comments.

Deleted one that was no longer needed in ProjectManager.cpp.
2020-04-05 09:00:00 -04:00
Leland Lucius
66aae0900b Ease CMake and legacy build coexistence
Cliff noticed that the CMake git ident was not being updated when
pulling new changes.  This was because it was getting captured at
configuration time and, even if you pull more changes, the CMake
configuration may not be redone automatically if the build files
weren't also changed.

So, this adds a new target to get the information at build time
instead.
2020-03-11 22:31:19 -05:00
Leland Lucius
f4d567dd9e Use "CMAKE" instead of "CMAKE_INTDIR"
The latter isn't available on all 3 platforms.
2020-02-24 10:36:41 -06:00
Paul Licameli
a7895b4998 "CMake" doesn't need to be translated 2020-02-21 16:47:15 -05:00
Leland Lucius
c9e760b764 Show that the build was CMake based
Probably want to pull this out later, but it's in the About
dialog as part of the "Build Type".
2020-02-21 14:32:13 -06:00
Paul Licameli
700c3deba9 Rewrite composition of long texts in AboutDialog.cpp 2019-12-26 22:11:40 -05:00
Paul Licameli
8b65b1ae08 ShuttleGui::StartNotebookPage takes TranslatableString...
... and remove an unused overload
2019-12-26 15:33:47 -05:00
Paul Licameli
1944ac2040 TranslatableString for labels of ShuttleGui buttons 2019-12-23 15:35:48 -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
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
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
96291c5476 Remove second argument of AddWindow(), use Position() instead 2019-12-02 22:01:22 -05:00
Paul Licameli
c72dbf5b51 Define and use ShuttleGui::Focus 2019-12-02 17:26:40 -05:00
Paul Licameli
bca0afd52e ShuttleGui lets you specify whether a button is default. Use that. 2019-11-28 14:24:43 -05:00
Paul Licameli
d6317ae6af Merge LinkingHtmlWindow into HelpSystem...
... they cooperated closely in a cycle of two not worth breaking
2019-07-10 10:34:04 -04:00
Paul Licameli
56b1d531b2 HelpText.cpp has fewer dependencies...
... freeing it to a low level and AboutDialog.cpp to a high level, by moving
functions from the latter into the former
2019-05-18 20:29:25 -04:00
Paul Licameli
6c57948d8f Remove unnecessary #include-s from .cpp files...
... Unnecessary because transitively included.

But each .cpp file still includes its own .h file near the top to ensure
that it compiles indenendently, even if it is reincluded transitively later.
2019-05-16 17:21:00 -04:00
Paul Licameli
f45300f032 This is only comments, in files where USE_ macros are tested...
... following the comment convention used in the preceding commit.
2019-03-22 12:38:30 -04:00
Paul Licameli
5e7d41ec07 Each .cpp/.mm file includes corresponding header before any other...
... except Audacity.h

This forces us to make each header contain all forward declarations or nested
headers that it requires, rather than depend on context.
2019-03-17 22:54:52 -04:00
Paul Licameli
906e55f047 Experimental.h in all .h or .cpp files that directly use EXPERIMENTALs...
... except Audacity.h; and in no others.

Do so even if Experimental.h gets multiply included, as in both the .h and
.cpp files.

This makes it easier to do a text scan to be sure there are no unintended quiet
changes of meaning because of omission of Experimental.h when the flag is
an enabled one.

Also move inclusions of Experimental.h earlier.

Also don't require Experimental.h to be preceded by Audacity.h to define
EXPERIMENTAL_MIDI_OUT correctly.
2019-03-17 22:54:00 -04:00
Paul Licameli
06b3b42794 Remove unnecessary initializers for empty wxString 2019-03-15 15:18:11 -04:00
Paul Licameli
c68e336247 More use of std:: style members of wxString...
... replacing:

Length => length
Len => length
2019-03-10 14:44:54 -04:00
James Crook
c912b13747 Bug 2046 - LAME not found error on 64-bit Mac build shows wrong library (32-bit one)
Audacity now looks for libmp3lame64bit.dylib on mac.
It also reports 64 bit in the build tab in about Audacity if built for 64 bit.
2019-02-10 07:37:37 +00:00
James Crook
901d684c3d Add Max Maisel to contributors (in AboutDialog) 2018-08-06 11:02:57 +01:00
James Crook
ed34e6b029 Vaughan to emeritus in AboutDialog credits. 2018-06-12 21:00:36 +01:00
Steve Daulton
0fc4c2de7a Remove trailing comma 2018-05-28 12:44:45 +01:00
Steve Daulton
126ded7d9a Update credits
Added section for website and graphics.
2018-05-24 13:20:53 +01:00
Paul Licameli
7a0475e39f Remove most uses of AUDACITY_OLD_STD 2018-05-10 00:56:36 -04:00
James Crook
8991fe7521 Fix incorrect https and translation markings.
- DarkAudacity website does not support https, so don't specify https in strings.
- Don't translate text about DarkAudacity.
2018-02-26 14:09:07 +00:00
Paul Licameli
586542bfe2 Remove post-translation substitutions 2018-02-21 19:20:54 -05:00
Paul Licameli
a663fefb8c Up to date credit link for vorbis 2018-02-05 09:00:58 -05:00
Paul Licameli
007fa9eca2 http -> https in user-visible strings...
... Some in wxT can be edited directly, some in _() are not really used now
so they can be edited directly, others require a post-translation substitution.

Not all links to libraries from Credits work with https: so update only those
that do.
2018-02-05 08:52:13 -05:00
Paul Licameli
298f3111b4 Update copyright date in About window 2018-02-04 21:01:50 -05:00
Paul Licameli
54553b82b7 Fix things that confused xgettext 2018-01-16 21:45:10 -05:00
James Crook
1d5b373f7e Move Gale and Martyn to emeritus. 2018-01-11 19:22:14 +00:00
Paul Licameli
e0970ad1e8 Remove unnecesary Format, Printf, casts to wxString 2018-01-01 21:53:51 -05:00
Paul Licameli
c55ad85527 Display translator credit only for the chosen locale 2017-11-28 09:17:27 -05:00
Paul Licameli
072667e908 Move Cliff Scott's credit to Contributors section 2017-11-05 21:08:52 -05:00
Paul Licameli
7f7c7795e7 Credit Cliff Scott 2017-10-24 04:24:40 -04:00
Paul Licameli
a3245b56a7 Translate "Audacity website:" in About dialog 2017-09-10 19:24:41 -04:00
Paul Licameli
74e3a6fdba Replace mentions of feedback@audacityteam.org with url of forum...
... There are two in AboutDialog.cpp, but these strings aren't actually used.

There are two in InconsistencyException.cpp, which ought never to be seen by
users, but should be treated as high priority bugs if they are.

There is a very old one in Sequence.cpp, which was never internationalized and
was only written to the log and likewise ought to be eliminated from happening
in pre-release testing.

Therefore, though this is a minor breach of string freeze, it's only the second
one above that users might ever see, and then only if a serious bug escaped.
2017-08-31 17:01:45 -04:00
Paul Licameli
8793dc5c4c Add "In Memoriam" section to About, for Gale Andrews 2017-08-31 13:20:50 -04:00
Paul Licameli
cdc32e2311 Remove credit of iAVC. We don't use it, and have no link for it. 2017-07-22 14:23:50 -04:00