Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Request for a way to delete a few obsolete strings from Qt Linguist

Request for a way to delete a few obsolete strings from Qt Linguist

Scheduled Pinned Locked Moved Unsolved Language Bindings
1 Posts 1 Posters 672 Views
  • 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.
  • K Offline
    K Offline
    KMKT
    wrote on last edited by
    #1

    Hello,

    While I know how to remove ALL obsolete strings with lupdate -noobsolete, I think it would be convenient to have a way in Qt Linguist to delete specific strings, for example by pressing <Del> (or by right clicking on the string with choice "Delete" in a popup menu).
    If several TS files are opened, deleting one string would delete all the obsolete translations in all the opened files.

    Indeed, I have several strings that were translated then commented out temporarily. If I update the TS files with option -noobsolete, I will lose those translations for when I want to bring them back.
    Currently, my only solution is to open all my TS files (in all languages) with a text editor and search for the obsolete source text I spotted in QtLinguist, check that is really is the proper text, and delete all its section from "<message>" to "</message>".

    Thanks for your understanding!

    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