Skip to content

Commit 834d527

Browse files
Luggas4youkoppor
andauthored
Replace fetcherName with Identifier-based Web Search (JabRef#10391)
* Replace fetcherName with Identifier-based Web Search * Add l10n * Add Localization.lang(...) * Add CHANGELOG.md entry --------- Co-authored-by: Oliver Kopp <[email protected]>
1 parent 0791b96 commit 834d527

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
2323
### Changed
2424

2525
- The export formats `listrefs`, `tablerefs`, `tablerefsabsbib`, now use the ISO date format in the footer [#10383](https://github.com/JabRef/jabref/pull/10383).
26+
- 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)
2627

2728
### Fixed
2829

src/main/java/org/jabref/gui/importer/fetcher/WebSearchPaneViewModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public void search() {
154154
if (CompositeIdFetcher.containsValidId(query)) {
155155
CompositeIdFetcher compositeIdFetcher = new CompositeIdFetcher(preferencesService.getImportFormatPreferences());
156156
parserResultCallable = () -> new ParserResult(OptionalUtil.toList(compositeIdFetcher.performSearchById(query)));
157-
fetcherName = compositeIdFetcher.getName();
157+
fetcherName = Localization.lang("Identifier-based Web Search");
158158
}
159159

160160
final String finalFetcherName = fetcherName;

src/main/resources/l10n/JabRef_en.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2596,3 +2596,4 @@ Show\ articles\ related\ by\ citation=Show articles related by citation
25962596
Error\ while\ fetching\ citing\ entries\:\ %0=Error while fetching citing entries: %0
25972597
Jump\ to\ entry\ in\ database=Jump to entry in database
25982598
Help\ on\ external\ applications=Help on external applications
2599+
Identifier-based\ Web\ Search=Identifier-based Web Search

0 commit comments

Comments
 (0)