From 6837164b8a0caf6c6470bede2a8c83fb317fabbc Mon Sep 17 00:00:00 2001 From: Peiqi Yin <60515999+yinpeiqi@users.noreply.github.com> Date: Tue, 6 Apr 2021 05:15:20 +0800 Subject: [PATCH] Change export to save (#7518) * fix: change save and export * fix: remove method changeExportDescriptionToSave * fix: remove method changeExportDescriptionToSave * fix: remove unused import --- .../gui/commonfxcontrols/SaveOrderConfigPanel.fxml | 6 +++--- .../gui/commonfxcontrols/SaveOrderConfigPanel.java | 7 ------- .../libraryproperties/LibraryPropertiesDialog.fxml | 2 +- .../LibraryPropertiesDialogView.java | 1 - src/main/resources/l10n/JabRef_en.properties | 12 +++--------- 5 files changed, 7 insertions(+), 21 deletions(-) diff --git a/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml b/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml index b4ce57f91d7..a5992d1457e 100644 --- a/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml +++ b/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.fxml @@ -16,12 +16,12 @@ - - + text="%Use specified order" toggleGroup="$saveOrderToggleGroup"/> diff --git a/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.java b/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.java index b3ae2db5549..55bb2b66941 100644 --- a/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.java +++ b/src/main/java/org/jabref/gui/commonfxcontrols/SaveOrderConfigPanel.java @@ -11,7 +11,6 @@ import org.jabref.gui.util.FieldsUtil; import org.jabref.gui.util.ViewModelListCellFactory; -import org.jabref.logic.l10n.Localization; import org.jabref.model.entry.field.Field; import com.airhacks.afterburner.views.ViewLoader; @@ -70,12 +69,6 @@ private void initialize() { saveTerDesc.selectedProperty().bindBidirectional(viewModel.saveTertiaryDescPropertySelected()); } - public void changeExportDescriptionToSave() { - exportInOriginalOrder.setText(Localization.lang("Save entries in their original order")); - exportInSpecifiedOrder.setText(Localization.lang("Save entries ordered as specified")); - exportInTableOrder.setText(Localization.lang("Save in current table sort order")); - } - public BooleanProperty saveInOriginalProperty() { return viewModel.saveInOriginalProperty(); } diff --git a/src/main/java/org/jabref/gui/libraryproperties/LibraryPropertiesDialog.fxml b/src/main/java/org/jabref/gui/libraryproperties/LibraryPropertiesDialog.fxml index cae304a8e33..a21e814b1e2 100644 --- a/src/main/java/org/jabref/gui/libraryproperties/LibraryPropertiesDialog.fxml +++ b/src/main/java/org/jabref/gui/libraryproperties/LibraryPropertiesDialog.fxml @@ -80,7 +80,7 @@ -