Bugzilla – Bug 721
Equalization: Changing language from non-English to English creates two "unnamed" curves.
Last modified: 2018-08-20 11:45:23 UTC
The issue also occurs in the quite common (Windows) case where user has system language set to non-English but can't read that language, so changes Audacity interface preferences to English.
Created attachment 483 [details] Moves the 'unnamed' curve to the end of the list
(In reply to comment #1) The reason for this behaviour is that Audacity expects the 'unnamed' curve to be last in the list. In any one language it is always last and there is always a last 'unnamed' curve (in the interface, there does not have to be one in an xml file being imported). 'unnamed' is translated and so a change in language will cause Audacity to make a new 'sans nom' (or whatever) and add it to the end of the list, if it does not find one there. Then the original 'unnamed' is not at the end when the language switch back occurs, hence the problems. So we could move the 'unnamed' curve in the current language to the end of the list (patch submitted). That would be a step forward and clear most issues. Users may have some unwanted curves, but they can use 'Save/Manage Curves...' to fix that. I guess somebody working in multiple languages and wanting the 'unnamed' curve to be the same as the 'sans nom' curve and the 'unbenannt' curve (etc.) would not be satisfied. But a more generalised fix does not come to mind, and this one should fix most problems, I hope.
(In reply to comment #2) Thanks, Martyn. I compiled your patch on Windows and Mac and it works for me so I marked it "ready". > I guess somebody working in multiple languages and wanting the 'unnamed' curve > to be the same as the 'sans nom' curve and the 'unbenannt' curve (etc.) would > not be satisfied. Perhaps if anyone actually asks for that we could consider it then. Perhaps do something clever when the language changes. No one has asked yet.
(In reply to comment #3) Committed. At revision: 13275
Tests OK for me on Linux where I had not tested before, so RESOLVED - FIXED.