GUI bug: Localized Audacity loses some access keys

Bug reports for Audacity 2.3.1 alpha
Forum rules
This forum is only for feedback and bug reports for the specified version of Audacity.

All bug reports must include the following information:
  • Exact version number of Audacity
  • Operating system version
  • Brief description of the problem
  • Detailed, step by step instructions for how to reproduce the problem
Bug reports that do not include the above information will be deleted

Additional information and / or screenshots should be included as necessary to adequately describe the problem.
Post Reply
Phroneris
Posts: 25
Joined: Wed Oct 17, 2018 9:55 am
Operating System: Windows 7

GUI bug: Localized Audacity loses some access keys

Post by Phroneris » Thu Nov 29, 2018 7:37 pm

I'm translating Audacity to Japanese.
This problem isn't so usual nor fatal, but I'm glad if this minor inconvenience is fixed.

Though I don't know how about other languages, at least in Japanese, access key is placed at the end of main string in upper case and enclosed in parentheses.

Code: Select all

[EN]: Effe&ct
[JP]: エフェクト(&C)
The problem is that there are some cases where the access key with parentheses becomes invisible and only the main string is shown.

For example, when importing an audio file, three options (two radio buttons and one checkbox) appear in a warning dialog and each of them has its access key.
However, Audacity visually displays them as if they don't have their access keys at the end.

Code: Select all

[EN        ]: Make a &copy of the files before editing (safer)
[JP(ja.po) ]: 編集前にファイルのコピーを作成する (安全) (&C)
[JP(visual)]: 編集前にファイルのコピーを作成する (安全)
Red is the exemplified string and blues are the others with the same problem.
noAccessKeys_import.png
noAccessKeys_import.png (12.66 KiB) Viewed 115 times

Another example can be seen on [Edit] > [Preferences] > [Recording] > [Name newly recorded tracks].
Four checkbox options lack their access keys visually.

Code: Select all

[EN        ]: Custom Track &Name
[JP(ja.po) ]: カスタムトラック名(&N)
[JP(visual)]: カスタムトラック名
Red is the exemplified string and blues are the others with the same problem.
noAccessKeys_recPref.png
noAccessKeys_recPref.png (20.9 KiB) Viewed 115 times

Note that the hidden access keys are just hidden and they do work.
In the second case above, pressing Alt+N toggles the custom track name successfully.

Thanks.

OS: Windows 7 64bit
my ja.po: https://github.com/Phroneris/audacity/b ... cale/ja.po
Audacity version: 2.3.1-alpha-Nov 24 2018 (built by myself at commit 800ddae34b424a377ef4bbac16aac7638f93ad1b)

steve
Site Admin
Posts: 49006
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: GUI bug: Localized Audacity loses some access keys

Post by steve » Thu Nov 29, 2018 8:21 pm

On Linux, these access keys only show when the Alt key is pressed.
This is what it looks like for me (English):

warning.png
warning.png (78.56 KiB) Viewed 112 times
Note that it is the character preceded by the "&" that is underscored.
How can that work if the localized text does not have the relevant character?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Phroneris
Posts: 25
Joined: Wed Oct 17, 2018 9:55 am
Operating System: Windows 7

Re: GUI bug: Localized Audacity loses some access keys

Post by Phroneris » Fri Nov 30, 2018 10:45 am

steve wrote:
Thu Nov 29, 2018 8:21 pm
Note that it is the character preceded by the "&" that is underscored.
How can that work if the localized text does not have the relevant character?
Then I tried three patterns.

Code: Select all

no "&"  : 編集前にファイルのコピーを作成する (安全) (C)
no char : 元ファイルから直接読み込む (高速) (&)
no ")"  : 次回からは表示せず、いつも上記設定を使用する(&W
Result: all are visible.
noAccessKeys_import_test.png
noAccessKeys_import_test.png (12.59 KiB) Viewed 103 times

steve
Site Admin
Posts: 49006
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: GUI bug: Localized Audacity loses some access keys

Post by steve » Fri Nov 30, 2018 12:17 pm

I think you would do better asking about this on the translator's mailing list, as that is where the translation experts hang out. (https://sourceforge.net/projects/audaci ... ranslation)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Phroneris
Posts: 25
Joined: Wed Oct 17, 2018 9:55 am
Operating System: Windows 7

Re: GUI bug: Localized Audacity loses some access keys

Post by Phroneris » Fri Nov 30, 2018 1:51 pm

OK, thanks.

Post Reply