Skip to content

Commit

Permalink
Update status bar message (JabRef#7452)
Browse files Browse the repository at this point in the history
Use Localization when writing messages in the status bar.
  • Loading branch information
kittytinythai authored and grundb committed Mar 4, 2021
1 parent c6e95c7 commit a99708f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,9 @@ public void download() {
linkedFiles.set(oldFileIndex, newLinkedFile);
}
entry.setFiles(linkedFiles);
// Notify in bar when the filetype is HTML.
// Notify in bar when the file type is HTML.
if (newLinkedFile.getFileType().equals(StandardExternalFileType.URL.getName())) {
dialogService.notify("Downloaded a linked HTML file.");
dialogService.notify(Localization.lang("Downloaded website as an HTML file."));
}
});
downloadProgress.bind(downloadTask.workDonePercentageProperty());
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@ Do\ not\ write\ the\ following\ fields\ to\ XMP\ Metadata=Do not write the follo
Donate\ to\ JabRef=Donate to JabRef

Download\ file=Download file

Downloaded\ website\ as\ an\ HTML\ file.=Downloaded website as an HTML file.

duplicate\ removal=duplicate removal

Duplicate\ string\ name=Duplicate string name
Expand Down

0 comments on commit a99708f

Please sign in to comment.