Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14442

string "Undo" is used for both unavailable and available menu item (in KDE)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.8.0
    • 4.6.3, 4.7.0
    • None
    • Gentoo Linux, x86-64
    • 213c25ad24e4f3b0a44f82f23d34746cd294f8d6

      I would like to translate "Undo" as "Undo action" (but in Russian) when there
      are no commands to undo, and "Undo" (or "Undo %1") when there is one.

      But the same string "Undo" is used in both cases, so I cannot use different translations.

      Comment by Christoph Feck:
      This is a problem in QUndoStack. The method that creates the "Undo" action
      really just prepends the prefix (usually "Undo") in front of the action text.

      -----------

        1. no_actions.jpg
          no_actions.jpg
          16 kB
        2. QTBUG-14442.rar
          2 kB
        3. with_actions.jpg
          with_actions.jpg
          22 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            aspotashev Alexander Potashev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes