1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-02 08:39:46 +02:00

7779 Commits

Author SHA1 Message Date
Paul Licameli
0a711d8b26 define CommandContext 2018-01-05 09:27:17 -05:00
Paul Licameli
aa5c3f12a3 easy change key bindings 2018-01-05 09:27:11 -05:00
Paul Licameli
1f7b62f056 AudacityProject::RebuildAllMenuBars is static 2018-01-05 09:19:07 -05:00
Paul Licameli
3769fdea0e fix build 2018-01-05 01:00:14 -05:00
Paul Licameli
b53e7d7a8a change a comment 2018-01-05 00:54:13 -05:00
Paul Licameli
c66eae1a46 Fix uses of wxPLURAL and update audacity.pot ...
so that
(1) we really get msgid_plural entries in the .pot
(2) i18n-comments get extracted too (needs workaround of xgettext bug)
2018-01-05 00:35:04 -05:00
Paul Licameli
d5dca050bd Mid-cycle update of audacity.pot 2018-01-04 19:56:58 -05:00
James Crook
d9c879881e
Appveyor (automated Windows builds) merge from bslatner/master
Changes to work with automated builds.
2018-01-04 15:53:13 +00:00
Bryan Slatner
9d6315fca4 Ignore NuGet package binaries 2018-01-04 10:25:28 -05:00
Bryan Slatner
053a2104ab XML library is required 2018-01-04 10:25:27 -05:00
Paul Licameli
baec816142 Rewrite the composition of clip messages in i18n-friendly way 2018-01-04 09:43:25 -05:00
Paul Licameli
def1d52505 Substitute, don't concatenate, when composing localized strings...
... Avoid English syntax bias.
2018-01-04 04:30:46 -05:00
Paul Licameli
fa7f1a455b Correct self-names for the two Chinese locales 2018-01-03 19:33:04 -05:00
Paul Licameli
e051de0b68 Abandon the drag-and-drop of plug ins for now. 2018-01-03 18:43:06 -05:00
Paul Licameli
815a80846d String literals for UTF-8 language names using octal escapes only...
... Leaving absolutely no doubt about the portability.

New Perl script in locale emits the required C++ source when LanguageNames.txt
is updated.
2018-01-03 18:01:47 -05:00
Paul Licameli
0df94faad8 The message is not in fact a format 2018-01-03 16:55:46 -05:00
Paul Licameli
50d6e75185 null checks -- fix Linux crash in drag-dropping files onto app icon? 2018-01-03 15:35:49 -05:00
Paul Licameli
889284555b Language name table is static and const 2018-01-03 15:33:52 -05:00
James Crook
a2c37d6435 Some Doxygen comments
I'm testing out some ideas on using doxygen more, and these sample
changes will help with that.
2018-01-03 15:10:58 +00:00
James Crook
82ead42249 Doxygen - Audacity version is now 2.2.2
Also enabled full source.
2018-01-03 14:32:15 +00:00
Paul Licameli
c070800e89 Modifications to the easy installation of .ny files 2018-01-03 03:28:30 -05:00
Paul Licameli
17b6ca387e Install plug-in by file icon context menu or drop on program icon...
... no longer by drop onto open program window
2018-01-03 03:26:50 -05:00
Paul Licameli
b8df8e753b macOs magic to allow drag and drop of .ny file onto Audacity program icon 2018-01-03 03:26:34 -05:00
Paul Licameli
191945c8f7 Make enablement of plug-in after drag-and-drop persistent 2018-01-03 03:26:31 -05:00
Paul Licameli
0ec42f3dd2 Fix some English grammar biases...
... Avoid small out-of-context words and phrases in translation catalog that
are then substituted into larger translated phrases with blanks.

(What if my language has declensions?  How do I know the right form to use
for the phrases?)

Instead, give the translators larger in-context phrases to work with, even if
that requires replications of phrases with small variations.
2018-01-02 22:15:33 -05:00
Paul Licameli
0bca8d15f9 Better localization of tooltips in ASlider...
... i18n-hints, avoid syntax assumptions (for Right and Left), avoid
assumptions about widths of non-numerical data
2018-01-02 21:18:20 -05:00
Paul Licameli
cfa62d1d30 Fix a missed translation 2018-01-02 20:14:12 -05:00
Paul Licameli
a1530c36a8 Rewrite "Interface preferences displays self-names of languages" ...
See original attempt at commit 7ec5fd79df65cd3e54d3d14c52df106d71d06c53

This eliminates the need for a resource file at run-time.

locale/LanguageNames.txt is intended as a "source file" that is infrequently
changed as the set of supported languages changes.

The intermediate step, of appropriately copying that file into the C++ source
code in src/Languages.cpp, was done by hand.

In XCode, I set locale/LanguagesNames.txt and src/Languages.cpp to be
interpreted as Western encoding, and then the copy-paste was easy in the
editor.

The resulting C++ source code file now has string literals that are not 7-bit
ASCII.
2018-01-02 17:08:06 -05:00
Paul Licameli
1b19ab4f02 Revert "Use unicode file format with BOM for Languages.cpp"
This reverts commit 3dc241ed54a9d31f4cc55916840839c47e3007c4.
2018-01-02 17:07:25 -05:00
James Crook
3dc241ed54 Use unicode file format with BOM for Languages.cpp
This allows us to directly include language name strings in unicode in the file.
The L in the strings ensures wchar_t use.

I've confirmed that this gives the same results visually on Windows,
and that we do get unicode on Linux.
2018-01-02 20:56:03 +00:00
Paul Licameli
5e670c900a Some i18n-hints 2018-01-02 13:04:19 -05:00
Paul Licameli
b1f7f921a0 Translate the format "%s: %s" wherever user-visible...
... because some languages, like French, prefer to insert a space before :
2018-01-02 12:59:46 -05:00
Paul Licameli
3fbfef0eb1 Plot Spectrum, Change Pitch localize pitch names; Unicode sharp/flat 2018-01-02 12:20:04 -05:00
Paul Licameli
8b86d46884 Use Unicode 1/3 fraction 2018-01-02 12:20:04 -05:00
Paul Licameli
6a810bd82f Fix Windows Build 2018-01-02 12:01:00 -05:00
Paul Licameli
28fd3442b1 Fix Windows build 2018-01-02 09:09:00 -05:00
Paul Licameli
0df4cd6c3f Fix transform iterator code. It was only a missing #include. 2018-01-02 08:31:41 -05:00
Henric Jungheim
1298ec8497 Cleanup wxPanelWrapper C++. 2018-01-02 06:13:02 -05:00
Paul Licameli
84a600bab1 Fix windows build 2018-01-02 01:05:09 -05:00
Paul Licameli
a86decbbe6 fix build 2018-01-02 00:00:58 -05:00
Paul Licameli
80a958f8a4 Rewrite empty prompts to ShuttleGUI functions as {} ...
... so we might more easily redefine the type of the function argument,
some other day (not this release)
2018-01-01 22:51:25 -05:00
Paul Licameli
e0970ad1e8 Remove unnecesary Format, Printf, casts to wxString 2018-01-01 21:53:51 -05:00
Paul Licameli
7fd78183d2 Remove needless uses of wxString::c_str() in wxString::Format...
... and similar wx "variadics," which all treat wxString smartly enough that
you don't need this.

Don't need c_str either to convert wxString to const wxChar * because
wxString has a conversion operator that does the same.
2018-01-01 20:34:33 -05:00
Paul Licameli
0efbf6a190 Localized default names and titles for many utility dialogs...
... Certain wrappers are put around direct usage of classes like
wxMessageDialog which did NOT localize by default.

Also consistently mention (translated) names of effects in titles of message
boxes that they display.
2018-01-01 17:53:13 -05:00
Paul Licameli
384300016d Define FileDialogWrapper, with localized default prompt and name 2018-01-01 17:50:04 -05:00
Paul Licameli
cf4b9eb5c8 Define wxDirDialogWrapper, with localized default prompt and name 2018-01-01 17:50:04 -05:00
Paul Licameli
729fd3767c wxDialogWrapper and wxPanelWrapper have localized default window name 2018-01-01 17:50:03 -05:00
Paul Licameli
e8b875ff81 Define AudacityMessageDialog wrapper around wxMessageDialog...
... Prohibiting use of the default caption which is unlocalized.  (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
af290d73c0 Define AudacityTextEntryDialog wrapper around wxTextEntryDialog...
... Prohibiting use of the default caption which is unlocalized.  (But we
didn't use it in fact anywhere.)
2018-01-01 17:50:03 -05:00
Paul Licameli
ccb4bbac33 Translate "Message" as default title of message box...
... This required a sweeping change of all calls to wxMessageBox!  But it seems
safe to me, despite the great number of touched files.
2018-01-01 17:50:02 -05:00