Skip to content

Conversation

@petrenkonikita112263
Copy link
Contributor

Jira URL

XWIKI-19862

Changes

Description

Add translation key platform.core.profile.category.dashboard.edit on ApplicationResources.properties and translate in advance into Ukrainian since it will appear in Weblate.

Clarifications

  • With added translation user won't see translation keys on Pencil icon in case of editing personal dashboard
  • Community users will contribute to translation once it will appear in Weblate: XWiki-platform core project

Screenshots & Video

I have only screen that I did by creating translation in temp place and checking, explanation in comment below this PR

Знімок екрана 2025-11-05 205959

Executed Tests

Expected merging strategy

  • Prefers squash: Yes
  • Backport on branches:
    • 16.10.x
    • 17.4.x

… Profile does not have a translation

* add missed translation and its Ukrainian version
@petrenkonikita112263
Copy link
Contributor Author

I tried to build the old-core project xwiki-platform\xwiki-platform-core\xwiki-platform-oldcore on Java 17, but it fails with error. In temp folder I only have empty folder without any files, no logs of detailed error.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project xwiki-platform-oldcore: There are test failures.
[ERROR] 
[ERROR] Please refer to C:\XWiki Souces\xwiki-platform\xwiki-platform-core\xwiki-platform-oldcore\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter1217673123486507964.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun1 surefire13031660201631053618tmp surefire_016340461270195261260tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter15375024822047366044.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun2 surefire5553513866103050816tmp surefire_111647546194505613223tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter290834559013076937.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun3 surefire8352617537896214331tmp surefire_211840007500735902584tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] org.apache.maven.surefire.booter.SurefireBooterForkException: ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter1217673123486507964.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun1 surefire13031660201631053618tmp surefire_016340461270195261260tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter15375024822047366044.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun2 surefire5553513866103050816tmp surefire_111647546194505613223tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] ExecutionException The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter290834559013076937.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun3 surefire8352617537896214331tmp surefire_211840007500735902584tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.awaitResultsDone(ForkStarter.java:510)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.runSuitesForkOnceMultiple(ForkStarter.java:382)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:297)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:246)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
[ERROR] 	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
[ERROR] 	at jdk.internal.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] 	at com.gradle.maven.cache.extension.d.n.a(SourceFile:53)
[ERROR] 	at com.gradle.maven.cache.extension.d.d.a(SourceFile:27)
[ERROR] 	at com.gradle.maven.cache.extension.d.q.a(SourceFile:23)
[ERROR] 	at com.gradle.maven.cache.extension.d.j.a(SourceFile:28)
[ERROR] 	at com.gradle.maven.cache.extension.d.p.a(SourceFile:27)
[ERROR] 	at com.gradle.maven.cache.extension.d.b.c(SourceFile:118)
[ERROR] 	at com.gradle.maven.cache.extension.d.b.a(SourceFile:62)
[ERROR] 	at com.gradle.maven.cache.extension.d.g.a(SourceFile:27)
[ERROR] 	at com.gradle.maven.cache.extension.d.a.a(SourceFile:46)
[ERROR] 	at com.gradle.maven.cache.extension.d.o.a(SourceFile:18)
[ERROR] 	at com.gradle.maven.cache.extension.d.a.a(SourceFile:46)
[ERROR] 	at com.gradle.maven.cache.extension.d.c.a(SourceFile:26)
[ERROR] 	at com.gradle.maven.cache.extension.d.h$1.run(SourceFile:35)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:29)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(SourceFile:26)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:66)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(SourceFile:59)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:166)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(SourceFile:59)
[ERROR] 	at org.gradle.internal.operations.DefaultBuildOperationRunner.run(SourceFile:47)
[ERROR] 	at com.gradle.maven.cache.extension.d.h.a(SourceFile:31)
[ERROR] 	at com.gradle.maven.cache.extension.d.m.a(SourceFile:82)
[ERROR] 	at com.gradle.maven.cache.extension.h.b.lambda$createProxy$0(SourceFile:76)
[ERROR] 	at jdk.proxy12/jdk.proxy12.$Proxy108.execute(Unknown Source)
[ERROR] 	at com.gradle.maven.scan.extension.internal.d.b.executeMojo(SourceFile:116)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2(MojoExecutor.java:328)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute(MojoExecutor.java:316)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:174)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.access$000(MojoExecutor.java:75)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor$1.run(MojoExecutor.java:162)
[ERROR] 	at org.apache.maven.plugin.DefaultMojosExecutionStrategy.execute(DefaultMojosExecutionStrategy.java:39)
[ERROR] 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:159)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:105)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:73)
[ERROR] 	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:53)
[ERROR] 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:118)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:261)
[ERROR] 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:173)
[ERROR] 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:101)
[ERROR] 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:906)
[ERROR] 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283)
[ERROR] 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:206)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[ERROR] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[ERROR] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[ERROR] 	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361)
[ERROR] 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314)
[ERROR] Caused by: org.apache.maven.surefire.booter.SurefireBooterForkException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was cmd.exe /X /C ""C:\Program Files\Java\jdk-17\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570\surefirebooter290834559013076937.jar C:\Users\Nikita\AppData\Local\Temp\surefire8413358599747328570 2025-11-06T10-24-10_457-jvmRun3 surefire8352617537896214331tmp surefire_211840007500735902584tmp"
[ERROR] Error occurred in starting fork, check output in log
[ERROR] Process Exit Code: 1
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:669)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter.access$600(ForkStarter.java:115)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:371)
[ERROR] 	at org.apache.maven.plugin.surefire.booterclient.ForkStarter$1.call(ForkStarter.java:347)
[ERROR] 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[ERROR] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[ERROR] 	at java.base/java.lang.Thread.run(Thread.java:842)
[ERROR] 
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

I tried to updated pom with extra plugin

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <forkCount>3</forkCount>
    <reuseForks>true</reuseForks>
    <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
  </configuration>
</plugin>

But it didn't improve situation, also searched in XWiki but didn't find information. That's why in the end I created a translation document inside the snapshot of XWiki 17.9.0 and checked visual changes.

@surli surli self-assigned this Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants