| Summary: | Conflicts accelerator keys for "Constants Buttons" and "Configure KCalc" | ||
|---|---|---|---|
| Product: | [Applications] kcalc | Reporter: | Funda Wang <fundawang> |
| Component: | general | Assignee: | Evan Teran <evan.teran> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cfeck, evan.teran, lueck |
| Priority: | NOR | ||
| Version First Reported In: | 2.0 | ||
| Target Milestone: | --- | ||
| Platform: | Mandriva RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Funda Wang
2010-06-20 11:05:32 UTC
I don't see both using C; the "Configure KCalc" gets assigned a K. $ cat kdeutils/kcalc/kcalc.cpp |grep Buttons
action_constants_show_->setText(i18n("&Constants Buttons"));
$ cat kdelibs/kdeui/actions/kstandardaction_p.h|grep Configure
{ Preferences, KStandardShortcut::Preferences, "options_configure", I18N_NOOP("&Configure %1..."), 0, "configure" },
The reason you are seeing 'Configure &KCalc' is that kdelibs will try to solve conflict accelerator keys. But for translators, especially non-latin languages like Chinese or Japanese, we cannot tell which key will be used at that time.
Would changing
action_constants_show_->setText(i18n("&Constants Buttons"));
to
action_constants_show_->setText(i18n("Constants &Buttons"));
solve this issue?
|