From f46fc7d848b266e5c6dbc7af48bd64efcb9bc354 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Fri, 20 Mar 2020 20:43:35 +0700 Subject: [PATCH] IDE: Fix i18n for KlibMetaFileType --- .../resources/messages/KotlinIdeaAnalysisBundle.properties | 4 +++- .../src/org/jetbrains/kotlin/idea/klib/KlibMetaFileType.kt | 4 ++-- .../resources/messages/KotlinNativeBundle.properties | 2 -- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties b/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties index a83e9bf84f8..46532752dbc 100644 --- a/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties +++ b/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties @@ -74,4 +74,6 @@ replace.overloaded.operator.with.function.call=Replace overloaded operator with searching.for.implicit.usages=Searching for implicit usages... class.initializer= object.0=object{0} -show.non.public=Show non-public \ No newline at end of file +show.non.public=Show non-public + +klib.metadata.short=Klib Metadata diff --git a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/klib/KlibMetaFileType.kt b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/klib/KlibMetaFileType.kt index 5ea94f8b1cb..4d5965bb0d1 100644 --- a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/klib/KlibMetaFileType.kt +++ b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/klib/KlibMetaFileType.kt @@ -7,12 +7,12 @@ package org.jetbrains.kotlin.idea.klib import com.intellij.openapi.fileTypes.FileType import com.intellij.openapi.vfs.VirtualFile -import org.jetbrains.kotlin.ide.konan.KotlinNativeBundle +import org.jetbrains.kotlin.idea.KotlinIdeaAnalysisBundle import org.jetbrains.kotlin.library.KLIB_METADATA_FILE_EXTENSION object KlibMetaFileType : FileType { override fun getName() = "KNM" - override fun getDescription() = KotlinNativeBundle.message("kotlin.native.metadata.short") + override fun getDescription() = KotlinIdeaAnalysisBundle.message("klib.metadata.short") override fun getDefaultExtension() = KLIB_METADATA_FILE_EXTENSION override fun getIcon(): Nothing? = null override fun isBinary() = true diff --git a/idea/idea-native/resources/messages/KotlinNativeBundle.properties b/idea/idea-native/resources/messages/KotlinNativeBundle.properties index 9c2f2310025..a2e3b9c712c 100644 --- a/idea/idea-native/resources/messages/KotlinNativeBundle.properties +++ b/idea/idea-native/resources/messages/KotlinNativeBundle.properties @@ -1,4 +1,2 @@ -kotlin.native.metadata.short=Kotlin/Native Metadata - kotlin.native.definitions.short=Kotlin/Native Def kotlin.native.definitions.description=Definitions file for Kotlin/Native C interoperability \ No newline at end of file