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

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.
This commit is contained in:
Paul Licameli
2020-05-22 18:49:35 -04:00
parent 3542eb4ca0
commit f1ae8109ee
6 changed files with 98 additions and 62 deletions

View File

@@ -8,7 +8,8 @@ $author (_ "Steve Daulton")
$release 2.3.0
$copyright (_ "Released under terms of the GNU General Public License version 2")
$control filename (_ "Select file") file "" "*default*/sample-data.txt" "Text file|*.txt;*.TXT|All files|*.*;*" "open,exists"
$control filename (_ "Select file") file "" "*default*/sample-data.txt" (((_ "Text file") (txt TXT))
((_ "All files") (""))) "open,exists"
$control bad-data (_ "Invalid data handling") choice (("ThrowError" (_ "Throw Error"))
("ReadAsZero" (_ "Read as Zero"))) 0