Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sensible default settings for "Enable save actions" and "Cleanup" dialogs #2051

Merged
merged 14 commits into from
Oct 27, 2016
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- Fixed [#2104](https://github.com/JabRef/jabref/issues/#2104): Crash after saving BibTeX source with parsing error
- Fixed [#2109](https://github.com/JabRef/jabref/issues/#2109): <kbd>Ctrl-s</kbd> doesn't trigger parsing error message
- Fixed RTFChars would only use "?" for characters with unicode over the value of 127, now it uses the base character (é -> e instead of ?)
- Fixed [koppor/#128](https://github.com/koppor/jabref/issues/128): Sensible default settings for "Enable save actions" and "Cleanup"

### Removed
- Removed 2nd preview style
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import net.sf.jabref.Globals;
import net.sf.jabref.logic.cleanup.CleanupPreset;
import net.sf.jabref.logic.cleanup.Cleanups;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.database.BibDatabaseContext;
import net.sf.jabref.model.entry.FieldName;
Expand Down Expand Up @@ -68,7 +69,7 @@ private void init() {
"Convert to BibLatex format (for example, move the value of the 'journal' field to 'journaltitle')"));

cleanUpFormatters = new FieldFormatterCleanupsPanel(Localization.lang("Run field formatter:"),
JabRefPreferences.CLEANUP_DEFAULT_PRESET.getFormatterCleanups());
Cleanups.DEFAULT_SAVE_ACTIONS);

updateDisplay(cleanupPreset);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
Expand All @@ -25,12 +26,14 @@
import javax.swing.event.ListDataEvent;
import javax.swing.event.ListDataListener;

import net.sf.jabref.JabRefGUI;
import net.sf.jabref.logic.cleanup.Cleanups;
import net.sf.jabref.logic.l10n.Localization;
import net.sf.jabref.model.cleanup.FieldFormatterCleanup;
import net.sf.jabref.model.cleanup.FieldFormatterCleanups;
import net.sf.jabref.model.cleanup.Formatter;
import net.sf.jabref.model.entry.BibEntry;
import net.sf.jabref.model.entry.FieldName;
import net.sf.jabref.model.entry.InternalBibtexFields;
import net.sf.jabref.model.metadata.MetaData;

Expand All @@ -49,6 +52,7 @@ public class FieldFormatterCleanupsPanel extends JPanel {
private JTextArea descriptionAreaText;
private JButton removeButton;
private JButton resetButton;
private JButton recommendButton;

private final FieldFormatterCleanups defaultFormatters;

Expand Down Expand Up @@ -131,12 +135,32 @@ public void contentsChanged(ListDataEvent e) {
resetButton = new JButton(Localization.lang("Reset"));
resetButton.addActionListener(e -> ((CleanupActionsListModel) actionsList.getModel()).reset(defaultFormatters));

boolean isBibTeX = !JabRefGUI.getMainFrame().getCurrentBasePanel().getDatabaseContext().isBiblatexMode();
Copy link
Member

Choose a reason for hiding this comment

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

work with "isBibLatex" instead of negating it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done 😄

String mode;

if (isBibTeX) {
mode = "BibTeX";
} else {
mode = "BibLaTeX";
}

recommendButton = new JButton(Localization.lang("Recommended for %0", mode));
recommendButton.addActionListener(e -> {

if (isBibTeX) {
((CleanupActionsListModel) actionsList.getModel()).reset(Cleanups.RECOMMEND_BIBTEX_ACTIONS);
} else {
((CleanupActionsListModel) actionsList.getModel()).reset(Cleanups.RECOMMEND_BIBLATEX_ACTIONS);
}
});

removeButton = new JButton(Localization.lang("Remove selected"));
removeButton.addActionListener(
e -> ((CleanupActionsListModel) actionsList.getModel()).removeAtIndex(actionsList.getSelectedIndex()));

builder.add(removeButton).xy(7, 11);
builder.add(resetButton).xy(3, 11);
builder.add(recommendButton).xy(5, 11);
builder.add(getSelectorPanel()).xyw(3, 15, 5);

makeDescriptionTextAreaLikeJLabel();
Expand Down Expand Up @@ -193,8 +217,7 @@ private JPanel getSelectorPanel() {
"pref, 2dlu, pref:grow, 2dlu"));

List<String> fieldNames = InternalBibtexFields.getAllPublicFieldNames();
fieldNames.add(BibEntry.KEY_FIELD);
fieldNames.add("all");
fieldNames.addAll(Arrays.asList(BibEntry.KEY_FIELD, FieldName.ABSTRACT_ALL_FIELD, FieldName.ABSTRACT_ALL_TEXT_FIELDS_FIELD));
Copy link
Member

Choose a reason for hiding this comment

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

I would do three calls using fieldNames.add(). This is IMHO more readable than Arrays.asList

Copy link
Member

Choose a reason for hiding this comment

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

and extract it to a new method InternalBibtexFields.getAllPublicAndInteralFieldNames().
Btw, I would suggest to rename the ABSTRACT prefix to INTERNAL (when reading "FieldName.abstract_Something" I always think of the "abstract" field)

Collections.sort(fieldNames);
String[] allPlusKey = fieldNames.toArray(new String[fieldNames.size()]);

Expand Down Expand Up @@ -305,6 +328,7 @@ private void setStatus(boolean status) {
addButton.setEnabled(status);
removeButton.setEnabled(status);
resetButton.setEnabled(status);
recommendButton.setEnabled(status);

}
}
Expand Down
25 changes: 24 additions & 1 deletion src/main/java/net/sf/jabref/logic/cleanup/Cleanups.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@

import net.sf.jabref.logic.formatter.Formatters;
import net.sf.jabref.logic.formatter.IdentityFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.HtmlToLatexFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.HtmlToUnicodeFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizeDateFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizeMonthFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizePagesFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.OrdinalsToSuperscriptFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.UnicodeToLatexFormatter;
import net.sf.jabref.logic.layout.format.LatexToUnicodeFormatter;
import net.sf.jabref.model.cleanup.FieldFormatterCleanup;
import net.sf.jabref.model.cleanup.FieldFormatterCleanups;
import net.sf.jabref.model.cleanup.Formatter;
Expand All @@ -18,17 +23,35 @@
public class Cleanups {

public static final FieldFormatterCleanups DEFAULT_SAVE_ACTIONS;
public static final FieldFormatterCleanups RECOMMEND_BIBTEX_ACTIONS;
public static final FieldFormatterCleanups RECOMMEND_BIBLATEX_ACTIONS;
public static List<Formatter> availableFormatters;


static {
availableFormatters = new ArrayList<>();
availableFormatters.addAll(Formatters.ALL);

List<FieldFormatterCleanup> defaultFormatters = new ArrayList<>();
defaultFormatters.add(new FieldFormatterCleanup(FieldName.PAGES, new NormalizePagesFormatter()));
defaultFormatters.add(new FieldFormatterCleanup(FieldName.DATE, new NormalizeDateFormatter()));
defaultFormatters.add(new FieldFormatterCleanup(FieldName.MONTH, new NormalizeMonthFormatter()));
defaultFormatters.add(new FieldFormatterCleanup(FieldName.BOOKTITLE, new OrdinalsToSuperscriptFormatter()));
defaultFormatters.add(new FieldFormatterCleanup(FieldName.ABSTRACT_ALL_TEXT_FIELDS_FIELD, new OrdinalsToSuperscriptFormatter()));
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should stay with BOOKTITLE here.

Copy link
Member

Choose a reason for hiding this comment

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

I would completely remove the OrdinalsToSuperscript from the defaults.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@koppor what do you think about that remove of OrdinalsToSuperscript ???

DEFAULT_SAVE_ACTIONS = new FieldFormatterCleanups(false, defaultFormatters);

List<FieldFormatterCleanup> recommendedBibTeXFormatters = new ArrayList<>(defaultFormatters);
Copy link
Member

Choose a reason for hiding this comment

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

Make it more clear that default formatters are also added:
recommendedbibTexFormatters = new ArrayList();
recommendendBibTexFormatters.addAll(defaulttFormatters);

(same for biblatex)

recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.TITLE, new HtmlToLatexFormatter()));
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to not run the HTML/Unicode -> Latex converter on all [text] fields? Similar question for the Latex/HTML -> Unicode for biblatex.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@koppor what do you think about that ??? 😄

recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.TITLE, new UnicodeToLatexFormatter()));
recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.BOOKTITLE, new UnicodeToLatexFormatter()));
recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.JOURNAL, new UnicodeToLatexFormatter()));
recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.AUTHOR, new UnicodeToLatexFormatter()));
recommendedBibTeXFormatters.add(new FieldFormatterCleanup(FieldName.EDITOR, new UnicodeToLatexFormatter()));
RECOMMEND_BIBTEX_ACTIONS = new FieldFormatterCleanups(false, recommendedBibTeXFormatters);

List<FieldFormatterCleanup> recommendedBibLaTeXFormatters = new ArrayList<>(defaultFormatters);
recommendedBibLaTeXFormatters.add(new FieldFormatterCleanup(FieldName.TITLE, new HtmlToUnicodeFormatter()));
recommendedBibLaTeXFormatters.add(new FieldFormatterCleanup(FieldName.ABSTRACT_ALL_TEXT_FIELDS_FIELD, new LatexToUnicodeFormatter()));
RECOMMEND_BIBLATEX_ACTIONS = new FieldFormatterCleanups(false, recommendedBibLaTeXFormatters);
}

public static List<Formatter> getAvailableFormatters() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
package net.sf.jabref.model.cleanup;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.Set;

import net.sf.jabref.model.FieldChange;
import net.sf.jabref.model.entry.BibEntry;
import net.sf.jabref.model.entry.FieldName;
import net.sf.jabref.model.entry.event.EntryEventSource;

/**
Expand All @@ -24,8 +27,10 @@ public FieldFormatterCleanup(String field, Formatter formatter) {

@Override
public List<FieldChange> cleanup(BibEntry entry) {
if ("all".equalsIgnoreCase(field)) {
if (FieldName.ABSTRACT_ALL_FIELD.equalsIgnoreCase(field)) {
return cleanupAllFields(entry);
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to add test coverage here? - This branch is not covered by test cases.

} else if (FieldName.ABSTRACT_ALL_TEXT_FIELDS_FIELD.equalsIgnoreCase(field)) {
return cleanupAllTextFields(entry);
Copy link
Member

Choose a reason for hiding this comment

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

please also cover by test cases

} else {
return cleanupSingleField(field, entry);
}
Expand Down Expand Up @@ -73,6 +78,17 @@ private List<FieldChange> cleanupAllFields(BibEntry entry) {
return fieldChanges;
}

private List<FieldChange> cleanupAllTextFields(BibEntry entry) {
List<FieldChange> fieldChanges = new ArrayList<>();
Set<String> fields = entry.getFieldNames();
fields.removeAll(Arrays.asList(FieldName.DOI, FieldName.FILE, FieldName.URL, FieldName.URI, FieldName.ISBN, FieldName.ISSN, FieldName.MONTH, FieldName.DATE, FieldName.YEAR));
Copy link
Member

Choose a reason for hiding this comment

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

return these fields from a new method FieldNames.getNotTextFieldNames()

for (String fieldKey : fields) {
fieldChanges.addAll(cleanupSingleField(fieldKey, entry));
}

return fieldChanges;
}

public String getField() {
return field;
}
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/net/sf/jabref/model/entry/FieldName.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public class FieldName {
// author is not set):
public static final String FIELD_SEPARATOR = "/";

public static final String ABSTRACT_ALL_FIELD = "all";
public static final String ABSTRACT_ALL_TEXT_FIELDS_FIELD = "all-text-fields";

// Field name constants
public static final String ABSTRACT = "abstract";
public static final String ADDENDUM = "addendum";
Expand Down
40 changes: 10 additions & 30 deletions src/main/java/net/sf/jabref/preferences/JabRefPreferences.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,10 @@
import net.sf.jabref.logic.citationstyle.CitationStyle;
import net.sf.jabref.logic.cleanup.CleanupPreferences;
import net.sf.jabref.logic.cleanup.CleanupPreset;
import net.sf.jabref.logic.cleanup.Cleanups;
import net.sf.jabref.logic.exporter.CustomExportList;
import net.sf.jabref.logic.exporter.ExportComparator;
import net.sf.jabref.logic.formatter.bibtexfields.HtmlToLatexFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.LatexCleanupFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizeDateFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizeMonthFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.NormalizePagesFormatter;
import net.sf.jabref.logic.formatter.bibtexfields.UnitsToLatexFormatter;
import net.sf.jabref.logic.formatter.casechanger.ProtectTermsFormatter;
import net.sf.jabref.logic.importer.ImportFormatPreferences;
import net.sf.jabref.logic.importer.Importer;
import net.sf.jabref.logic.journals.JournalAbbreviationLoader;
import net.sf.jabref.logic.journals.JournalAbbreviationPreferences;
import net.sf.jabref.logic.l10n.Localization;
Expand All @@ -76,8 +69,6 @@
import net.sf.jabref.logic.xmp.XMPPreferences;
import net.sf.jabref.model.bibtexkeypattern.AbstractBibtexKeyPattern;
import net.sf.jabref.model.bibtexkeypattern.GlobalBibtexKeyPattern;
import net.sf.jabref.model.cleanup.FieldFormatterCleanup;
import net.sf.jabref.model.cleanup.FieldFormatterCleanups;
import net.sf.jabref.model.database.BibDatabaseMode;
import net.sf.jabref.model.entry.BibEntry;
import net.sf.jabref.model.entry.CustomEntryType;
Expand Down Expand Up @@ -346,24 +337,6 @@ public class JabRefPreferences {
public static final String CLEANUP_CONVERT_TO_BIBLATEX = "CleanUpConvertToBiblatex";
public static final String CLEANUP_FIX_FILE_LINKS = "CleanUpFixFileLinks";
public static final String CLEANUP_FORMATTERS = "CleanUpFormatters";
public static final CleanupPreset CLEANUP_DEFAULT_PRESET;
static {
EnumSet<CleanupPreset.CleanupStep> deactivedJobs = EnumSet.of(
CleanupPreset.CleanupStep.CLEAN_UP_UPGRADE_EXTERNAL_LINKS,
CleanupPreset.CleanupStep.RENAME_PDF_ONLY_RELATIVE_PATHS,
CleanupPreset.CleanupStep.CONVERT_TO_BIBLATEX);

List<FieldFormatterCleanup> activeFormatterCleanups = new ArrayList<>();
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.PAGES, new NormalizePagesFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.DATE, new NormalizeDateFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.MONTH, new NormalizeMonthFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.TITLE, new ProtectTermsFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.TITLE, new UnitsToLatexFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.TITLE, new LatexCleanupFormatter()));
activeFormatterCleanups.add(new FieldFormatterCleanup(FieldName.TITLE, new HtmlToLatexFormatter()));
FieldFormatterCleanups formatterCleanups = new FieldFormatterCleanups(true, activeFormatterCleanups);
CLEANUP_DEFAULT_PRESET = new CleanupPreset(EnumSet.complementOf(deactivedJobs), formatterCleanups);
}

public static final String IMPORT_DEFAULT_PDF_IMPORT_STYLE = "importDefaultPDFimportStyle";
public static final String IMPORT_ALWAYSUSE = "importAlwaysUsePDFImportStyle";
Expand Down Expand Up @@ -797,7 +770,7 @@ private JabRefPreferences() {
defaults.put(DB_CONNECT_USERNAME, "root");

defaults.put(ASK_AUTO_NAMING_PDFS_AGAIN, Boolean.TRUE);
insertCleanupPreset(defaults, CLEANUP_DEFAULT_PRESET);
insertCleanupPreset(defaults);

// defaults for DroppedFileHandler UI
defaults.put(DROPPEDFILEHANDLER_LEAVE, Boolean.FALSE);
Expand Down Expand Up @@ -1352,7 +1325,14 @@ public void setDefaultEncoding(Charset encoding) {
put(DEFAULT_ENCODING, encoding.name());
}

private static void insertCleanupPreset(Map<String, Object> storage, CleanupPreset preset) {
private static void insertCleanupPreset(Map<String, Object> storage) {
Copy link
Member

Choose a reason for hiding this comment

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

rename method to insertDefaultCleanupPreset

EnumSet<CleanupPreset.CleanupStep> deactivedJobs = EnumSet.of(
CleanupPreset.CleanupStep.CLEAN_UP_UPGRADE_EXTERNAL_LINKS,
CleanupPreset.CleanupStep.RENAME_PDF_ONLY_RELATIVE_PATHS,
CleanupPreset.CleanupStep.CONVERT_TO_BIBLATEX);

CleanupPreset preset = new CleanupPreset(EnumSet.complementOf(deactivedJobs), Cleanups.DEFAULT_SAVE_ACTIONS);

storage.put(CLEANUP_DOI, preset.isCleanUpDOI());
storage.put(CLEANUP_ISSN, preset.isCleanUpISSN());
storage.put(CLEANUP_MOVE_PDF, preset.isMovePDF());
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_da.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=Firstname_Lastname

Recommended_for_%0=Recommended_for_%0
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_fa.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_in.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_nl.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_no.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_pt_BR.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2303,3 +2303,5 @@ A_backup_file_for_'%0'_was_found.=A_backup_file_for_'%0'_was_found.
This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.=This_could_indicate_that_JabRef_did_not_shut_down_cleanly_last_time_the_file_was_used.
Do_you_want_to_recover_the_database_from_the_backup_file?=Do_you_want_to_recover_the_database_from_the_backup_file?
Firstname_Lastname=

Recommended_for_%0=
Loading