From db22db3c1490318bd0aa60d7bba831e24a2c0d52 Mon Sep 17 00:00:00 2001 From: "Elya.Mamedova" Date: Wed, 7 Jul 2021 18:38:37 +0000 Subject: [PATCH] [markdown] IDEA-272267 Rename import Word Document action, also use Microsoft Word instead of docx IJ-CR-10929 GitOrigin-RevId: 63657e9753ae656cc4c162e32f96e303411ee36c --- .../markdown/resource/messages/MarkdownBundle.properties | 8 ++++---- .../fileActions/export/MarkdownDocxExportProvider.kt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/markdown/resource/messages/MarkdownBundle.properties b/plugins/markdown/resource/messages/MarkdownBundle.properties index 80a982b6545b..12bf3d774a3c 100644 --- a/plugins/markdown/resource/messages/MarkdownBundle.properties +++ b/plugins/markdown/resource/messages/MarkdownBundle.properties @@ -67,7 +67,7 @@ markdown.settings.pandoc.executable.cancel.msg=Pandoc detection canceled markdown.settings.pandoc.notification.detected=Pandoc detected markdown.settings.pandoc.notification.not.detected=Pandoc not detected -markdown.settings.pandoc.resource.path.label=Save images from docx file to: +markdown.settings.pandoc.resource.path.label=Save images from Microsoft Word file to: markdown.style.settings.blank.lines.around.header=Around header markdown.style.settings.blank.lines.around.block.elements=Around block elements @@ -165,10 +165,10 @@ group.Markdown.Toolbar.Floating.text=Formatting dialog.message.path.error=Could not load file: {0} dialog.message.tried.to.use.preview.panel.provider=Tried to use preview panel provider ({0}), but it is unavailable. Reverting to default. -action.org.intellij.plugins.markdown.fileActions.importFrom.docx.MarkdownImportFromDocxAction.text=Import From Docx\u2026 +action.org.intellij.plugins.markdown.fileActions.importFrom.docx.MarkdownImportFromDocxAction.text=Import Word Document\u2026 markdown.import.from.docx.dialog.title=Import Markdown markdown.import.dialog.ok.button=Import -markdown.import.docx.convert=Convert from Docx to Markdown +markdown.import.docx.convert=Convert from Microsoft Word to Markdown markdown.import.export.dialog.new.name.label=Name: markdown.import.export.dialog.path.completion.shortcut=Press {0} for path completion markdown.import.export.dialog.create.directory=Create Directory @@ -184,7 +184,7 @@ markdown.export.dialog.filetype.label=Format: markdown.export.success.msg=Successfully exported {0} markdown.export.failure.msg=Failed to export {0} markdown.export.validation.failure.msg=Converting to {0} is only possible if the Markdown preview is open -markdown.export.to.docx.failure.msg=Unable to export to docx: Pandoc not found +markdown.export.to.docx.failure.msg=Unable to export to Microsoft Word: Pandoc not found markdown.export.to.html.save.images.checkbox=Save images to: markdown.export.images.not.found.msg=Image {0} from the file was not found markdown.export.style.not.found.msg=Style {0} from the file was not found diff --git a/plugins/markdown/src/org/intellij/plugins/markdown/fileActions/export/MarkdownDocxExportProvider.kt b/plugins/markdown/src/org/intellij/plugins/markdown/fileActions/export/MarkdownDocxExportProvider.kt index 1db381e5bfa0..74e90b403416 100644 --- a/plugins/markdown/src/org/intellij/plugins/markdown/fileActions/export/MarkdownDocxExportProvider.kt +++ b/plugins/markdown/src/org/intellij/plugins/markdown/fileActions/export/MarkdownDocxExportProvider.kt @@ -83,6 +83,6 @@ internal class MarkdownDocxExportProvider : MarkdownExportProvider { companion object { @JvmStatic - val format = MarkdownFileActionFormat("docx", "docx") + val format = MarkdownFileActionFormat("Microsoft Word", "docx") } }