From 1be0dbe7799989a84593f5ceb2a7dae3afb0f6ac Mon Sep 17 00:00:00 2001 From: Jakob Ewaldsson Date: Mon, 6 Mar 2023 11:08:58 +0100 Subject: [PATCH] (fix) #2 Added Localization.lang to the english termes used for popup --- src/main/java/org/jabref/gui/JabRefGUI.java | 2 +- src/main/resources/l10n/JabRef_en.properties | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jabref/gui/JabRefGUI.java b/src/main/java/org/jabref/gui/JabRefGUI.java index 5dda14310aa..fce0327c4b0 100644 --- a/src/main/java/org/jabref/gui/JabRefGUI.java +++ b/src/main/java/org/jabref/gui/JabRefGUI.java @@ -66,7 +66,7 @@ public JabRefGUI(Stage mainStage, List databases, boolean isBlank, if (preferencesService.getProxyPreferences().shouldUseProxy() && preferencesService.getProxyPreferences().shouldUseAuthentication()){ DialogService dialogService = Injector.instantiateModelOrService(DialogService.class); - dialogService.showPasswordDialogAndWait("Proxy configuration", "Proxy requires password","Password") + dialogService.showPasswordDialogAndWait(Localization.lang("Proxy configuration"), Localization.lang("Proxy requires password"), Localization.lang("Password")) .ifPresent(newPassword -> { preferencesService.getProxyPreferences().setPassword(newPassword); ProxyRegisterer.register(preferencesService.getProxyPreferences()); diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index 29d1e8ebfd8..865c06ee9b7 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -1,3 +1,5 @@ +Proxy\ requires\ password=Proxy requires password + Could\ not\ delete\ empty\ entries.=Could not delete empty entries. Delete\ empty\ entries=Delete empty entries