Skip to content
Snippets Groups Projects
Commit c35e3791 authored by Vincent Massol's avatar Vincent Massol
Browse files

XCOMMONS-774: Impossible to commit a new wiki translation document with proper default language

* Added ability to specify technical pages too
parent 42d4d27a
No related branches found
No related tags found
No related merge requests found
...@@ -120,4 +120,18 @@ ...@@ -120,4 +120,18 @@
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.xwiki.commons</groupId>
<artifactId>xwiki-commons-tool-xar-plugin</artifactId>
<configuration>
<!-- The EditTranslations page is not a Translation page and thus not a content page! -->
<technicalPages>
<technicalPage>EditTranslations\.xml</technicalPage>
</technicalPages>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<web>Panels</web> <web>Panels</web>
<name>EditTranslations</name> <name>EditTranslations</name>
<language/> <language/>
<defaultLanguage>en</defaultLanguage> <defaultLanguage/>
<translation>0</translation> <translation>0</translation>
<parent>Panels.WebHome</parent> <parent>Panels.WebHome</parent>
<creator>xwiki:XWiki.Admin</creator> <creator>xwiki:XWiki.Admin</creator>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment