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
Paul Licameli
378c96fda1
Consistently use translated effect name in titles of message boxes...
...
... For built-in and Nyquist effects.
2018-01-01 17:50:01 -05:00
James Crook
d7574b799b
NoteTrack: Fix VZooming indicators.
...
Previously the changed cursor and VZooming lines showed whether or not VZooming by drag was enabled.
2018-01-01 16:24:12 +00:00
James Crook
916db76052
Bug 1813 - Vertical Zooming Beartrap
...
Fixed by making 'More vertical zooming' an opt in (rather than opt out) option.
Also changed 'More' to 'Advanced' at the same time.
2018-01-01 16:17:37 +00:00
James Crook
26a18679f2
Comment out iterator transform code
...
It was causing a problem on MSVC2013.
2018-01-01 16:15:40 +00:00
Paul Licameli
3c9cdac778
Drag-and-drop checks file extensions first for plug-in candidates...
...
... Avoids big delays in drag-and-drop importation caused by
765ca0c8136134a1d65bfad0ea39682a83d3d984
2018-01-01 10:29:26 -05:00
Paul Licameli
2cdf931e5a
More IteratorRange utility functions and member functions
2018-01-01 09:59:35 -05:00
Paul Licameli
7ec5fd79df
Interface preferences displays self-names of languages
2017-12-31 21:58:36 -05:00
Paul Licameli
2e8a73bab1
Fix Windows build
2017-12-31 20:04:35 -05:00
Paul Licameli
765ca0c813
Easy drag-and-drop installation of Nyquist and LADSPA effects
2017-12-31 18:24:48 -05:00
Paul Licameli
2c2db0fe09
Implement drag-and-drop of Nyquist, LADSPA, VST plug-ins...
...
... I'm not sure how to make it work for AudioUnits, LV2, or Vamp, for which
the API for identifying a plug-in doesn't map straightforwardly to a file name.
2017-12-31 18:09:41 -05:00
Paul Licameli
8cfb8d2400
Change ModuleInterface for support of drag-and-drop of plug-in files
2017-12-31 18:09:36 -05:00
Paul Licameli
6463e12576
Move MyCopyFile into class FileNames
2017-12-31 16:18:55 -05:00
Paul Licameli
0c97918bb9
Ladspa, VST: As before eb3bc7e: keep registering even if some errors
2017-12-31 16:18:53 -05:00
Paul Licameli
86b9c5c5fe
Can use std::function on Mac too
2017-12-31 16:18:51 -05:00
James Crook
80d7f2426f
NoteTrack VZooming.
2017-12-31 18:04:47 +00:00
James Crook
94b1175684
mod-script-pipe: Recreate MS project and .sln files.
...
This was to work around a bug in MSVC that reports a
bogus warning MSB8012, caused by using an upgraded project.
I also in the process fixed the release build, which was building as debug earlier.
2017-12-31 15:44:47 +00:00
Paul Licameli
e06a6fd797
Fix blank filenames in .aup saved then saved-as twice to same path...
...
Bug was introduced at commit c1d1bee6b1914faba750dd4c488e99ced32edad4
2017-12-30 18:00:18 -05:00
Paul Licameli
0c8890cda1
Bug 1793: Applying chain to files should zoom-to-fit
2017-12-30 14:15:17 -05:00
James Crook
37ec3b52c7
mod-script-pipe: Use release libs in release build.
2017-12-30 08:20:27 +00:00
James Crook
647f9ce0bb
Merge pull request #225 from Pointedstick/unify-appstream-id
...
Standardize on an rDNS-style AppStream ID
2017-12-29 23:14:49 +00:00