Bugzilla – Bug 2012
Nyquist plug-in translations broken when string includes format specifiers
Last modified: 2021-01-29 11:47:16 UTC
Most of the multi-line strings in Nyquist plug-ins are not translated (they appear in English), even when there is a translation for them. Several format specifiers are listed here: http://www.audacity-forum.de/download/edgar/nyquist/nyquist-doc/xlisp/xlisp-ref/xlisp-ref-121.htm Known to cause problems: The tilde character at the end of a line should continue the 'format' string on the next line, ignoring all leading white-space on the new line. The leading whitespace breaks the translation. Escaped characters, such as "\t" appear to lose their backslash.
Created attachment 1068 [details] German translation Steve, is this working now? I tried German and it appears to be fixed for me.
I'm not able to test all format specifiers, but "~%" and "~<newline>" are now working correctly. As that is the primary problem described in the bug description,I'm closing this as "Fixed". I have not tested backslash escaped characters (https://www.audacity-forum.de/download/edgar/nyquist/nyquist-doc/xlisp/xlisp-man/xlisp-man-007.htm) as we have avoided them in shipped plug-ins. If they prove to be a problem in the future, that can be added to bugzilla as a new issue.