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. "oldsource" tag in QtLinguist
Qt 6.11 is out! See what's new in the release blog

"oldsource" tag in QtLinguist

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 505 Views 2 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.
  • A Offline
    A Offline
    Adama W.
    wrote on last edited by
    #1

    In the translation file of the project I contribute to, I notice a tag:

    <oldsource></oldsource>
    

    It is used as follows:

    <message>
            <source>Display Properties</source>
            <oldsource>Display Node</oldsource>
            <translation>Afficher le Noeud</translation>
        </message>
    

    Unfortunately, I don't know which sequence of actions led to lupdate generating that tag and I would like to know how so that I can use it to keep a record of previous states of a string. The only thing I was able to find through an online search was that it is the "previous content of a source (result of a merge)". I tried merging the local version of my file which had changes, to the version on GitHub but no "oldsource" tag generated. I would appreciate some help with that.
    Thank you!

    1 Reply Last reply
    0
    • D Offline
      D Offline
      devjb
      wrote on last edited by
      #2

      I also am interested in someone elaborating on that topic.

      I already found out how to get rid of all obsolete strings by using -noobsolete as argument to lupdate.

      However, those oldsource tags are something that I also not want to have. Is there a method to get rid of them other than hand edit the .ts file?

      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