Filter out community translations for the Admin Console (#19806)

Closes CIAM-5018
This commit is contained in:
Jon Koops 2023-04-19 17:03:02 +02:00 committed by GitHub
parent 30ce2d1e5b
commit 01d13e8ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 1 deletions

View file

@ -16,6 +16,47 @@
<name>Keycloak Admin UI</name> <name>Keycloak Admin UI</name>
<description>The user inferface to administrate the Keycloak server.</description> <description>The user inferface to administrate the Keycloak server.</description>
<profiles>
<profile>
<id>withoutTranslations</id>
<activation>
<property>
<name>skipCommunityTranslations</name>
</property>
</activation>
<build>
<resources>
<resource>
<directory>dist</directory>
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
<includes>
<include>resources/en/**</include>
</includes>
</resource>
</resources>
</build>
</profile>
<profile>
<id>withTranslations</id>
<activation>
<property>
<name>!skipCommunityTranslations</name>
</property>
</activation>
<build>
<resources>
<resource>
<directory>dist</directory>
<targetPath>theme/keycloak.v2/admin/resources</targetPath>
<includes>
<include>resources/**</include>
</includes>
</resource>
</resources>
</build>
</profile>
</profiles>
<build> <build>
<resources> <resources>
<resource> <resource>
@ -26,6 +67,7 @@
<targetPath>theme/keycloak.v2/admin/resources</targetPath> <targetPath>theme/keycloak.v2/admin/resources</targetPath>
<excludes> <excludes>
<exclude>index.html</exclude> <exclude>index.html</exclude>
<exclude>resources/**</exclude>
</excludes> </excludes>
</resource> </resource>
</resources> </resources>

View file

@ -226,7 +226,7 @@
<server.output.dir.version>${project.version}</server.output.dir.version> <server.output.dir.version>${project.version}</server.output.dir.version>
<!-- Frontend --> <!-- Frontend -->
<node.version>v18.15.0</node.version> <node.version>v18.16.0</node.version>
</properties> </properties>
<url>http://keycloak.org</url> <url>http://keycloak.org</url>