i18n: add bundle for idea-live-templates
This commit is contained in:
+7
-6
@@ -31,6 +31,7 @@ import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.kotlin.KtNodeTypes;
|
||||
import org.jetbrains.kotlin.idea.KotlinBundle;
|
||||
import org.jetbrains.kotlin.idea.KotlinLanguage;
|
||||
import org.jetbrains.kotlin.lexer.KtTokens;
|
||||
import org.jetbrains.kotlin.psi.*;
|
||||
@@ -106,7 +107,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class TopLevel extends KotlinTemplateContextType {
|
||||
public TopLevel() {
|
||||
super("KOTLIN_TOPLEVEL", "Top-level", Generic.class);
|
||||
super("KOTLIN_TOPLEVEL", KotlinBundle.message("top.level"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -135,7 +136,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class ObjectDeclaration extends KotlinTemplateContextType {
|
||||
public ObjectDeclaration() {
|
||||
super("KOTLIN_OBJECT_DECLARATION", "Object declaration", Generic.class);
|
||||
super("KOTLIN_OBJECT_DECLARATION", KotlinBundle.message("object.declaration"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -147,7 +148,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class Class extends KotlinTemplateContextType {
|
||||
public Class() {
|
||||
super("KOTLIN_CLASS", "Class", Generic.class);
|
||||
super("KOTLIN_CLASS", KotlinBundle.message("class"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -158,7 +159,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class Statement extends KotlinTemplateContextType {
|
||||
public Statement() {
|
||||
super("KOTLIN_STATEMENT", "Statement", Generic.class);
|
||||
super("KOTLIN_STATEMENT", KotlinBundle.message("statement"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -175,7 +176,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class Expression extends KotlinTemplateContextType {
|
||||
public Expression() {
|
||||
super("KOTLIN_EXPRESSION", "Expression", Generic.class);
|
||||
super("KOTLIN_EXPRESSION", KotlinBundle.message("expression"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -188,7 +189,7 @@ public abstract class KotlinTemplateContextType extends TemplateContextType {
|
||||
|
||||
public static class Comment extends KotlinTemplateContextType {
|
||||
public Comment() {
|
||||
super("KOTLIN_COMMENT", "Comment", Generic.class);
|
||||
super("KOTLIN_COMMENT", KotlinBundle.message("comment"), Generic.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1815,4 +1815,10 @@ add.underscores=Add underscores
|
||||
excluded.methods=Excluded methods
|
||||
use.of.0.method.instead.of.property.access.syntax=Use of {0} method instead of property access syntax
|
||||
use.property.access.syntax=Use property access syntax
|
||||
convert.to.object.declaration=Convert to object declaration
|
||||
convert.to.object.declaration=Convert to object declaration
|
||||
comment=Comment
|
||||
expression=Expression
|
||||
statement=Statement
|
||||
class=Class
|
||||
object.declaration=Object declaration
|
||||
top.level=Top-level
|
||||
Reference in New Issue
Block a user