File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed
jabgui/src/main/java/org/jabref/gui Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ private void initializeInterpretCitations() {
345345 interpretParser .valueProperty ().bindBidirectional (viewModel .interpretParserProperty ());
346346 PlainCitationParserChoice initialParser = parserFromName (preferences .getLatestInterpretParser (), interpretParser .getItems ());
347347 if (initialParser == null ) {
348- final PlainCitationParserChoice defaultParser = PlainCitationParserChoice .RULE_BASED_SIMPLE ;
348+ final PlainCitationParserChoice defaultParser = PlainCitationParserChoice .RULE_BASED_GENERAL ;
349349 initialParser = parserFromName (defaultParser .getLocalizedName (), interpretParser .getItems ());
350350 }
351351 interpretParser .setValue (initialParser );
Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ protected Optional<List<BibEntry>> call() throws FetcherException {
357357 }
358358
359359 final PlainCitationParser parser = switch (parserChoice ) {
360- case PlainCitationParserChoice .RULE_BASED_SIMPLE ->
360+ case PlainCitationParserChoice .RULE_BASED_GENERAL ->
361361 new RuleBasedPlainCitationParser ();
362362 case PlainCitationParserChoice .RULE_BASED_IEEE ->
363363 new RuleBasedBibliographyPdfImporter (preferences .getCitationKeyPatternPreferences ());
Original file line number Diff line number Diff line change @@ -397,7 +397,7 @@ private JabRefGuiPreferences() {
397397 defaults .put (CREATE_ENTRY_IMMEDIATE_TYPE , StandardEntryType .Article .getDisplayName ());
398398 defaults .put (CREATE_ENTRY_ID_LOOKUP_GUESSING , true );
399399 defaults .put (CREATE_ENTRY_ID_FETCHER_NAME , DoiFetcher .NAME );
400- defaults .put (CREATE_ENTRY_INTERPRET_PARSER_NAME , PlainCitationParserChoice .RULE_BASED_SIMPLE .getLocalizedName ());
400+ defaults .put (CREATE_ENTRY_INTERPRET_PARSER_NAME , PlainCitationParserChoice .RULE_BASED_GENERAL .getLocalizedName ());
401401 // endregion
402402 }
403403
Original file line number Diff line number Diff line change 33import org .jabref .logic .l10n .Localization ;
44
55public enum PlainCitationParserChoice {
6- RULE_BASED_SIMPLE ,
6+ RULE_BASED_GENERAL ,
77 RULE_BASED_IEEE ,
88 GROBID ,
99 LLM ;
1010
1111 public String getLocalizedName () {
1212 return switch (this ) {
13- case RULE_BASED_SIMPLE ->
14- Localization .lang ("Rule-based (simple )" );
13+ case RULE_BASED_GENERAL ->
14+ Localization .lang ("Rule-based (general )" );
1515 case RULE_BASED_IEEE ->
1616 Localization .lang ("Rule-based (IEEE)" );
1717 case GROBID ->
Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ public JabRefCliPreferences() {
523523 SpringerNatureWebFetcher .FETCHER_NAME ,
524524 DBLPFetcher .FETCHER_NAME ,
525525 IEEE .FETCHER_NAME )));
526- defaults .put (DEFAULT_PLAIN_CITATION_PARSER , PlainCitationParserChoice .RULE_BASED_SIMPLE .name ());
526+ defaults .put (DEFAULT_PLAIN_CITATION_PARSER , PlainCitationParserChoice .RULE_BASED_GENERAL .name ());
527527 defaults .put (IMPORTERS_ENABLED , Boolean .TRUE );
528528 defaults .put (GENERATE_KEY_ON_IMPORT , Boolean .TRUE );
529529 defaults .put (CITATIONS_RELATIONS_STORE_TTL , 30 );
Original file line number Diff line number Diff line change @@ -2258,7 +2258,7 @@ Copied\ '%0'\ to\ clipboard.=Copied '%0' to clipboard.
22582258This\ operation\ requires\ an\ open\ library.=This operation requires an open library.
22592259
22602260Default\ plain\ citation\ parser=Default plain citation parser
2261- Rule-based\ (simple )=Rule-based (simple )
2261+ Rule-based\ (general )=Rule-based (general )
22622262Rule-based\ (IEEE)=Rule-based (IEEE)
22632263Grobid=Grobid
22642264LLM=LLM
You can’t perform that action at this time.
0 commit comments