mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed a typo, moved a message to resources.
This commit is contained in:
@@ -237,6 +237,7 @@ INSP.NAME.byte.literal=Byte literal contains characters > 127
|
||||
|
||||
# PyTupleItemAssignmentInspection
|
||||
INSP.NAME.tuple.item.assignment=Tuple item assignment
|
||||
INSP.tuples.never.assign.items=Tuples don't support item assignment
|
||||
|
||||
# Refactoring
|
||||
# introduce
|
||||
|
||||
@@ -68,7 +68,7 @@ public class PyTupleItemAssignmentInspection extends LocalInspectionTool {
|
||||
PyExpression expression = (PyExpression)element;
|
||||
PyType type = expression.getType(TypeEvalContext.fast());
|
||||
if (type instanceof PyTupleType) {
|
||||
registerProblem(node, "Tuples doesn't support item assignment");
|
||||
registerProblem(node, PyBundle.message("INSP.tuples.never.assign.items"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user