Skip to content

Commit c67c395

Browse files
committed
Add saving finished notification
1 parent fc0cba2 commit c67c395

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve
2525
- We allowed the user to also preview the available citation styles in the preferences besides the selected ones [#8108](https://github.com/JabRef/jabref/issues/8108)
2626
- We added an option to search the available citation styles by name in the preferences [#8108](https://github.com/JabRef/jabref/issues/8108)
2727
- We added an option to generate bib-entries from ID through a popover in the toolbar. [#4183](https://github.com/JabRef/jabref/issues/4183)
28+
- We added a menu option in the right click menu of the main table tabs to display the library properties. [#6527](https://github.com/JabRef/jabref/issues/6527)
29+
- When a `.bib` file ("library") was saved successfully, a notification is shown
2830

2931
### Changed
3032

src/main/java/org/jabref/gui/DialogService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Optional<ButtonType> showCustomButtonDialogAndWait(Alert.AlertType type, String
215215
<V> Optional<ButtonType> showBackgroundProgressDialogAndWait(String title, String content, StateManager stateManager);
216216

217217
/**
218-
* Notify the user in an non-blocking way (i.e., in form of toast in a snackbar).
218+
* Notify the user in a non-blocking way (i.e., in form of toast in a snackbar).
219219
*
220220
* @param message the message to show.
221221
*/

src/main/java/org/jabref/gui/exporter/SaveDatabaseAction.java

+1
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ private boolean save(Path targetPath, SaveDatabaseMode mode) {
214214
libraryTab.getUndoManager().markUnchanged();
215215
libraryTab.resetChangedProperties();
216216
}
217+
dialogService.notify(Localization.lang("Library saved"));
217218
return success;
218219
} catch (SaveException ex) {
219220
LOGGER.error(String.format("A problem occurred when trying to save the file %s", targetPath), ex);

src/main/resources/l10n/JabRef_en.properties

+2-4
Original file line numberDiff line numberDiff line change
@@ -756,13 +756,11 @@ Save\ before\ closing=Save before closing
756756

757757
Save\ library=Save library
758758
Save\ library\ as...=Save library as...
759-
760-
Saved\ selected\ to\ '%0'.=Saved selected to '%0'.
761-
762759
Saving=Saving
763760
Saving\ all\ libraries...=Saving all libraries...
764-
765761
Saving\ library=Saving library
762+
Library\ saved=Library saved
763+
Saved\ selected\ to\ '%0'.=Saved selected to '%0'.
766764

767765
Search=Search
768766

0 commit comments

Comments
 (0)