From 8b47eba13d2a8050dc34db424a218e212be4441a Mon Sep 17 00:00:00 2001 From: "Vladislav.Tankov" Date: Sun, 30 Aug 2020 23:29:07 +0300 Subject: [PATCH] [i18n] Additional fixes for Markdown internationalization GitOrigin-RevId: c1af5a7c376025e3de695e23e89cd8396bbd2a86 --- plugins/markdown/resource/messages/MarkdownBundle.properties | 3 +++ .../plugins/markdown/settings/MarkdownSettingsForm.form | 4 ++-- .../markdown/ui/preview/MarkdownPreviewFileEditor.java | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/markdown/resource/messages/MarkdownBundle.properties b/plugins/markdown/resource/messages/MarkdownBundle.properties index de6b1e41dff5..e14ae2eda3a1 100644 --- a/plugins/markdown/resource/messages/MarkdownBundle.properties +++ b/plugins/markdown/resource/messages/MarkdownBundle.properties @@ -2,6 +2,7 @@ markdown.plugin.name=Markdown markdown.file.type.description=Markdown markdown.editor.name=Markdown Split Editor +markdown.editor.preview.name=Markdown HTML Preview markdown.editor.colors.text=Text markdown.editor.colors.bold=Bold text @@ -43,6 +44,8 @@ markdown.editor.colors.link_title=Link title markdown.settings.name=Markdown markdown.settings.css.title.name=Custom CSS markdown.settings.preview.name=Preview +markdown.settings.preview.browser.title=Preview browser: +markdown.settings.preview.extensions.name=Markdown Extensions markdown.settings.css.enable.uri=Load from URI: markdown.settings.css.enable.inline=Add CSS rules: markdown.settings.default.layout=Default layout: diff --git a/plugins/markdown/src/org/intellij/plugins/markdown/settings/MarkdownSettingsForm.form b/plugins/markdown/src/org/intellij/plugins/markdown/settings/MarkdownSettingsForm.form index 88123b8be5aa..669f1e455b08 100644 --- a/plugins/markdown/src/org/intellij/plugins/markdown/settings/MarkdownSettingsForm.form +++ b/plugins/markdown/src/org/intellij/plugins/markdown/settings/MarkdownSettingsForm.form @@ -29,7 +29,7 @@ - + @@ -121,7 +121,7 @@ - + diff --git a/plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/MarkdownPreviewFileEditor.java b/plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/MarkdownPreviewFileEditor.java index 11ee7b5d152e..1dc71563c244 100644 --- a/plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/MarkdownPreviewFileEditor.java +++ b/plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/MarkdownPreviewFileEditor.java @@ -185,7 +185,7 @@ public class MarkdownPreviewFileEditor extends UserDataHolderBase implements Fil @NotNull @Override public String getName() { - return "Markdown HTML Preview"; + return MarkdownBundle.message("markdown.editor.preview.name"); } @Override