You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2018/04/23 16:43:02 UTC

[maven-site-plugin] branch master updated: [MSITE-818] currently only language is used, not the full locale

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new d5c5bbd  [MSITE-818] currently only language is used, not the full locale
d5c5bbd is described below

commit d5c5bbdfb093e88fad05ee685942664e041fc957
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon Apr 23 18:43:01 2018 +0200

    [MSITE-818] currently only language is used, not the full locale
---
 src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java b/src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java
index 9529703..e640154 100644
--- a/src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java
+++ b/src/main/java/org/apache/maven/plugins/site/run/DoxiaFilter.java
@@ -105,7 +105,7 @@ public class DoxiaFilter
         {
             if ( path.startsWith( locale.getLanguage() + "/" ) )
             {
-                localeWanted = locale.toString();
+                localeWanted = locale.getLanguage();
                 path = path.substring( locale.getLanguage().length() + 1 );
             }
         }

-- 
To stop receiving notification emails like this one, please contact
hboutemy@apache.org.