Translation question

John Van Ostrand john at
Tue Oct 28 13:41:59 PDT 2014

I've modified a string that are being translated, specifically the string
below that contains file extensions as well as labels:

    QStringList fileNames = QFileDialog::getOpenFileNames(this, tr("Open
dive log file"), lastUsedDir(),
        tr("Dive log files (*.xml *.uddf *.udcf *.csv *.jlb *.dld *.sde
*.db *.can);;"
            "XML files (*.xml);;UDDF/UDCF files(*.uddf *.udcf);;JDiveLog
            "Suunto Files(*.sde *.db);;CSV Files(*.csv);;MkVI
Files(*.txt);;All Files(*)"));

Do I need to modify all the /translations/*.ts files or will it be handled
by some other process?

Also, should this be changed since file extensions are not usually
translated. Maybe a sprintf to build a string using translations of labels

John Van Ostrand
At large on sabbatical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the subsurface mailing list