[i18n] fix some issues with strings in platform.lang.impl module (IDEA-CR-59111)

GitOrigin-RevId: 592d346fc7a5c82ca67913c4e3a73fdc8a208b24
This commit is contained in:
nik
2020-03-10 09:01:29 +00:00
committed by intellij-monorepo-bot
parent 119c43e923
commit 6ea498f78c
4 changed files with 6 additions and 6 deletions
@@ -467,7 +467,7 @@ action.text.move=Move
dialog.title.create.new.group=Create New Group
intention.family.edit.injected.fragment=Edit injected fragment
intention.text.edit.0.fragment=Edit {0} Fragment
message.the.file.size.0.exceeds.configured.limit.1.code.insight.features.are.not.available=The file size ({0}) exceeds configured limit ({1}). Code insight features are not available.
message.file.size.0.exceeds.code.insight.limit.1=The file size ({0}) exceeds configured limit ({1}). Code insight features are not available.
command.fix.documentation=Fix documentation
label.slow.inspections.progress.report.long.line=<html><b>Slow inspections progress report long line</b></html>
notification.navigation.is.not.available.while.indexing=Navigation is not available while indexing
@@ -500,6 +500,7 @@ empty.text.no.mappings=No mappings
this.configuration.cannot.be.edited=This configuration cannot be edited
popup.title.choose.target.file=Choose Target File
dialog.title.unable.to.open.file=Unable to Open File
dialog.message.unable.to.open.file=Unable to open ''{0}/{1}''\nReason:{2}
dialog.title.folding.pattern=Folding Pattern
popup.title.script.engine=Script Engine
action.text.use.console.input=Use Console Input
@@ -33,10 +33,9 @@ public class LargeFilesAnnotator implements Annotator {
if (element instanceof PsiFile) {
VirtualFile file = ((PsiFile)element).getViewProvider().getVirtualFile();
if (SingleRootFileViewProvider.isTooLargeForIntelligence(file)) {
holder.newAnnotation(HighlightSeverity.WARNING, CodeInsightBundle
.message("message.the.file.size.0.exceeds.configured.limit.1.code.insight.features.are.not.available",
StringUtil.formatFileSize(file.getLength()),
StringUtil.formatFileSize(PersistentFSConstants.getMaxIntellisenseFileSize())))
holder.newAnnotation(HighlightSeverity.WARNING, CodeInsightBundle.message("message.file.size.0.exceeds.code.insight.limit.1",
StringUtil.formatFileSize(file.getLength()),
StringUtil.formatFileSize(PersistentFSConstants.getMaxIntellisenseFileSize())))
.fileLevel()
.create();
}
@@ -500,7 +500,7 @@ public class ConsoleHistoryController implements Disposable {
catch (final IOException e) {
LOG.warn(e);
ApplicationManager.getApplication().invokeLater(() -> {
String message = String.format("Unable to open '%s/%s'\nReason: %s", rootType.getId(), pathName, e.getLocalizedMessage());
String message = ExecutionBundle.message("dialog.message.unable.to.open.file", rootType.getId(), pathName, e.getLocalizedMessage());
Messages.showErrorDialog(message, ExecutionBundle.message("dialog.title.unable.to.open.file"));
});
return null;