From 731b9d2ea588e9e03c0fac385da8120b523344f4 Mon Sep 17 00:00:00 2001 From: Siedlerchr Date: Tue, 5 Mar 2019 20:49:18 +0100 Subject: [PATCH] remove obsolete localization strings fix checkstyle --- .../bibtexkeypattern/BibtexKeyPatternPanel.java | 5 +---- src/main/resources/l10n/JabRef_en.properties | 15 --------------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/src/main/java/org/jabref/gui/bibtexkeypattern/BibtexKeyPatternPanel.java b/src/main/java/org/jabref/gui/bibtexkeypattern/BibtexKeyPatternPanel.java index a5a8b27c55b..e3796c623ee 100644 --- a/src/main/java/org/jabref/gui/bibtexkeypattern/BibtexKeyPatternPanel.java +++ b/src/main/java/org/jabref/gui/bibtexkeypattern/BibtexKeyPatternPanel.java @@ -103,7 +103,6 @@ private void buildGUI() { rowIndex++; - ActionFactory factory = new ActionFactory(Globals.prefs.getKeyBindingRepository()); Button help = factory.createIconButton(StandardActions.HELP, new HelpAction(Localization.lang("Help on key patterns"), HelpFile.BIBTEX_KEY_PATTERN).getCommand()); gridPane.add(help, 1, rowIndex); @@ -119,7 +118,6 @@ private void buildGUI() { gridPane.add(btnDefaultAll1, 2, rowIndex); } - /** * fill the given LabelPattern by values generated from the text fields */ @@ -141,8 +139,7 @@ private void fillPatternUsingPanelData(AbstractBibtexKeyPattern keypatterns) { protected GlobalBibtexKeyPattern getKeyPatternAsGlobalBibtexKeyPattern() { GlobalBibtexKeyPattern res = GlobalBibtexKeyPattern.fromPattern( - JabRefPreferences.getInstance().get(JabRefPreferences.DEFAULT_BIBTEX_KEY_PATTERN) - ); + JabRefPreferences.getInstance().get(JabRefPreferences.DEFAULT_BIBTEX_KEY_PATTERN)); fillPatternUsingPanelData(res); return res; } diff --git a/src/main/resources/l10n/JabRef_en.properties b/src/main/resources/l10n/JabRef_en.properties index 8c0d5cedea9..b7f8e0dd5ea 100644 --- a/src/main/resources/l10n/JabRef_en.properties +++ b/src/main/resources/l10n/JabRef_en.properties @@ -137,8 +137,6 @@ Change\ of\ Grouping\ Method=Change of Grouping Method change\ preamble=change preamble -Change\ table\ column\ and\ General\ fields\ settings\ to\ use\ the\ new\ feature=Change table column and General fields settings to use the new feature - Changed\ language\ settings=Changed language settings Changed\ preamble=Changed preamble @@ -283,13 +281,10 @@ Do\ not\ import\ entry=Do not import entry Do\ not\ open\ any\ files\ at\ startup=Do not open any files at startup Do\ not\ overwrite\ existing\ keys=Do not overwrite existing keys -Do\ not\ show\ these\ options\ in\ the\ future=Do not show these options in the future Do\ not\ wrap\ the\ following\ fields\ when\ saving=Do not wrap the following fields when saving Do\ not\ write\ the\ following\ fields\ to\ XMP\ Metadata\:=Do not write the following fields to XMP Metadata: -Do\ you\ want\ JabRef\ to\ do\ the\ following\ operations?=Do you want JabRef to do the following operations? - Donate\ to\ JabRef=Donate to JabRef Down=Down @@ -439,8 +434,6 @@ Formatter\ name=Formatter name found\ in\ AUX\ file=found in AUX file -Full\ name=Full name - Further\ information\ about\ Mr\ DLib.\ for\ JabRef\ users.=Further information about Mr DLib. for JabRef users. General=General @@ -619,8 +612,6 @@ Modify=Modify Move\ down=Move down -Move\ external\ links\ to\ 'file'\ field=Move external links to 'file' field - move\ group=move group Move\ up=Move up @@ -918,8 +909,6 @@ Set\ fields=Set fields Set\ General\ Fields=Set General Fields -Set\ main\ external\ file\ directory=Set main external file directory - Settings=Settings Shortcut=Shortcut @@ -1062,8 +1051,6 @@ untitled=untitled Up=Up Upgrade\ external\ PDF/PS\ links\ to\ use\ the\ '%0'\ field.=Upgrade external PDF/PS links to use the '%0' field. -Upgrade\ file=Upgrade file -Upgrade\ old\ external\ file\ links\ to\ use\ the\ new\ feature=Upgrade old external file links to use the new feature usage=usage Use\ autocompletion\ for\ the\ following\ fields=Use autocompletion for the following fields @@ -1553,8 +1540,6 @@ This\ search\ contains\ entries\ in\ which\ any\ field\ contains\ the\ term\ This\ search\ contains\ entries\ in\ which=This search contains entries in which Unable\ to\ autodetect\ OpenOffice/LibreOffice\ installation.\ Please\ choose\ the\ installation\ directory\ manually.=Unable to autodetect OpenOffice/LibreOffice installation. Please choose the installation directory manually. -JabRef\ no\ longer\ supports\ 'ps'\ or\ 'pdf'\ fields.
File\ links\ are\ now\ stored\ in\ the\ 'file'\ field\ and\ files\ are\ stored\ in\ an\ external\ file\ directory.
To\ make\ use\ of\ this\ feature,\ JabRef\ needs\ to\ upgrade\ file\ links.

=JabRef no longer supports 'ps' or 'pdf' fields.
File links are now stored in the 'file' field and files are stored in an external file directory.
To make use of this feature, JabRef needs to upgrade file links.

-This\ library\ uses\ outdated\ file\ links.=This library uses outdated file links. Close\ library=Close library Decrease\ table\ font\ size=Decrease table font size