From 7c1ce938fc28afffac9b809eb9becc03e5579b3b Mon Sep 17 00:00:00 2001 From: Jesse McConnell Date: Thu, 25 Oct 2007 16:43:07 +0000 Subject: [PATCH] a part of REDBACK-81, this will allow a user to customize various messages from redback if they so desire. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588279 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/maven/archiva/redback/custom.properties | 4 ++++ .../archiva-webapp/src/main/resources/webwork.properties | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/redback/custom.properties diff --git a/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/redback/custom.properties b/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/redback/custom.properties new file mode 100644 index 000000000..134092cb2 --- /dev/null +++ b/archiva-web/archiva-webapp/src/main/resources/org/apache/maven/archiva/redback/custom.properties @@ -0,0 +1,4 @@ +# text resources within redback can be customized by overriding them here + +#password.reset.success=An email has been sent. +#password.reset.failure=No email was not sent, perhaps the user did not exist as entered. \ No newline at end of file diff --git a/archiva-web/archiva-webapp/src/main/resources/webwork.properties b/archiva-web/archiva-webapp/src/main/resources/webwork.properties index 453c1aaac..539c9f278 100644 --- a/archiva-web/archiva-webapp/src/main/resources/webwork.properties +++ b/archiva-web/archiva-webapp/src/main/resources/webwork.properties @@ -27,4 +27,4 @@ webwork.url.includeParams = none # TODO: package up a theme and share with Continuum. Should contain everything from xhtml, and set templateDir to WEB-INF/themes # Localization -webwork.custom.i18n.resources=org.codehaus.plexus.redback.xwork.default \ No newline at end of file +webwork.custom.i18n.resources=org.codehaus.plexus.redback.xwork.default,org.apache.maven.archiva.redback.custom -- 2.39.5