octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53526] Translation files for 4.4 Release


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #53526] Translation files for 4.4 Release
Date: Sun, 15 Apr 2018 06:18:07 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #76, bug #53526 (project octave):

While checking the new strings, I found that one in documentation.cc:

    QShortcut *hide_shortcut = new QShortcut (QKeySequence (tr ("Escape")),
p);


Would it be better to not use a translatable string to identify the character
and instead use the key identifier directly:

    QShortcut *hide_shortcut = new QShortcut (QKeySequence (Qt::Key_Escape),
p);


That would avoid that translators could accidentally mess up the shortcut.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53526>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]