From 59f9e72e01995e057da2600449210368c06aa475 Mon Sep 17 00:00:00 2001 From: Carl Wilson Date: Tue, 3 Sep 2024 17:04:38 +0100 Subject: [PATCH] FIX: German XML error message - fixed formatting of `XML-HUL1` for german translation; and - added formatting types to french and portugese translations. Closes #954 --- .../hul/ois/jhove/module/xml/ErrorMessages_de.properties | 2 +- .../hul/ois/jhove/module/xml/ErrorMessages_fr.properties | 2 +- .../hul/ois/jhove/module/xml/ErrorMessages_pt_BR.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_de.properties b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_de.properties index bf222c7d2..e2ba9ef87 100644 --- a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_de.properties +++ b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_de.properties @@ -1,5 +1,5 @@ XML-HUL-1 = SAXParseException -XML-HUL-1-SUB = {0} Zeile = {1,number,integer}, Spalte = {2,number,integer}. +XML-HUL-1-SUB = Zeile = {0,number,integer}, Spalte = {1,number,integer}. XML-HUL-2 = Maximalanzahl {0,number,integer} für Fehlermeldungen erreicht. Weitere Fehler werden nicht mehr angezeigt. XML-HUL-3 = SAXException: {0} XML-HUL-4 = Typ des Zeilenendes konnte nicht erkannt werden. diff --git a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_fr.properties b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_fr.properties index 70aafaf56..3a0a1a4c3 100644 --- a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_fr.properties +++ b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_fr.properties @@ -1,6 +1,6 @@ XML-HUL-1 = SaxParseException : {0} XML-HUL-1-SUB = Line = {0,number,integer}, Column = {1,number,integer}. -XML-HUL-2 = {0} messages d'erreur supplémentaires non signalés +XML-HUL-2 = {0,number,integer} messages d'erreur supplémentaires non signalés XML-HUL-3 = SaxParseException : {0} XML-HUL-4 = Impossible de déterminer le type de fin de ligne XML-HUL-5 = L'interface LexicalHandler n'est pas supportée par votre implémentation XML. Certaines propriétés peuvent ne pas être signalées. diff --git a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_pt_BR.properties b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_pt_BR.properties index b25b8ecc8..0722bd5ea 100644 --- a/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_pt_BR.properties +++ b/jhove-modules/xml-hul/src/main/resources/edu/harvard/hul/ois/jhove/module/xml/ErrorMessages_pt_BR.properties @@ -1,6 +1,6 @@ XML-HUL-1 = SaxParseException: {0} XML-HUL-1-SUB = Line = {0,number,integer}, Column = {1,number,integer}. -XML-HUL-2 = As mensagens de erro acima de {0} não reportadas +XML-HUL-2 = As mensagens de erro acima de {0,number,integer} não reportadas XML-HUL-3 = SaxParseException: {0} XML-HUL-4 = Não foi possível determinar o tipo de fim de linha XML-HUL-5 = A interface LexicalHandler não é suportada por sua implementação XML. Isso pode resultar em algumas propriedades não sendo reportadas.