Skip to content

Commit eeda3cb

Browse files
UserEstrellaNYARKO Nyamekye
andauthored
change files to file(s) (#14465)
Co-authored-by: NYARKO Nyamekye <nyamekye.nyarko@imt-atlantique.net>
1 parent b4cf64b commit eeda3cb

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

jabgui/src/main/java/org/jabref/gui/actions/StandardActions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public enum StandardActions implements Action {
111111
NEW_SUB_LIBRARY_FROM_AUX(Localization.lang("New sublibrary based on AUX file") + "...", Localization.lang("New BibTeX sublibrary") + Localization.lang("This feature generates a new library based on which entries are needed in an existing LaTeX document."), IconTheme.JabRefIcons.NEW),
112112
NEW_LIBRARY_FROM_PDF_ONLINE(Localization.lang("New library based on references in PDF file... (online)"), Localization.lang("This feature generates a new library based on the list of references in a PDF file. Thereby, it uses Grobid's functionality."), IconTheme.JabRefIcons.NEW),
113113
NEW_LIBRARY_FROM_PDF_OFFLINE(Localization.lang("New library based on references in PDF file... (offline)"), Localization.lang("This feature generates a new library based on the list of references in a PDF file. Thereby, it uses JabRef's built-in functionality."), IconTheme.JabRefIcons.NEW),
114-
WRITE_METADATA_TO_PDF(Localization.lang("Write metadata to PDF files"), Localization.lang("Will write metadata to the PDFs linked from selected entries."), KeyBinding.WRITE_METADATA_TO_PDF),
114+
WRITE_METADATA_TO_PDF(Localization.lang("Write metadata to PDF file(s)"), Localization.lang("Will write metadata to the PDFs linked from selected entries."), KeyBinding.WRITE_METADATA_TO_PDF),
115115

116116
START_NEW_STUDY(Localization.lang("Start new systematic literature review")),
117117
UPDATE_SEARCH_RESULTS_OF_STUDY(Localization.lang("Update study search results")),
@@ -121,7 +121,7 @@ public enum StandardActions implements Action {
121121
OPEN_FOLDER(Localization.lang("Open folder(s)"), Localization.lang("Open folder"), IconTheme.JabRefIcons.FOLDER, KeyBinding.OPEN_FOLDER),
122122
OPEN_FILE(Localization.lang("Open file(s)"), Localization.lang("Open file"), IconTheme.JabRefIcons.FILE, KeyBinding.OPEN_FILE),
123123
OPEN_CONSOLE(Localization.lang("Open terminal here"), Localization.lang("Open terminal here"), IconTheme.JabRefIcons.CONSOLE, KeyBinding.OPEN_CONSOLE),
124-
COPY_LINKED_FILES(Localization.lang("Copy linked files to folder...")),
124+
COPY_LINKED_FILES(Localization.lang("Copy linked file(s) to folder...")),
125125
COPY_DOI(Localization.lang("Copy DOI")),
126126
COPY_DOI_URL(Localization.lang("Copy DOI url")),
127127
ABBREVIATE(Localization.lang("Abbreviate journal names")),

jabgui/src/main/java/org/jabref/gui/copyfiles/CopyFilesAction.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public CopyFilesAction(DialogService dialogService,
4040

4141
private void showDialog(List<CopyFilesResultItemViewModel> data) {
4242
if (data.isEmpty()) {
43-
dialogService.showInformationDialogAndWait(Localization.lang("Copy linked files to folder..."), Localization.lang("No linked files found for export."));
43+
dialogService.showInformationDialogAndWait(Localization.lang("Copy linked file(s) to folder..."), Localization.lang("No linked files found for export."));
4444
return;
4545
}
4646
dialogService.showCustomDialogAndWait(new CopyFilesDialogView(new CopyFilesResultListDependency(data)));
@@ -59,8 +59,8 @@ public void execute() {
5959
Task<List<CopyFilesResultItemViewModel>> exportTask = new CopyFilesTask(database, entries, path, preferences);
6060

6161
dialogService.showProgressDialog(
62-
Localization.lang("Copy linked files to folder..."),
63-
Localization.lang("Copy linked files to folder..."),
62+
Localization.lang("Copy linked file(s) to folder..."),
63+
Localization.lang("Copy linked file(s) to folder..."),
6464
exportTask);
6565

6666
uiTaskExecutor.execute(exportTask);

jabgui/src/main/java/org/jabref/gui/exporter/WriteMetadataToLinkedPdfsAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void execute() {
8484
return;
8585
} else {
8686
boolean confirm = dialogService.showConfirmationDialogAndWait(
87-
Localization.lang("Write metadata to PDF files"),
87+
Localization.lang("Write metadata to PDF file(s)"),
8888
Localization.lang("Write metadata for all PDFs in current library?"));
8989
if (!confirm) {
9090
return;

jabgui/src/main/java/org/jabref/gui/keyboard/KeyBinding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public enum KeyBinding {
122122
UNABBREVIATE("Unabbreviate", Localization.lang("Unabbreviate"), "ctrl+alt+shift+A", KeyBindingCategory.TOOLS),
123123
UNDO("Undo", Localization.lang("Undo"), "ctrl+Z", KeyBindingCategory.EDIT),
124124
WEB_SEARCH("Web search", Localization.lang("Web search"), "alt+4", KeyBindingCategory.SEARCH),
125-
WRITE_METADATA_TO_PDF("Write metadata to PDF files", Localization.lang("Write metadata to PDF files"), "F6", KeyBindingCategory.TOOLS),
125+
WRITE_METADATA_TO_PDF("Write metadata to PDF file(s)", Localization.lang("Write metadata to PDF file(s)"), "F6", KeyBindingCategory.TOOLS),
126126
CLEAR_SEARCH("Clear search", Localization.lang("Clear search"), "Esc", KeyBindingCategory.SEARCH),
127127
CLEAR_READ_STATUS("Clear read status", Localization.lang("Clear read status"), "", KeyBindingCategory.EDIT),
128128
READ("Set read status to read", Localization.lang("Set read status to read"), "", KeyBindingCategory.EDIT),

jablib/src/main/resources/l10n/JabRef_en.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Write\ metadata\ for\ all\ PDFs\ in\ current\ library?=Write metadata for all PD
345345
Writing\ metadata...=Writing metadata...
346346

347347
Write\ BibTeX\ to\ PDF\ (XMP\ and\ embedded)=Write BibTeX to PDF (XMP and embedded)
348-
Write\ metadata\ to\ PDF\ files=Write metadata to PDF files
348+
Write\ metadata\ to\ PDF\ file(s)=Write metadata to PDF file(s)
349349
XMP-annotated\ PDF=XMP-annotated PDF
350350
XMP\ export\ privacy\ settings=XMP export privacy settings
351351
XMP\ metadata=XMP metadata
@@ -2023,7 +2023,6 @@ Names\ are\ not\ in\ the\ standard\ %0\ format.=Names are not in the standard %0
20232023
20242024
Could\ not\ copy\ file\ to\ %0,\ maybe\ the\ file\ is\ already\ existing?=Could not copy file to %0, maybe the file is already existing?
20252025
2026-
Copy\ linked\ files\ to\ folder...=Copy linked files to folder...
20272026
Copied\ file\ successfully=Copied file successfully
20282027
Copying\ files...=Copying files...
20292028
Copying\ file\ %0\ of\ entry\ %1=Copying file %0 of entry %1

0 commit comments

Comments
 (0)