diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index 35a178cb..4c014676 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -1,3 +1,3 @@
_extends: .github
-tag-template: git-$NEXT_PATCH_VERSION
+tag-template: $NEXT_PATCH_VERSION
version-template: $MAJOR.$MINOR.$PATCH
diff --git a/src/main/java/hudson/plugins/jobConfigHistory/ConfigInfoCollector.java b/src/main/java/hudson/plugins/jobConfigHistory/ConfigInfoCollector.java
index adf770e3..fcc88b47 100644
--- a/src/main/java/hudson/plugins/jobConfigHistory/ConfigInfoCollector.java
+++ b/src/main/java/hudson/plugins/jobConfigHistory/ConfigInfoCollector.java
@@ -33,8 +33,8 @@
/**
* Collects all configs of a special type. For Jobs these follow the pattern:
- * config-history/jobs/FOLDERNAME/JOBNAME/TIMESTAMP, where
- * FOLDERNAME may be empty.
+ * config-history/jobs/FOLDERNAME/JOBNAME/TIMESTAMP, where
+ * FOLDERNAME may be empty.
*
* Extracted from {@link JobConfigHistoryRootAction} for easier testability.
*
@@ -45,7 +45,7 @@ final class ConfigInfoCollector {
/**
* outparameter.
*/
- private final List configs = new ArrayList();
+ private final List configs = new ArrayList<>();
/**
* Type to collect.
@@ -77,9 +77,8 @@ public ConfigInfoCollector(String type,
* @param itemDir The job directory as File
* @param folderName Something Jesse Glick came up with but never documented,
* probably the folderName.
- * @throws IOException If one of the entries cannot be read.
*/
- void getConfigsForType(File itemDir, String folderName) throws IOException {
+ void getConfigsForType(File itemDir, String folderName) {
final String jobsString = "/jobs/";
final String itemName = folderName.isEmpty()
? itemDir.getName()
diff --git a/src/main/java/hudson/plugins/jobConfigHistory/XmlSyntaxChecker.java b/src/main/java/hudson/plugins/jobConfigHistory/XmlSyntaxChecker.java
index bceb9b59..7a1c05db 100644
--- a/src/main/java/hudson/plugins/jobConfigHistory/XmlSyntaxChecker.java
+++ b/src/main/java/hudson/plugins/jobConfigHistory/XmlSyntaxChecker.java
@@ -52,13 +52,13 @@ public void fatalError(SAXParseException exception) {
builder.parse(xmlFile);
} catch (SAXException | IOException exception) {
- message[0] = exception.getClass().getSimpleName() + Messages.XmlSyntaxChecker_occuredWhile() + exception.getMessage();
+ message[0] = exception.getClass().getSimpleName() + Messages.XmlSyntaxChecker_occurredWhile() + ": " + exception.getMessage();
wellFormatted[0] = false;
}
} catch (ParserConfigurationException exception) {
- message[0] = "ParserConfigurationException" + Messages.XmlSyntaxChecker_occuredWhile() + exception.getMessage();
+ message[0] = "ParserConfigurationException" + Messages.XmlSyntaxChecker_occurredWhile() + ": " + exception.getMessage();
wellFormatted[0] = false;
}
return new Answer(message[0], wellFormatted[0]);
diff --git a/src/main/resources/hudson/plugins/jobConfigHistory/ComputerConfigHistoryAction/index.jelly b/src/main/resources/hudson/plugins/jobConfigHistory/ComputerConfigHistoryAction/index.jelly
index cf95d5d1..232f3b43 100644
--- a/src/main/resources/hudson/plugins/jobConfigHistory/ComputerConfigHistoryAction/index.jelly
+++ b/src/main/resources/hudson/plugins/jobConfigHistory/ComputerConfigHistoryAction/index.jelly
@@ -1,15 +1,15 @@
-
-
+
+
-
+
- Please comment your changes!
+ ${%This field cannot be empty, please enter a valid notice}!
diff --git a/src/main/resources/hudson/plugins/jobConfigHistory/JobLocalConfiguration/config_de.properties b/src/main/resources/hudson/plugins/jobConfigHistory/JobLocalConfiguration/config_de.properties
new file mode 100644
index 00000000..6ed3d4bc
--- /dev/null
+++ b/src/main/resources/hudson/plugins/jobConfigHistory/JobLocalConfiguration/config_de.properties
@@ -0,0 +1,3 @@
+Job\ Config\ History=Job Konfigurationsverlauf
+change\ message=Änderungsnachricht
+This\ field\ cannot\ be\ empty\,\ please\ enter\ a\ valid\ notice=Dies ist ein Pflichtfeld. Bitte geben Sie eine gültige Änderungsnachricht an
diff --git a/src/main/resources/hudson/plugins/jobConfigHistory/Messages.properties b/src/main/resources/hudson/plugins/jobConfigHistory/Messages.properties
index 9ffe5065..4a54b1cf 100644
--- a/src/main/resources/hudson/plugins/jobConfigHistory/Messages.properties
+++ b/src/main/resources/hudson/plugins/jobConfigHistory/Messages.properties
@@ -10,10 +10,10 @@ ConfigHistoryListenerHelper.anonymous=anonymous
JobConfigBadgeAction.ToolTip=Config changed since last build
-XmlSyntaxChecker.error=Error occurred while checking xml parsability:
-XmlSyntaxChecker.warning=Warning occured while checking xml parsability:
-XmlSyntaxChecker.fatalError=Fatal error occured while checking xml parsability:
-XmlSyntaxChecker.occuredWhile= occured while checking xml parsability:
+XmlSyntaxChecker.error=Error occurred while checking xml parsability
+XmlSyntaxChecker.warning=Warning occurred while checking xml parsability
+XmlSyntaxChecker.fatalError=Fatal error occurred while checking xml parsability
+XmlSyntaxChecker.occurredWhile= occurred while checking xml parsability
JobConfigHistory.deleteEntryPermission=DeleteEntry
JobConfigHistory.deleteEntryPermissionDescription=This permission allows for deletion of history entries.
diff --git a/src/main/resources/hudson/plugins/jobConfigHistory/Messages_de.properties b/src/main/resources/hudson/plugins/jobConfigHistory/Messages_de.properties
new file mode 100644
index 00000000..9ed5684f
--- /dev/null
+++ b/src/main/resources/hudson/plugins/jobConfigHistory/Messages_de.properties
@@ -0,0 +1,19 @@
+displayName=Job Konfigurationsverlauf
+agentDisplayName=Knoten Konfigurationsverlauf
+
+ConfigHistoryListenerHelper.CREATED=Erstellt
+ConfigHistoryListenerHelper.RENAMED=Umbenannt
+ConfigHistoryListenerHelper.CHANGED=Geändert
+ConfigHistoryListenerHelper.DELETED=Gelöscht
+
+ConfigHistoryListenerHelper.anonymous=anonym
+
+JobConfigBadgeAction.ToolTip=Die Konfiguration wurde seit dem letzten Build geändert
+
+XmlSyntaxChecker.error=Während der XML Syntax-Prüfung ist ein Fehler aufgetreten
+XmlSyntaxChecker.warning=Während der XML Syntax-Prüfung ist eine Warnung aufgetreten
+XmlSyntaxChecker.fatalError=Während der XML Syntax-Prüfung ist ein schwerwiegender Fehler aufgetreten
+XmlSyntaxChecker.occurredWhile= ist während der XML Syntax-Prüfung aufgetreten
+
+JobConfigHistory.deleteEntryPermission=DeleteEntry
+JobConfigHistory.deleteEntryPermissionDescription=Diese Berechtigung erlaubt es, einen Eintrag zu löschen.
diff --git a/src/site/site.xml b/src/site/site.xml
index be5cc761..8716a2d2 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -8,15 +8,15 @@
1.1
-
-
+
+
-
-
+
+