From 4a7160b51aa3b26adf26060ccefb95e2eb359a9e Mon Sep 17 00:00:00 2001 From: Dmitry Gridin Date: Tue, 10 Mar 2020 14:50:19 +0700 Subject: [PATCH] i18n: update bundle for idea-analysis --- .../KotlinIdeaAnalysisBundle.properties | 77 +++++- .../idea/caches/project/IdeaModuleInfos.kt | 15 +- .../idea/caches/project/ScriptModuleInfos.kt | 9 +- .../idea/highlighter/IdeErrorMessages.java | 244 +++++++++--------- .../kotlin/idea/highlighter/IdeRenderers.kt | 11 +- .../KotlinSuppressableWarningProblemGroup.kt | 16 +- .../VariablesHighlightingVisitor.kt | 33 ++- .../kotlin/idea/highlighter/renderersUtil.kt | 13 +- .../intentions/OperatorToFunctionIntention.kt | 9 +- ...otlinMultiplatformAnalysisModeComponent.kt | 5 +- .../NewInferenceForIDEAnalysisComponent.kt | 6 +- .../operators/OperatorReferenceSearcher.kt | 5 +- .../KotlinStructureElementPresentation.kt | 20 +- .../structureView/KotlinStructureViewModel.kt | 18 +- 14 files changed, 281 insertions(+), 200 deletions(-) diff --git a/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties b/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties index 82f7f557b1c..071c6a6c398 100644 --- a/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties +++ b/idea/idea-analysis/resources/messages/KotlinIdeaAnalysisBundle.properties @@ -1,2 +1,77 @@ +found=found:\u0020 +html.0.has.no.corresponding.expected.declaration.1.html='{'0'}' has no corresponding expected declaration'{'1'}' +html.0.is.not.abstract.and.does.not.implement.abstract.base.class.member.br.1.html='{'0'}' is not abstract and does not implement abstract base class member
'{'1'}' +html.0.is.not.abstract.and.does.not.implement.abstract.member.br.1.html='{'0'}' is not abstract and does not implement abstract member
'{'1'}' +html.0.method.may.be.missing.none.of.the.following.functions.will.be.called.ul.1.ul.html='''''{'0'}''''' method may be missing. None of the following functions will be called: +html.0.must.override.1.br.because.it.inherits.many.implementations.of.it.html='{'0'}' must override '{'1'}'
because it inherits many implementations of it +html.accidental.override.0.html=Accidental override: '{'0'}' +html.actual.class.0.has.no.corresponding.members.for.expected.class.members.1.html=Actual class '''''{'0'}''''' has no corresponding members for expected class members:'{'1'}' +html.assignment.operators.ambiguity.all.these.functions.match.ul.0.ul.table.html=Assignment operators ambiguity. All these functions match. +html.cannot.choose.among.the.following.candidates.without.completing.type.inference.ul.0.ul.html=Cannot choose among the following candidates without completing type inference: +html.expected.0.has.no.actual.declaration.in.module.1.2.html=Expected '{'0'}' has no actual declaration in module '{'1'}''{'2'}' +html.function.return.type.mismatch.table.tr.td.expected.td.td.1.td.tr.tr.td.found.td.td.2.td.tr.table.html=Function return type mismatch.
Expected:'{'1'}'
Found:'{'2'}'
+html.getter.return.type.must.be.equal.to.the.type.of.the.property.table.tr.td.expected.td.td.0.td.tr.tr.td.found.td.td.1.td.tr.table.html=Getter return type must be equal to the type of the property.
Expected:'{'0'}'
Found:'{'1'}'
+html.internal.error.occurred.while.analyzing.this.expression.br.table.cellspacing.0.cellpadding.0.tr.td.strong.please.use.the.strong.td.td.img.src.0.td.td.strong.icon.in.the.bottom.right.corner.to.report.this.error.strong.td.tr.table.br.pre.0.pre.html=Internal Error occurred while analyzing this expression
(Please use the "" icon in the bottom-right corner to report this error):

'{'0'}'
+html.javascript.0.html=JavaScript: '{'0'}' +html.loop.parameter.type.mismatch.table.tr.td.iterated.values.td.td.0.td.tr.tr.td.parameter.td.td.1.td.tr.table.html=Loop parameter type mismatch.
Iterated values:'{'0'}'
Parameter:'{'1'}'
+html.method.contains.from.concurrenthashmap.may.have.unexpected.semantics.it.calls.containsvalue.instead.of.containskey.br.use.explicit.form.of.the.call.to.containskey.containsvalue.contains.or.cast.the.value.to.kotlin.collections.map.instead.br.see.https.youtrack.jetbrains.com.issue.kt.18053.for.more.details.html=Method ''contains'' from ConcurrentHashMap may have unexpected semantics: it calls ''containsValue'' instead of ''containsKey''.
Use explicit form of the call to ''containsKey''/''containsValue''/''contains'' or cast the value to kotlin.collections.Map instead.
See https://youtrack.jetbrains.com/issue/KT-18053 for more details +html.method.iterator.is.ambiguous.for.this.expression.ul.0.ul.html=Method ''''iterator()'''' is ambiguous for this expression. +html.none.of.the.following.functions.can.be.called.with.the.arguments.supplied.ul.0.ul.html=None of the following functions can be called with the arguments supplied. +html.overload.resolution.ambiguity.all.these.functions.match.ul.0.ul.html=Overload resolution ambiguity. All these functions match. +html.overload.resolution.ambiguity.on.method.0.all.these.functions.match.ul.1.ul.html=Overload resolution ambiguity on method '''''{'0'}'''''. All these functions match. +html.platform.declaration.clash.0.html=Platform declaration clash: '{'0'}' +html.property.delegate.must.have.a.0.method.none.of.the.following.functions.is.suitable.ul.1.ul.html=Property delegate must have a '''''{'0'}''''' method. None of the following functions is suitable. +html.property.type.is.0.which.is.not.a.subtype.type.of.overridden.br.1.html=Property type is '''''{'0'}''''', which is not a subtype type of overridden
'{'1'}' +html.return.type.is.0.which.is.not.a.subtype.of.overridden.br.1.html=Return type is '''''{'0'}''''', which is not a subtype of overridden
'{'1'}' +html.return.types.of.inherited.members.are.incompatible.br.0.br.1.html=Return types of inherited members are incompatible:
'{'0'}',
'{'1'}' +html.setter.parameter.type.must.be.equal.to.the.type.of.the.property.table.tr.td.expected.td.td.0.td.tr.tr.td.found.td.td.1.td.tr.table.html=Setter parameter type must be equal to the type of the property.
Expected:'{'0'}'
Found:'{'1'}'
+html.type.argument.is.not.within.its.bounds.table.tr.td.expected.td.td.0.td.tr.tr.td.found.td.td.1.td.tr.table.html=Type argument is not within its bounds.
Expected:'{'0'}'
Found:'{'1'}'
+html.type.inference.failed.0.html=Type inference failed: '{'0'}' +html.type.mismatch.table.tr.td.required.td.td.0.td.tr.tr.td.found.td.td.1.td.tr.table.br.projected.type.2.restricts.use.of.br.3.html=Type mismatch.
Required:'{'0'}'
Found:'{'1'}'

\nProjected type '{'2'}' restricts use of
\n'{'3'}'\n +html.type.mismatch.table.tr.td.required.td.td.0.td.tr.tr.td.found.td.td.1.td.tr.table.html=Type mismatch.
Required:'{'0'}'
Found:'{'1'}'
+html.types.of.inherited.properties.are.incompatible.br.0.br.1.html=Types of inherited properties are incompatible:
'{'0'}',
'{'1'}' +html.types.of.inherited.var.properties.do.not.match.br.0.br.1.html=Types of inherited var-properties do not match:
'{'0'}',
'{'1'}' +html.unresolved.reference.br.none.of.the.following.candidates.is.applicable.because.of.receiver.type.mismatch.ul.0.ul.html=Unresolved reference.
None of the following candidates is applicable because of receiver type mismatch: +html.val.property.cannot.override.var.property.br.1.html=Val-property cannot override var-property
'{'1'}' +html.val.property.cannot.override.var.property.br.1.html2=Val-property cannot override var-property
'{'1'}' +html.var.property.type.is.0.which.is.not.a.type.of.overridden.br.1.html=Var-property type is '''''{'0'}''''', which is not a type of overridden
'{'1'}' +required=required:\u0020 +type.inference.failed.expected.type.mismatch=Type inference failed. Expected type mismatch:\u0020 + intention.suppress.family=Suppress Warnings -intention.suppress.text=Suppress ''{0}'' for {1} {2} \ No newline at end of file +intention.suppress.text=Suppress ''{0}'' for {1} {2} +special.module.for.files.not.under.source.root= +sdk.0= +sources.for.library.0= +library.0= +test.sources.for.module.0= +production.sources.for.module.0= +source.for.script.dependencies= +script.dependencies=