i18n: add @NotNls to bundles
This commit is contained in:
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinIdeaCoreBundle"
|
|||||||
|
|
||||||
object KotlinIdeaCoreBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinIdeaCoreBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinIdeaGradleBundle"
|
|||||||
|
|
||||||
object KotlinIdeaGradleBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinIdeaGradleBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinConfigurationBundle"
|
|||||||
|
|
||||||
object KotlinConfigurationBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinConfigurationBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinCopyBundle"
|
|||||||
|
|
||||||
object KotlinCopyBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinCopyBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinEditorBundle"
|
|||||||
|
|
||||||
object KotlinEditorBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinEditorBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinFacetBundle"
|
|||||||
|
|
||||||
object KotlinFacetBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinFacetBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinFiltersBundle"
|
|||||||
|
|
||||||
object KotlinFiltersBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinFiltersBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ private const val BUNDLE = "messages.KotlinFindUsagesBundle"
|
|||||||
|
|
||||||
object KotlinFindUsagesBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinFindUsagesBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
|
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun lazyMessage(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): () -> String = { getMessage(key, *params) }
|
fun lazyMessage(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): () -> String = { getMessage(key, *params) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinFormatterBundle"
|
|||||||
|
|
||||||
object KotlinFormatterBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinFormatterBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinFrameworkBundle"
|
|||||||
|
|
||||||
object KotlinFrameworkBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinFrameworkBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinHierarchyBundle"
|
|||||||
|
|
||||||
object KotlinHierarchyBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinHierarchyBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinHighlighterBundle"
|
|||||||
|
|
||||||
object KotlinHighlighterBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinHighlighterBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinImportsBundle"
|
|||||||
|
|
||||||
object KotlinImportsBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinImportsBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinInternalBundle"
|
|||||||
|
|
||||||
object KotlinInternalBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinInternalBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinReporterBundle"
|
|||||||
|
|
||||||
object KotlinReporterBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinReporterBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinRootsBundle"
|
|||||||
|
|
||||||
object KotlinRootsBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinRootsBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinScriptBundle"
|
|||||||
|
|
||||||
object KotlinScriptBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinScriptBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinSlicerBundle"
|
|||||||
|
|
||||||
object KotlinSlicerBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinSlicerBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinTestIntegrationBundle"
|
|||||||
|
|
||||||
object KotlinTestIntegrationBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinTestIntegrationBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinUpdateBundle"
|
|||||||
|
|
||||||
object KotlinUpdateBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinUpdateBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinVersionBundle"
|
|||||||
|
|
||||||
object KotlinVersionBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinVersionBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ private const val BUNDLE = "messages.KotlinJ2KBundle"
|
|||||||
|
|
||||||
object KotlinJ2KBundle : AbstractKotlinBundle(BUNDLE) {
|
object KotlinJ2KBundle : AbstractKotlinBundle(BUNDLE) {
|
||||||
@JvmStatic
|
@JvmStatic
|
||||||
fun message(@PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
fun message(@NonNls @PropertyKey(resourceBundle = BUNDLE) key: String, vararg params: Any): String = getMessage(key, *params)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user