Skip to content

Commit

Permalink
packageHelp: improved printing of package.version
Browse files Browse the repository at this point in the history
  • Loading branch information
octaeder committed Feb 10, 2024
1 parent 5321280 commit 3b000eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/latexrepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ QString LatexRepository::packageInfo(LatexPackageInfo package)
Info += tr("- Name : ")+package.name+"\n";
Info += tr("- Caption : ")+package.caption+"\n";
Info += tr("- Authors : \n")+package.authorsFullName()+"\n";
Info += tr("- Version : ")+package.version.number+", "+package.version.date.toString()+"\n";
QString delim = ( package.version.number.isEmpty() || !package.version.date.isValid() ? "" : ", " );
Info += tr("- Version : ")+package.version.number+delim+package.version.date.toString()+"\n";
Info += tr("- Documentation : \n")+package.showAllDocumentation()+"\n";
Info += tr("- Copyright : \n")+package.showAllCopyrights()+"\n";
Info += tr("- License : \n")+package.showAllLicenses()+"\n";
Expand Down

0 comments on commit 3b000eb

Please sign in to comment.