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

7790 Commits

Author SHA1 Message Date
Paul Licameli
4d978bcefb Use wxPrintf not printf 2017-12-16 11:54:32 -05:00
Paul Licameli
cd06c04fa0 Use wxFprintf not fprintf and you don't need c_str 2017-12-16 11:54:18 -05:00
Paul Licameli
2dacaa56a9 Further simplification of commit a0fad21fec68a671655bb5158e37880d3fed78ba 2017-12-16 11:40:54 -05:00
James Crook
970b9a27ee Fix ASSERT condition.
I introduced this overly zealous ASSERT during a recent clean up.
2017-12-14 16:27:44 +00:00
James Crook
cab984d590 Add Spectral VZoom Reset
Also shortened the repetitive VZooming code.
Changed preference name to 'More vertical zooming'.
2017-12-14 16:00:59 +00:00
James Crook
41ac4cd47a Add Hover-Over-Down State for Button
Previously hovering over a down button made no difference.
Also tweaked the appearance of hover-over thumbs on dark theme sliders.
Also tweaked hover images and colours generally.

Classic retains the old style.
Hi Contrast does not distinguish between hover-up and hover-down.
2017-12-14 14:39:56 +00:00
James Crook
3379b4e499 VZoom cfg defaults different for Audacity and DA.
VZooming remains on by default in Audacity itself.
Also kGuard (the gurard zone in the VRuler) reduced from 8 pixels to 5pixels
following feedback from Steve.
2017-12-12 21:06:09 +00:00
David Bailes
516af71782 Fix for #1554: toolbars open undocked if previously hidden
Problem:
1. If a toolbar is docked and hidden, when config is written, dock is set to 0 (undocked).
2. When config is read, if a toolbar is docked, then the show field is ignored, and the toolbar is always shown.

Summary of fix:
1. Introduce a new version of the dock field (DockV2) to minimise the problems when running previous versions of Audacity, having run a version with this patch(as suggested by Paul).
2. In ToolManage::WriteConfig, for a docked toolbar which is hidden, DockV2 is set to the dock number, and not 0.
3. In ToolManager::ReadConfig, for a hidden docked toolbar in the config, the toolbar is docked, but is not included in the configuration.

Note, that if a version of Audacity without this fix is run after running a version with this fix:
1. The dock of each toolbar is reset to its default value.
2. In addition, for 2.1.3, 2.2.0 and 2.2.1 whether a toolbar is shown or hidden is reset to its default value.
2017-12-12 14:39:02 +00:00
James Crook
3649f39dc5 SetText and GetText deprecated. Use modern equivalents. 2017-12-12 13:25:45 +00:00
Steve Daulton
9735775a8d Fix bug 963 again 2017-12-11 21:58:42 +00:00
James Crook
13c6fdf663 VZooming Changes
1: Guard zone 8 pixels wide in VRuler to reduce risk of accidental use.
2: VerticalZooming preference, for VRuler zooming, off by default,
3: Enabled Paul's right-click menu in VRuler with some extra
presets (x2 and x0.5)
4: Rearranged some messy code with lots of ifs to use a switch.

Also, with EXPERIMENTAL_HALF_WAVE defined we now get a
'half wave' option in the VRuler menu, that shows the wave top half.
We also use it in collapsed waves (and collapsing and restoring
a WaveTrack will get you back to normal zoom.
2017-12-11 18:41:48 +00:00
Paul Licameli
8a1f5bb748 Fix misspelling pointed out by Olivier Humbert 2017-12-09 05:42:53 -05:00
Paul Licameli
a0fad21fec Remove special treatment of late additions to 2.2.1 i18n messages 2017-12-08 20:48:11 -05:00
James Crook
cb363cdd99 Make right half of VRuler inactive.
This is a buffer zone to reduce risk of accidental activation of VRuler scaling.
2017-12-08 22:16:18 +00:00
James Crook
f463eda36c Clean up some dead code and MSVC warnings.
- Dead code from experiments in SelectionBar removed.
- Many warnings about unused parameters fixed with WXUNUSED()
- Many warnings about signed / unsigned comparisons cleaned up.
- Several 'local variable declared but not used' warnings fixed.
2017-12-08 15:20:39 +00:00
James Crook
b63e61d8e9 Menu item scrub -> seek and accelerator tweaks.
The scrub submenu only contained seek commands.
Merging the menus meant duplicated 'c' accelerator.
2017-12-08 10:59:38 +00:00
James Crook
1d05f14b07 Merged Ext-Bar and Ext-Command menus.
The toggle to switch the extra menu(s) on or off still says 'menus' (plural).  Decided not to change it as the submenus count as 'menus'.  Also we may later add extra menus to the track drop down and in other places.
2017-12-08 10:51:46 +00:00
Paul Licameli
161a869102 Version 2.2.2 is open for alpha development 2017-12-07 22:21:55 -05:00
Paul Licameli
26d72bea9a Updated sl.po -- Slovenian submitted by Martin Srebotnjak Audacity-2.2.1 2017-12-05 20:59:58 -05:00
Paul Licameli
2ce898f5fc Make it.po and zh_CN.po friendly to Windows build, again ( avoid #~| ) 2017-12-05 14:31:56 -05:00
Paul Licameli
80995ed874 Updated README.txt by Bill Wharrie 2017-12-04 13:00:59 -05:00
Paul Licameli
57126b66e7 Updated zh_TW.po -- Chinese (Traditional) submitted by mkpoli 2017-12-04 13:00:59 -05:00
Paul Licameli
1dfe97097e Corrections in zh_CN.po -- Chinese (Simplified) submitted by mkpoli 2017-12-04 13:00:59 -05:00
Paul Licameli
2649059076 Updated it.po -- Italian to 100% submitted by Carmelo Battaglia 2017-12-04 13:00:58 -05:00
Paul Licameli
faa603a0eb Fix build of .mo files on all platforms 2017-11-29 19:55:01 -05:00
Paul Licameli
9478746000 Revert "msgfmt on Windows made errors for comments in .po starting #~|"
This reverts commit d1a7aa31bf909d78d42c81ee9daa3686f231f771.
2017-11-29 19:40:31 -05:00
Paul Licameli
d1a7aa31bf msgfmt on Windows made errors for comments in .po starting #~| 2017-11-29 18:50:05 -05:00
Paul Licameli
a627f7b77f Updated zh_CN.po -- Chinese (Simplified) submitted by mkpoli 2017-11-29 18:23:40 -05:00
Paul Licameli
5aa3ff94c7 Fix more ambiguous accelerators...
... My own choices, not the translators'
2017-11-29 16:54:19 -05:00
Antonio Ospite
d70eb74c4c Make exported label tracks locale-independent
Currently, when Audacity exports labels tracks numbers are formatted
with the "%f" specifier, which relies on the current user locale to pick
up the decimal separator.

This means that the numbers indicating the start and the end of the
labeled interval could end up using a comma as a decimal separator.

This makes the exported file less portable, especially in the case of
parsing the exported file with an external tool.

Audacity is already able to _import_ labels tracks independently of the
locale because it uses Internat::CompatibleToDouble(), so do something
symmetric at _export_ time, using Internat::ToString() to make the
exported data locale-independent (i.e. always using a dot as the decimal
separator).

Proposed in https://sourceforge.net/p/audacity/mailman/message/35534945/

NOTE:

When converting numbers to strings FLT_DIG is passed as the
digitsAfterDecimalPoint argument of Internat::ToString(), this is in
order to preserve the look and the alignment of the previous "%f" format
specifier; without that Internat::ToString() would strip trailing zeros.

Audacity requires C++11, this ensures that FLT_DIG is defined.
2017-11-29 11:30:48 -05:00
Paul Licameli
db2074dfc2 Bug1791: Quick-play looped should begin where you pick...
... Was broken at commit 2cbdd1cc4319da11d82
2017-11-29 11:16:01 -05:00
Olivier Humbert
d5547a7865 Update French translators credits + timestamp (#221)
* Update French translators credits + timestamp

* other improvements to the French translation

* fixes timestamp
2017-11-28 21:21:28 -05:00
Paul Licameli
5bec6e660c Added script locale/diagnostics.sh 2017-11-28 20:58:53 -05:00
Paul Licameli
be5c061304 Updated es.po -- Spanish submitted by Antonio Paniagua Navarro 2017-11-28 12:32:51 -05:00
Olivier Humbert
71dc6a7df1 French translation improvements 2017-11-28 12:22:03 -05:00
Paul Licameli
5eccf5172e Fix ambiguous accelerators in pt_PT.po, and some punctuation, from Bruno 2017-11-28 12:18:16 -05:00
Paul Licameli
b0879a561b Fix ambiguous accelerator in el.po 2017-11-28 12:08:26 -05:00
Paul Licameli
c55ad85527 Display translator credit only for the chosen locale 2017-11-28 09:17:27 -05:00
Paul Licameli
c8eec056a6 Remove line numbers from comments in ar.po 2017-11-28 08:43:30 -05:00
Paul Licameli
01d4570306 Update audacity.pot without line numbers in comments...
... This also removes some msgids, adds none
2017-11-28 08:43:30 -05:00
Paul Licameli
ce7561a0b1 Don't make duplicate msgid 2017-11-28 08:43:30 -05:00
Paul Licameli
ac2c4c8d3b Revert "Fix duplicate strings for translation (Skip &Forward)"
This reverts commit 6c8d4e0aaa8764636bf436870b28d17a7a1e9090.
2017-11-28 08:42:32 -05:00
James Crook
6c8d4e0aaa Fix duplicate strings for translation (Skip &Forward) 2017-11-28 12:44:24 +00:00
Paul Licameli
e2dfaed0f2 pt, zh, ja translation changes for Windows installer...
... recommended by Bruno Ramalhete and mkpoli, for "Reset Preferences"
2017-11-27 23:47:30 -05:00
Olivier Humbert
0d89bc3f15 Fix some typos in msgids, thanks to Olivier Humbert...
... Fix the source code; fix up msgids in audacity.pot and *.po
2017-11-27 23:12:37 -05:00
Paul Licameli
6bde636044 Updated ar.po -- Arabic (92%) submitted by Hussam Eddin Alhomsi 2017-11-27 21:20:45 -05:00
Paul Licameli
653fa2d354 Fix progress dialog for export of FLAC 2017-11-27 21:17:41 -05:00
Olivier Humbert
b69a272ad9 Updated fr.po (and audacity.iss) -- French submitted by Olivier Humbert...
... "#trebmuh" comment lines remain, where the translator may wish to review
and revise later.

Olivier's commit comments:

- disambiguation: decay (EN) -> déclin (FR)
- disambiguation : save (EN) -> sauvegarder (FR) and record (EN) -> enregistrer (FR)
- consistency around preset (EN) -> préréglage (FR)
- fixes "sample rate" which was translated with "fréquence d'échantillonnage" while the correct translation is "taux d'échantillonnage"
- fixes "bit rate" which was translated with "débit" while the correct translation is "débit binaire"
- fixes a misleading translation where a "bit  rate" (EN) was translated to "taux d'échantillonnage" instead of "débit binaire"

+ one string was half-translated
+ 5 typos
+ 1 frenglish
+ 1 better translation
+ 3 comments-to-self
+ updated timestamp
+ 1 missing translation

adds Christian Brochec in the header

+ a bunch of note-to-self precisions
+ a couple of better accelerators
+ typos
+ update the timestamp in the header
+ get the rid off the (useless now) "#| msgid" (which were ancient translation)
2017-11-27 20:53:40 -05:00
Paul Licameli
5723a7c38f audacity.desktop.in for ja, zh_CN, and zh_TW (thanks to mkpoli) 2017-11-25 17:10:35 -05:00
Paul Licameli
81f9bf7762 Work in progress on fr.po by Olivier Humbert...
... but there are still 1029 errors from

msgcmp fr.po audacity.pot

Many of which could be fixed by removing the #, fuzzy comment lines, if
translator believes the translation is correct.
2017-11-25 14:50:07 -05:00