Skip to content

Commit

Permalink
(fix) #2 Added Localization.lang to the english termes used for popup
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobewaldsson committed Mar 6, 2023
1 parent 90ff780 commit 1be0dbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/jabref/gui/JabRefGUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public JabRefGUI(Stage mainStage, List<ParserResult> 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());
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/l10n/JabRef_en.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1be0dbe

Please sign in to comment.