User: strokkur24 Date: 17 Jan 26 13:45 Revision: 1257098164cc9868a3564684bd3cd3e8887715fb Summary: Add more translations and make maven artifact version creator property a Set instead of a Collection to avoid duplicate entries TeamCity URL: http://ci.mcdev.io:80/viewModification.html?tab=vcsModificationFiles&modId=10393&personal=false Index: src/main/kotlin/creator/custom/types/MavenArtifactVersionCreatorProperty.kt =================================================================== --- src/main/kotlin/creator/custom/types/MavenArtifactVersionCreatorProperty.kt (revision 83a5cc6cead962b3becede3f8f1559802d2f043a) +++ src/main/kotlin/creator/custom/types/MavenArtifactVersionCreatorProperty.kt (revision 1257098164cc9868a3564684bd3cd3e8887715fb) @@ -54,7 +54,7 @@ var versionFilter: (SemanticVersion) -> Boolean = { true } override val graphProperty: GraphProperty = graph.property(SemanticVersion(emptyList())) - private val versionsProperty = graph.property>(emptyList()) + private val versionsProperty = graph.property>(emptySet()) private val loadingVersionsProperty = graph.property(true) private val loadingVersionsStatusProperty = graph.property("") @@ -127,7 +127,7 @@ descriptor.limit ?: 50 ) { result -> result.onSuccess { versions -> - versionsProperty.set(versions) + versionsProperty.set(versions.toSet()) loadingVersionsProperty.set(false) }.onFailure { exception -> loadingVersionsStatusProperty.set(exception.message ?: exception.javaClass.simpleName) Index: src/main/resources/messages/MinecraftDevelopment.properties =================================================================== --- src/main/resources/messages/MinecraftDevelopment.properties (revision 83a5cc6cead962b3becede3f8f1559802d2f043a) +++ src/main/resources/messages/MinecraftDevelopment.properties (revision 1257098164cc9868a3564684bd3cd3e8887715fb) @@ -111,13 +111,18 @@ creator.ui.versions_download.label=Downloading versions... creator.ui.use_version_catalog.label=Use Gradle version catalog\: creator.ui.include_plugin_bootstrap.label=Include plugin bootstrap file\: -creator.ui.use_gremlin.label=Use Gremlin for dependency resolution\: +creator.ui.use_gremlin.label=Use gremlin for dependency resolution\: +creator.ui.gremlin_version.label=gremlin version\: creator.ui.include_plugin_loader.label=Include plugin loader file\: creator.ui.java_plugin_loader.label=Generate the plugin loader in Java\: creator.ui.use_resource_factory_plugin.label=Use the resource-factory Gradle plugin\: +creator.ui.resource_factory_version.label=resource-factory version\: creator.ui.use_paperweight_userdev.label=Use the paperweight-userdev Gradle plugin\: +creator.ui.paperweight_version.label=paperweight-userdev version\: creator.ui.include_shadow_plugin.label=Include the shadow Gradle plugin\: +creator.ui.shadow_version.label=shadow version\: creator.ui.include_run_paper_plugin.label=Include the run-paper Gradle plugin\: +creator.ui.run_paper_version.label=run-paper version\: creator.ui.accept_eula.label=Add eula-agree runServer JVM flag\: creator.ui.accept_eula.warning=By using this feature, you agree to the Minecraft EULA.