From f460101cbbe029332640d18a55eba2de7119e302 Mon Sep 17 00:00:00 2001 From: Sergey Ignatov Date: Fri, 3 Jan 2020 18:49:32 +0300 Subject: [PATCH] move image bundle + extract action texts GitOrigin-RevId: 05d813b8b5c338635db7b1d1d8fc4fd54e2a5d4e --- images/resources/META-INF/ImagesPlugin.xml | 48 +++++-------------- .../ImagesBundle.properties | 0 .../src/org/intellij/images/ImagesBundle.java | 2 +- .../images/options/impl/ImagesOptions.form | 30 ++++++------ .../src/messages/ActionsBundle.properties | 14 ++++++ 5 files changed, 41 insertions(+), 53 deletions(-) rename images/resources/{org/intellij/images => messages}/ImagesBundle.properties (100%) diff --git a/images/resources/META-INF/ImagesPlugin.xml b/images/resources/META-INF/ImagesPlugin.xml index 47af4f9bbaa2..0512c0aff697 100644 --- a/images/resources/META-INF/ImagesPlugin.xml +++ b/images/resources/META-INF/ImagesPlugin.xml @@ -28,110 +28,84 @@ - + + id="Images.EditExternally"> + id="Images.ConvertSvgToPng"> + id="Images.ShowThumbnails"> + icon="ImagesIcons.ToggleTransparencyChessboard"> + id="Images.SetBackgroundImage"> + icon="AllIcons.Graph.Grid"> + icon="AllIcons.Graph.ActualZoom"> + icon="AllIcons.Graph.FitContent"/> + id="Images.Thumbnails.FilterByTheme"/> + id="Images.Thumbnails.FilterByTag"/> - + @@ -27,7 +27,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -51,7 +51,7 @@ - + @@ -59,7 +59,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -75,7 +75,7 @@ - + @@ -101,7 +101,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -145,7 +145,7 @@ - + @@ -153,7 +153,7 @@ - + @@ -173,7 +173,7 @@ - + @@ -200,7 +200,7 @@ - + @@ -210,7 +210,7 @@ - + diff --git a/platform/platform-resources-en/src/messages/ActionsBundle.properties b/platform/platform-resources-en/src/messages/ActionsBundle.properties index e095bd5977a4..6e081dd34f3a 100644 --- a/platform/platform-resources-en/src/messages/ActionsBundle.properties +++ b/platform/platform-resources-en/src/messages/ActionsBundle.properties @@ -1757,6 +1757,20 @@ action.Images.Thumbnails.Hide.text=Close thumbnails action.Images.Thumbnails.Hide.description=Close thumbnails window action.Images.ShowThumbnails.text=Show Image Thumbnails action.Images.ShowThumbnails.description=Show thumbnails view for current directory +action.Images.Thumbnails.ToggleTagsPanelName.text=Preview Tags +action.Images.Thumbnails.ToggleTagsPanelName.description=Toggle whether to show the tags management panel +action.Images.Thumbnails.FilterByTag.text=Filter by Tag +action.Images.Thumbnails.FilterByTag.description=Filter images by tag +action.Images.Thumbnails.FilterByTheme.text=Filter by Theme +action.Images.Thumbnails.FilterByTheme.description=Filter images by theme +action.Images.Thumbnails.ToggleFileName.text=File Name +action.Images.Thumbnails.ToggleFileName.description=Toggle whether to show the image name +action.Images.Thumbnails.ToggleFileSize.text=File Size +action.Images.Thumbnails.ToggleFileSize.description=Toggle whether to show the image size information +action.Images.Editor.FitZoomToWindow.text=Fit Zoom to Window +action.Images.SetBackgroundImage.text=Set Background Image +action.Images.ConvertSvgToPng.text=Convert to PNG +group.ImagesRootGroup.text=Images action.TabList.text=Show Hidden Tabs action.TabList.description=Show dropdown with the list of tabs that don't fit on the screen in single-row tab layout