From aae6a7fdc94e4f99092977ea92616855d161601f Mon Sep 17 00:00:00 2001 From: Guylaine Prat <guylaine.prat@c-s.fr> Date: Fri, 14 Dec 2018 15:45:42 +0100 Subject: [PATCH] Changed wrong mail to URL gitlab.orekit.org/orekit/rugged/issues Fixes #374 --- src/main/java/org/orekit/rugged/errors/RuggedException.java | 2 +- src/main/java/org/orekit/rugged/errors/RuggedMessages.java | 2 +- .../assets/org/orekit/rugged/RuggedMessages_da.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_de.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_en.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_es.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_fr.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_gl.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_it.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_no.utf8 | 4 ++-- .../assets/org/orekit/rugged/RuggedMessages_ro.utf8 | 4 ++-- .../java/org/orekit/rugged/errors/RuggedExceptionTest.java | 6 +++--- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/main/java/org/orekit/rugged/errors/RuggedException.java b/src/main/java/org/orekit/rugged/errors/RuggedException.java index d4a6059d..9ba01444 100644 --- a/src/main/java/org/orekit/rugged/errors/RuggedException.java +++ b/src/main/java/org/orekit/rugged/errors/RuggedException.java @@ -123,7 +123,7 @@ public class RuggedException extends RuntimeException implements LocalizedExcept final Localizable specifier = RuggedMessages.INTERNAL_ERROR; /** Parts to insert in the format (no translation). */ - final String parts = "rugged-developers@orekit.org"; + final String parts = "https://gitlab.orekit.org/orekit/rugged/issues"; return new RuntimeException() { diff --git a/src/main/java/org/orekit/rugged/errors/RuggedMessages.java b/src/main/java/org/orekit/rugged/errors/RuggedMessages.java index 6aeebd7e..f1c5905c 100644 --- a/src/main/java/org/orekit/rugged/errors/RuggedMessages.java +++ b/src/main/java/org/orekit/rugged/errors/RuggedMessages.java @@ -51,7 +51,7 @@ public enum RuggedMessages implements Localizable { // CHECKSTYLE: stop JavadocVariable check - INTERNAL_ERROR("internal error, contact maintenance at {0}"), + INTERNAL_ERROR("internal error, please notify development team by creating an issue at {0}"), OUT_OF_TILE_INDICES("no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive)"), OUT_OF_TILE_ANGLES("no data at latitude {0} and longitude {1}, tile covers only latitudes {2} to {3} and longitudes {4} to {5}"), NO_DEM_DATA("no Digital Elevation Model data at latitude {0} and longitude {1}"), diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_da.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_da.utf8 index 46205dd2..f008b9a0 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_da.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_da.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = intern fejl. Kontakt vedligeholdsansvarlig pÃ¥ {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = ingen data fundet pÃ¥ [{0}, {1}], flisen dækker kun fra [0, 0] til [{2}, {3}] (inkluderet) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_de.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_de.utf8 index 4d350136..e5d669c3 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_de.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_de.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = Interner Fehler, wenden Sie sich bitte an die Software-Wartung, Adresse {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = Keine Angaben im Index, die Ziegel nimmt nur Bezug auf [0, 0] bis [{2}, {3}] (inklusive) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_en.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_en.utf8 index d40525d9..3093fd97 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_en.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_en.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = internal error, contact maintenance at {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = internal error, please notify development team by creating an issue at {0} # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_es.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_es.utf8 index c8d7a424..31278498 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_es.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_es.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = error interno, contacte al soporte técnico en {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = no hay datos en los Ãndices [{0}, {1}], la faceta sólo cubre desde [0, 0] a [{2}, {3}] (inclusive) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_fr.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_fr.utf8 index f4175bab..df7d7ee9 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_fr.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_fr.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = erreur interne, contactez la maintenance à {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = erreur interne, merci de signaler le problème en ouvrant une fiche d''anomalie sur {0} # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = aucune donnée aux indices [{0}, {1}], la tuile ne couvre que de [0, 0] à [{2}, {3}] inclus diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_gl.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_gl.utf8 index 1773d1b0..50bb5b60 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_gl.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_gl.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = erro interno, contacte co soporte técnico no {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = non hai datos nos Ãndices [{0}, {1}], a faceta só cubre dende [0, 0] a [{2}, {3}] (inclusive) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_it.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_it.utf8 index ac44c665..68289476 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_it.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_it.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = errore interno, contattare l''assistenza a {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = nessun dato agli indici [{0}, {1}], il quadrante non copre che da [0, 0] a [{2}, {3}] inclusi diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_no.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_no.utf8 index f97635af..7a9307af 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_no.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_no.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = intern feil. Kontakt vedlikeholdsansvarlig {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = ingen data funnet pÃ¥ [{0}, {1}], flisen dekker kun fra [0, 0] til [{2}, {3}] (inkludert) diff --git a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_ro.utf8 b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_ro.utf8 index c3121a60..6e38d664 100644 --- a/src/main/resources/assets/org/orekit/rugged/RuggedMessages_ro.utf8 +++ b/src/main/resources/assets/org/orekit/rugged/RuggedMessages_ro.utf8 @@ -1,5 +1,5 @@ -# internal error, contact maintenance at {0} -INTERNAL_ERROR = eroare internă, contactaÈ›i echipa de întrÈ›inere la {0} +# internal error, please notify development team by creating an issue at {0} +INTERNAL_ERROR = <MISSING TRANSLATION> # no data at indices [{0}, {1}], tile only covers from [0, 0] to [{2}, {3}] (inclusive) OUT_OF_TILE_INDICES = date inexistente pentru indicii [{0}, {1}], regiunea oferă acoperire doar pentru intervalul de la [0, 0] la [{2}, {3}] (inclusiv) diff --git a/src/test/java/org/orekit/rugged/errors/RuggedExceptionTest.java b/src/test/java/org/orekit/rugged/errors/RuggedExceptionTest.java index 5afc61f6..0042d8a2 100644 --- a/src/test/java/org/orekit/rugged/errors/RuggedExceptionTest.java +++ b/src/test/java/org/orekit/rugged/errors/RuggedExceptionTest.java @@ -64,9 +64,9 @@ public class RuggedExceptionTest { public void testInternalError() { RuggedException re = new RuggedException(RuggedMessages.DUPLICATED_PARAMETER_NAME, "dummy"); RuntimeException rte = RuggedException.createInternalError(re); - Assert.assertFalse(re.getLocalizedMessage().contains("rugged-developers@orekit.org")); - Assert.assertTrue(rte.getLocalizedMessage().contains("rugged-developers@orekit.org")); - Assert.assertTrue(rte.getMessage().contains("rugged-developers@orekit.org")); + Assert.assertFalse(re.getLocalizedMessage().contains("https://gitlab.orekit.org/orekit/rugged/issues")); + Assert.assertTrue(rte.getLocalizedMessage().contains("https://gitlab.orekit.org/orekit/rugged/issues")); + Assert.assertTrue(rte.getMessage().contains("https://gitlab.orekit.org/orekit/rugged/issues")); } } -- GitLab