Skip to content

Commit

Permalink
Merge pull request #11706 from JabRef/fixl10ndatabase
Browse files Browse the repository at this point in the history
Improve l10n in terms of AI error message
  • Loading branch information
Siedlerchr authored Sep 5, 2024
2 parents a3980c9 + 6a03865 commit 059ec47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public void editGroup(GroupNodeViewModel oldGroup) {
public void chatWithGroup(GroupNodeViewModel group) {
// This should probably be done some other way. Please don't blame, it's just a thing to make it quick and fast.
if (currentDatabase.isEmpty()) {
dialogService.showErrorDialogAndWait(Localization.lang("Unable to chat with group"), Localization.lang("No database is set."));
dialogService.showErrorDialogAndWait(Localization.lang("Unable to chat with group"), Localization.lang("No library is selected."));
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2637,7 +2637,7 @@ Only\ PDF\ files\ can\ be\ used\ for\ chatting=Only PDF files can be used for ch
The\ chat\ history\ will\ not\ be\ stored\ in\ next\ sessions=The chat history will not be stored in next sessions
Unable\ to\ generate\ embeddings\ for\ file\ '%0',\ because\ JabRef\ was\ unable\ to\ extract\ text\ from\ the\ file=Unable to generate embeddings for file '%0', because JabRef was unable to extract text from the file
Chat\ with\ group=Chat with group
No\ database\ is\ set.=No database is set.
No\ library\ is\ selected.=No library is selected.
Unable\ to\ chat\ with\ group=Unable to chat with group
Waiting\ for\ AI\ reply...=Waiting for AI reply...
An\ error\ occurred\ while\ opening\ chat\ history\ storage.\ Chat\ history\ of\ entries\ and\ groups\ will\ not\ be\ stored\ in\ the\ next\ session.=An error occurred while opening chat history storage. Chat history of entries and groups will not be stored in the next session.
Expand Down

0 comments on commit 059ec47

Please sign in to comment.