Skip to content

Replace fetcherName with Identifier-based Web Search#10391

Merged
koppor merged 6 commits intoJabRef:mainfrom
Luggas4you:websearch-name
Sep 22, 2023
Merged

Replace fetcherName with Identifier-based Web Search#10391
koppor merged 6 commits intoJabRef:mainfrom
Luggas4you:websearch-name

Conversation

@Luggas4you
Copy link
Copy Markdown
Contributor

@Luggas4you Luggas4you commented Sep 17, 2023

Fixes https://github.com/JabRef/jabref-issue-melting-pot/issues/230.

Screenshot 2023-09-17 172523

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

CompositeIdFetcher compositeIdFetcher = new CompositeIdFetcher(preferencesService.getImportFormatPreferences());
parserResultCallable = () -> new ParserResult(OptionalUtil.toList(compositeIdFetcher.performSearchById(query)));
fetcherName = compositeIdFetcher.getName();
fetcherName = "Identifier-based Web Search";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be great to have this localized as well

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to l10n

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-directed learning comment: https://devdocs.jabref.org/code-howtos/localization.html

Direct comment: You forgot to put Localization.lang(...) around. JabRef has no magic to determine translation strings.

@koppor koppor enabled auto-merge September 22, 2023 08:57
@koppor koppor added this pull request to the merge queue Sep 22, 2023
Merged via the queue into JabRef:main with commit 834d527 Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants