i18n: move all kotlin bundles to resources/messages directories

This commit is contained in:
Roman Golyshev
2020-02-28 19:08:51 +03:00
committed by Dmitry Gridin
parent 1dded486f1
commit c3cbcc0842
27 changed files with 30 additions and 30 deletions
@@ -20,7 +20,7 @@ import org.jetbrains.annotations.PropertyKey
import org.jetbrains.kotlin.util.AbstractKotlinBundle
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.KotlinBundle"
private const val BUNDLE = "messages.KotlinBundle"
object KotlinBundle : AbstractKotlinBundle(BUNDLE) {
@JvmStatic
@@ -13,7 +13,7 @@ import java.util.*
object KotlinGitBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.git.KotlinGitBundle"
private const val BUNDLE = "messages.KotlinGitBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinGradleNativeBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.ide.konan.KotlinGradleNativeBundle"
private const val BUNDLE = "messages.KotlinGradleNativeBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinJvmBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.KotlinJvmBundle"
private const val BUNDLE = "messages.KotlinJvmBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinMavenBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.maven.KotlinMavenBundle"
private const val BUNDLE = "messages.KotlinMavenBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinNativeBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.ide.konan.KotlinNativeBundle"
private const val BUNDLE = "messages.KotlinNativeBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinDebuggerCoreBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.debugger.KotlinDebuggerCoreBundle"
private const val BUNDLE = "messages.KotlinDebuggerCoreBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -14,7 +14,7 @@
</constraints>
<properties>
<selected value="false"/>
<text resource-bundle="org/jetbrains/kotlin/idea/debugger/KotlinDebuggerCoreBundle" key="variables.calculate.delegated.property.values"/>
<text resource-bundle="messages/KotlinDebuggerCoreBundle" key="variables.calculate.delegated.property.values"/>
</properties>
</component>
<vspacer id="c37da">
@@ -14,7 +14,7 @@
</constraints>
<properties>
<selected value="false"/>
<text resource-bundle="org/jetbrains/kotlin/idea/debugger/KotlinDebuggerCoreBundle" key="filter.ignore.internal.classes"/>
<text resource-bundle="messages/KotlinDebuggerCoreBundle" key="filter.ignore.internal.classes"/>
</properties>
</component>
<vspacer id="c37da">
@@ -13,7 +13,7 @@ import java.util.*
object KotlinDebuggerCoroutinesBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.debugger.coroutine.KotlinDebuggerCoroutinesBundle"
private const val BUNDLE = "messages.KotlinDebuggerCoroutinesBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinDebuggerEvaluationBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.idea.debugger.evaluate.KotlinDebuggerEvaluationBundle"
private const val BUNDLE = "messages.KotlinDebuggerEvaluationBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -26,14 +26,14 @@
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithoutIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" title-key="kotlin.compiler.js.option.panel.title"/>
<border type="etched" title-resource-bundle="messages/KotlinBundle" title-key="kotlin.compiler.js.option.panel.title"/>
<children>
<component id="3ac8f" class="javax.swing.JLabel" binding="labelForOutputPrefixFile">
<constraints>
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.js.option.output.prefix"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.js.option.output.prefix"/>
</properties>
</component>
<component id="dd0c2" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="outputPrefixFile">
@@ -47,7 +47,7 @@
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.js.option.output.postfix"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.js.option.output.postfix"/>
</properties>
</component>
<component id="1bdb7" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="outputPostfixFile">
@@ -80,7 +80,7 @@
</constraints>
<properties>
<state value="NOT_SELECTED"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.js.option.output.copy.files"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.js.option.output.copy.files"/>
</properties>
</component>
<component id="915d" class="javax.swing.JLabel">
@@ -106,7 +106,7 @@
</constraints>
<properties>
<state value="NOT_SELECTED"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.js.option.generate.sourcemaps"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.js.option.generate.sourcemaps"/>
</properties>
</component>
<component id="6484c" class="javax.swing.JLabel" binding="labelForSourceMapPrefix">
@@ -237,7 +237,7 @@
<clientProperties>
<BorderFactoryClass class="java.lang.String" value="com.intellij.ui.IdeBorderFactory$PlainSmallWithoutIndent"/>
</clientProperties>
<border type="etched" title-resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" title-key="kotlin.compiler.jvm.option.panel.title"/>
<border type="etched" title-resource-bundle="messages/KotlinBundle" title-key="kotlin.compiler.jvm.option.panel.title"/>
<children>
<component id="9131b" class="javax.swing.JLabel">
<constraints>
@@ -278,7 +278,7 @@
<properties>
<selected value="false"/>
<state value="NOT_SELECTED"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.option.generate.no.warnings"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.option.generate.no.warnings"/>
</properties>
</component>
</children>
@@ -360,7 +360,7 @@
<grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.option.additional.command.line.parameters"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.option.additional.command.line.parameters"/>
</properties>
</component>
<component id="df236" class="com.intellij.ui.RawCommandLineEditor" binding="additionalArgsOptionsField">
@@ -395,7 +395,7 @@
<properties>
<selected value="false"/>
<state value="NOT_SELECTED"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="kotlin.compiler.option.enable.new.inference.in.ide"/>
<text resource-bundle="messages/KotlinBundle" key="kotlin.compiler.option.enable.new.inference.in.ide"/>
</properties>
</component>
</children>
@@ -80,7 +80,7 @@
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.package.name"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.package.name"/>
</properties>
</component>
<component id="18010" class="com.intellij.refactoring.ui.PackageNameReferenceEditorCombo" binding="packageNameField" custom-create="true">
@@ -45,7 +45,7 @@
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.to.package"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.to.package"/>
</properties>
</component>
<component id="9ea97" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="fileChooser">
@@ -59,7 +59,7 @@
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
</constraints>
<properties>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.to.file"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.to.file"/>
</properties>
</component>
<component id="67853" class="javax.swing.JTextField" binding="tfFileNameInPackage" default-binding="true">
@@ -79,7 +79,7 @@
<properties>
<horizontalAlignment value="2"/>
<horizontalTextPosition value="11"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.file.name"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.file.name"/>
</properties>
</component>
<grid id="ce694" binding="targetPanel" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -96,7 +96,7 @@
</constraints>
<properties>
<labelFor value="36327"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.destination.directory"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.destination.directory"/>
</properties>
</component>
<component id="36327" class="com.intellij.ui.ComboboxWithBrowseButton" binding="destinationFolderCB" custom-create="true">
@@ -113,7 +113,7 @@
</constraints>
<properties>
<selected value="true"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="label.text.update.package.directive"/>
<text resource-bundle="messages/KotlinBundle" key="label.text.update.package.directive"/>
</properties>
</component>
<grid id="69aba" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -148,7 +148,7 @@
</constraints>
<properties>
<selected value="true"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="checkbox.text.search.references"/>
<text resource-bundle="messages/KotlinBundle" key="checkbox.text.search.references"/>
</properties>
</component>
<component id="cc60e" class="javax.swing.JCheckBox" binding="cbDeleteEmptySourceFiles">
@@ -157,7 +157,7 @@
</constraints>
<properties>
<selected value="true"/>
<text resource-bundle="org/jetbrains/kotlin/idea/KotlinBundle" key="checkbox.text.delete.empty.source.files"/>
<text resource-bundle="messages/KotlinBundle" key="checkbox.text.delete.empty.source.files"/>
</properties>
</component>
</children>
@@ -13,7 +13,7 @@ import java.util.*
object KotlinNJ2KServicesBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.nj2k.KotlinNJ2KServicesBundle"
private const val BUNDLE = "messages.KotlinNJ2KServicesBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)
@@ -13,7 +13,7 @@ import java.util.*
object KotlinNJ2KBundle : KotlinBundleBase() {
@NonNls
private const val BUNDLE = "org.jetbrains.kotlin.nj2k.KotlinNJ2KBundle"
private const val BUNDLE = "messages.KotlinNJ2KBundle"
override fun createBundle(): ResourceBundle = ResourceBundle.getBundle(BUNDLE)