diff --git a/CHANGELOG.md b/CHANGELOG.md index a61f39170fe..d9fb735930d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv ### Changed +- WE changed the tooltop to display all linked Files when hovering instead of only displaying the the first linked file. [#12470](https://github.com/JabRef/jabref/issues/12470) - We moved the "Generate a new key for imported entries" option from the "Web search" tab to the "Citation key generator" tab in preferences. [#12436](https://github.com/JabRef/jabref/pull/12436) - We improved the offline parsing of BibTeX data from PDF-documents. [#12278](https://github.com/JabRef/jabref/issues/12278) - The tab bar is now hidden when only one library is open. [#9971](https://github.com/JabRef/jabref/issues/9971) diff --git a/src/main/java/org/jabref/gui/maintable/columns/FileColumn.java b/src/main/java/org/jabref/gui/maintable/columns/FileColumn.java index 974b5fd111e..a6226379cb9 100644 --- a/src/main/java/org/jabref/gui/maintable/columns/FileColumn.java +++ b/src/main/java/org/jabref/gui/maintable/columns/FileColumn.java @@ -139,7 +139,13 @@ private void setCommonSettings() { private String createFileTooltip(List linkedFiles) { if (!linkedFiles.isEmpty()) { - return Localization.lang("Open file %0", linkedFiles.getFirst().getLink()); + StringBuilder tooltipText = new StringBuilder(); + + for (LinkedFile linkedFile : linkedFiles) { + tooltipText.append(linkedFile.getLink()).append("\n"); + } + + return Localization.lang("Open files: \n%0", tooltipText.toString()); } return null; } diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index 1e90419d3d8..d6a7c3b7fde 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -1958,7 +1958,7 @@ Move\ panel\ down=Move panel down Linked\ files=Linked files Group\ view\ mode\ set\ to\ intersection=Group view mode set to intersection Group\ view\ mode\ set\ to\ union=Group view mode set to union -Open\ file\ %0=Open file %0 +Open\ files\:\ \n%0=Open files: \n%0 Toggle\ intersection=Toggle intersection Toggle\ union=Toggle union The\ group\ name\ contains\ the\ keyword\ separator\ "%0"\ and\ thus\ probably\ does\ not\ work\ as\ expected.=The group name contains the keyword separator "%0" and thus probably does not work as expected.