From a55a2ee6b809da6cf73db7fb1612d6830ead6c29 Mon Sep 17 00:00:00 2001 From: "Dmitry.Krasilschikov" Date: Thu, 30 Jan 2020 16:05:25 +0200 Subject: [PATCH] IDEA-231824 localize SE: "... more" GitOrigin-RevId: 8713ad35ae3862243e3dbd2b3d9c17be65fd835a --- .../src/com/intellij/ide/actions/SearchEverywhereAction.java | 2 +- .../ide/actions/searcheverywhere/SearchEverywhereUI.java | 2 +- .../platform-resources-en/src/messages/IdeBundle.properties | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java b/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java index ae5f1d2b0489..226f95d68c2c 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/SearchEverywhereAction.java @@ -2488,7 +2488,7 @@ public class SearchEverywhereAction extends AnAction implements CustomComponentA static class More extends JPanel { static final More instance = new More(); - final JLabel label = new JLabel(" ... more "); + final JLabel label = new JLabel(IdeBundle.message("search.everywhere.points.spaces.more")); private More() { super(new BorderLayout()); diff --git a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java index c711ab59899c..52de12049c0f 100644 --- a/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java +++ b/platform/lang-impl/src/com/intellij/ide/actions/searcheverywhere/SearchEverywhereUI.java @@ -1027,7 +1027,7 @@ public class SearchEverywhereUI extends BigPopupUI implements DataProvider, Quic throw new AssertionError(value); } setFont(UIUtil.getLabelFont().deriveFont(UIUtil.getFontSize(UIUtil.FontSize.SMALL))); - append("... more", SMALL_LABEL_ATTRS); + append(IdeBundle.message("search.everywhere.points.more"), SMALL_LABEL_ATTRS); setIpad(JBInsets.create(1, 7)); setMyBorder(null); } diff --git a/platform/platform-resources-en/src/messages/IdeBundle.properties b/platform/platform-resources-en/src/messages/IdeBundle.properties index 459a8c800670..d7a476b1e3c0 100644 --- a/platform/platform-resources-en/src/messages/IdeBundle.properties +++ b/platform/platform-resources-en/src/messages/IdeBundle.properties @@ -1839,4 +1839,6 @@ search.everywhere.group.name.symbols=Symbols search.everywhere.group.name.recent.files=Recent Files big.popup.filter.button.all=All big.popup.filter.button.none=None -big.popup.filter.button.invert=Invert \ No newline at end of file +big.popup.filter.button.invert=Invert +search.everywhere.points.more=... more +search.everywhere.points.spaces.more=\ ... more \ No newline at end of file