mhogomchungu / media-downloader

Media Downloader is a Qt/C++ front end to yt-dlp, youtube-dl, gallery-dl, lux, you-get, svtplay-dl, aria2c, wget and safari books..
GNU General Public License v2.0
1.34k stars 101 forks source link

Translation - Please don't include in language fiel reference to source lines #388

Closed bovirus closed 3 months ago

bovirus commented 3 months ago

@mhogomchungu

Could you please check the way how to create language file (.ts) to avoid to inlcude in language file reference to source line like

because these info can change also if you don't change really teh content of teh strings (don't add /don't delete new strings).

Please leave on langauge files only string id/original string/translation strings.

Thanks.

mhogomchungu commented 3 months ago

Done, i have a script here that is supposed to do the right thing but i forget sometimes and i use wrong options from command line history. Going the delete the wrong one to make sure i do not use it again.

bovirus commented 3 months ago

@mhogomchungu

Thanks! I will check on next language update.

Note: pelase the option

-disable-heuristic number

because was remocved ins ame recent version.

Wht's version of QT SDK are you using?

mhogomchungu commented 2 months ago

A script for updating translations is here.

For reasons i do not know, sometimes references to source files are added to translation files and other times they are removed and i added a command at line 7 to make sure they are never added and this should hopefully solve this problem for good.