Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Are translations lupdated (but not translated) every release of Qt? Undo foo is not translated.

Are translations lupdated (but not translated) every release of Qt? Undo foo is not translated.

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 785 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bootchk
    wrote on last edited by
    #1

    My question is about the process of releasing Qt. Does the Qt org run a script to refresh the needed translations at every release? For example, run lupdate on all the source having translatable strings, for every language targeted, so for example qt/qttranslations/qt_es.ts is updated on every release?

    My specific problem: 'Undo foo' is not translated in a QAction created using QUndoStack.createUndoAction(). In QUndoStack.cpp source, it uses tr('Undo %1'). That is a template, where someone(?) at runtime will substitute another translated string e.g. "drawitsky" (the text() of a QCommand) for %1 so that the user sees "Undosky drawitsky". But in qt/qtranslations/qt_es.ts (the Spanish translations) there is no "Undo %1" in the QUndoStack context, only "Undo".

    If I knew what the translations process or workflow was, I am tempted to report this as a bug in the scripts that are part of the workflow (that should be updating qt_es.ts with string "Undo %1".) Or maybe its a different bug, that the tr() macro is misinterpreting the %1?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's a question you should rather ask on the interest mailing list, you'll find there Qt's developers/maintainers(this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved