Skip to content

Commit

Permalink
Replace fetcherName with Identifier-based Web Search (#10391)
Browse files Browse the repository at this point in the history
* Replace fetcherName with Identifier-based Web Search

* Add l10n

* Add Localization.lang(...)

* Add CHANGELOG.md entry

---------

Co-authored-by: Oliver Kopp <[email protected]>
  • Loading branch information
Luggas4you and koppor authored Sep 22, 2023
1 parent 0791b96 commit 834d527
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
### Changed

- The export formats `listrefs`, `tablerefs`, `tablerefsabsbib`, now use the ISO date format in the footer [#10383](https://github.com/JabRef/jabref/pull/10383).
- When searching for an identifier in the "Web search", the title of the search window is now "Identifier-based Web Search". [#10391](https://github.com/JabRef/jabref/pull/10391)

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void search() {
if (CompositeIdFetcher.containsValidId(query)) {
CompositeIdFetcher compositeIdFetcher = new CompositeIdFetcher(preferencesService.getImportFormatPreferences());
parserResultCallable = () -> new ParserResult(OptionalUtil.toList(compositeIdFetcher.performSearchById(query)));
fetcherName = compositeIdFetcher.getName();
fetcherName = Localization.lang("Identifier-based Web Search");
}

final String finalFetcherName = fetcherName;
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2596,3 +2596,4 @@ Show\ articles\ related\ by\ citation=Show articles related by citation
Error\ while\ fetching\ citing\ entries\:\ %0=Error while fetching citing entries: %0
Jump\ to\ entry\ in\ database=Jump to entry in database
Help\ on\ external\ applications=Help on external applications
Identifier-based\ Web\ Search=Identifier-based Web Search

0 comments on commit 834d527

Please sign in to comment.