diff --git a/idea/idea-gradle-native/resources/messages/KotlinGradleNativeBundle.properties b/idea/idea-gradle-native/resources/messages/KotlinGradleNativeBundle.properties index 1d6d6545da5..2df07a76a08 100644 --- a/idea/idea-gradle-native/resources/messages/KotlinGradleNativeBundle.properties +++ b/idea/idea-gradle-native/resources/messages/KotlinGradleNativeBundle.properties @@ -15,4 +15,5 @@ error.incompatible.3p.libraries.recipe=Please edit Gradle buildfile(s) and speci error.incompatible.user.libraries.newer=There {0,choice,1#is a library|2#are {0} third-party libraries} attached to the project that {0,choice,1#was|2#were} compiled with a newer Kotlin/Native compiler and can't be read in IDE: error.incompatible.user.libraries.older=There {0,choice,1#is a library|2#are {0} third-party libraries} attached to the project that {0,choice,1#was|2#were} compiled with an older Kotlin/Native compiler and can't be read in IDE: -error.incompatible.user.libraries.recipe=Please edit Gradle buildfile(s) to use Kotlin Gradle plugin version {0}. Then rebuild the project and re-import it in IDE. \ No newline at end of file +error.incompatible.user.libraries.recipe=Please edit Gradle buildfile(s) to use Kotlin Gradle plugin version {0}. Then rebuild the project and re-import it in IDE. +library.name.0.at.1.relative.root="{0}" at {1} \ No newline at end of file diff --git a/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt b/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt index 74e495d73be..2e3cef043ff 100644 --- a/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt +++ b/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt @@ -162,7 +162,7 @@ class KotlinNativeABICompatibilityChecker(private val project: Project) : Projec ?.let { "${'$'}project/$it" } } ?: libraryRoot - return "\"$libraryName\" at $relativeRoot" + return KotlinGradleNativeBundle.message("library.name.0.at.1.relative.root", libraryName, relativeRoot) } val text = when (isOldMetadata) { diff --git a/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt.192 b/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt.192 index ebe609687f1..c698f207b87 100644 --- a/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt.192 +++ b/idea/idea-gradle-native/src/org/jetbrains/kotlin/ide/konan/KotlinNativeABICompatibilityChecker.kt.192 @@ -163,7 +163,7 @@ class KotlinNativeABICompatibilityChecker(private val project: Project) : Projec ?.let { "${'$'}project/$it" } } ?: libraryRoot - return "\"$libraryName\" at $relativeRoot" + return KotlinGradleNativeBundle.message("library.name.0.at.1.relative.root", libraryName, relativeRoot) } val text = when (isOldMetadata) {